Unable to create a click package for Ubuntu project type 'App with QML Extension Library'

Bug #1347747 reported by nitro
6
This bug affects 1 person
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:

https://askubuntu.com/questions/500601/how-to-create-an-ubuntu-touch-app-with-a-c-backend-and-a-qml-interface

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-plugin-ubuntu 3.1.1+14.10.20140716-0ubuntu1~0trusty1~0test1

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.

Revision history for this message
Zoltan Balogh (bzoltan) wrote :

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-development) 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 .

Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: New → Confirmed
assignee: nobody → Zoltan Balogh (bzoltan)
Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: Confirmed → Fix Committed
Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.