为什么Qt Creator Ubuntu发布屏幕为空?

jay_t55

我正在尝试将应用程序发布到Ubuntu商店,但是Qt Creator(或其他问题)出了点问题。

我曾经能够看到以下内容:

Qt Creator-适用于应用程序的Ubuntu发布屏幕

但是现在我所看到的是:

Qt Creator-适用于应用程序的空Ubuntu发布屏幕

如您所见(或阅读,如果您使用的是没有图像的阅读器),此处的第二个图像未显示“常规”选项卡之类的内容,该选项卡允许我输入详细信息,例如维护者,名称,描述,安全策略组-它没有“清单”选项卡“ AppArmor”选项卡或“排除”选项卡。创建软件包按钮消失了。

All I am left with is a blank screen with only 1 enabled button which reads 'Validate existing Click package', but when I click that (since there's nothing else I can do, it seems...), it takes me to my Projects directory where all my apps are listed. I select the app in question, and I can't click the open button on the dialog because there is no *.click file anywhere to be seen.

Have I done something wrong? Do you know what's going on here?

Also, I read that in order to publish to the store, we need to create "Click apps". I've searched the universe for this phrase and have come up empty handed. How do I create a "Click app"? I thought the app I was creating was a click app (I went to Qt Creator > Qt Quick Application > ...).

Links:

Tutorial for Publishing apps: http://developer.ubuntu.com/publish/apps/packaging-click-apps/

lpapp

The reason is that you are using QtCreator from Qt Project proper instead of using the Ubuntu SDK, which delivers its own custom version of QtCreator.

In order to get things done for this, you will need to use the Ubuntu SDK. First you need to install it:

$ sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
$ sudo apt-get update && sudo apt-get install ubuntu-sdk

This will also install the qtcreator-plugin-ubuntu package, its own toolchain, etc. Then you can run it e.g. from the command line as follows:

$ ubuntu-sdk

You can also search in the Unity Dash Applications lens for “Ubuntu SDK” as the image shows below:

在此处输入图片说明

You can also just start typing the name in the search line as the images shows below:

在此处输入图片说明

Please make sure that you go to the following:

New Project > Ubuntu > Simple UI/Html/QML/etc

在此处输入图片说明

rather than e.g. what you tried based on your question:

New Project > Qt Quick Application

您还可以用来设置点击目标和设备套件,其中的一部分(构建和运行)在下面直接显示:

在此处输入图片说明

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章