Unable to create a click package for Ubuntu project type 'App with QML Extension Library'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtcreator-plugin-ubuntu (Ubuntu) |
Fix Released
|
Undecided
|
Zoltan Balogh |
Bug Description
After creating an Ubuntu project type 'App with QML Extension Library' it is not possible to create a click package. A dialog box appears saying 'It is not supported to create click packages for a non UbuntuSDK target.'.
Relates to the following question on:
Here the advice is given to report this as a bug:
"If you are unable to create a click package from the App with QML Extension Library template, then that is a bug in the SDK. Please report it."
ProblemType: Bug
DistroRelease: Ubuntu 14.04 LTS
Package: qtcreator-
Expected to happen: Creation of click package
What happened instead: Dialog stating that it is not supported to create click packages for a non UbuntuSDK target.
Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
status: | Fix Committed → Fix Released |
When opening the project a wizard is shown to set up the project. One page of that wizard is the Kit selector. One project can have several Kits.
The Kits are the links between the project and the target. The kits contain information about what Qt version, sysroot the project need to be built on and what device the project is targeting. A project can have for example 3 Kits. One for the desktop target, one for the i386 emulator and one for the armhf device.
It is possible to see what Kits are available in the SDK in the Tools-> Options. ..->Build& Run page -> Kits page
There are several ways to create Kits. One important component of the Kits are the click chroots. These are possible to set up in the Tools-> Options. ..->Ubuntu page. But in the next release of the SDK (already staging in https:/ /launchpad. net/~ubuntu- sdk-team/ +archive/ ubuntu/ tools-developme nt) it will be all automatic either on the first start of the QtCreator or in the project wizard.
Once the Kits are all set up and assigned to the project (Project tab of the QtCreator -> Add Kit) in the Kit selector (just above the green triangle Run button) it will be possible to select the right target.
Right now it is not possible to creat click package for Desktop target .