Issues using Qt Creator plugin versus "click build"

Bug #1264404 reported by Aaron Hastings
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtcreator-plugin-ubuntu
Fix Released
High
Benjamin Zeller
qtcreator-plugin-ubuntu (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When packaging my Ubuntu Touch app using the Qt Creator plugin, I am having numerous issues, including the "Comment" field in the .desktop file being removed altogether. These issues do not appear when running "click build" at the command line.

I have created two click packages - one using Qt Creator and the other using "click build" - then tested them using the "click-reviewers-tools" package:
https://launchpad.net/click-reviewers-tools

In the diff below, the file on the "left" is the output from click-run-checks on the Qt Creator-made package. The file on the "right" is the output of click-run-checks for the "click build"-made package.

7c7
< Installed-Size: 70
---
> Installed-Size: 105
20c20
< "installed-size": "70",
---
> "installed-size": "105",
27a28,29
> d41d8cd98f00b204e9800998ecf8427e .excludes
> 36eb095ea1d6cfa6464c448d7eeb1ed5 Makefile
35c37,42
< 1bb73e905fcdc755db29d7ac78219a06 uLuas.desktop
---
> 1df8cbcb6068c9a964a6c7ea643b4036 tests/autopilot/run
> b972993bfc648d1f105a9d7319cd2937 tests/autopilot/uLuas/__init__.py
> ff7eb67a14d5169bc5dc43177e8b18a3 tests/autopilot/uLuas/main/__init__.py
> 2ca27dabf56820db62b360590311d2cd tests/autopilot/uLuas/main/test_main.py
> 20481833f6658a972b8585a220f3c994 tests/unit/tst_hellocomponent.qml
> 00979ce41cd2600edefd16096d528153 uLuas.desktop
37a45,46
> 22560784282a385faaae3740cb431841 uLuas.qmlproject
> 2064f291982ace4395715333d6ae37b3 uLuas.qmlproject.user
60,61c69,70
< Comment=
< Exec=qmlscene $@ uLuas.qml
---
> Comment=Luas Dublin light rail app for Ubuntu Touch.
> Exec=/usr/bin/qmlscene $@ /usr/share/uLuas/uLuas.qml
130c139
< "desktop_validates (uLuas)": "did not validate: (ValidationError in file '/tmp/clickreview-q3xcia/uLuas.desktop': \n- Value of Key 'Comment' is empty )"
---
> "desktop_Exec (uLuas)": "absolute path '/usr/bin/qmlscene $@ /usr/share/uLuas/uLuas.qml' for Exec given in .desktop file."
134d142
< "desktop_Exec (uLuas)": "OK",
149c157,158
< "desktop_required_keys (uLuas)": "OK"
---
> "desktop_required_keys (uLuas)": "OK",
> "desktop_validates (uLuas)": "OK"
184c193
< org.thecosmicfrog.uluas_0.13_all.click: FAIL
---
> ../org.thecosmicfrog.uluas_0.13_all.click: FAIL

Revision history for this message
Aaron Hastings (thecosmicfrog) wrote :

Attaching output of click-run-checks for Qt Creator-built click package.

Revision history for this message
Aaron Hastings (thecosmicfrog) wrote :

Attaching output of click-run-checks for "click build"-built click package.

Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu:
importance: Undecided → High
status: New → Confirmed
assignee: nobody → zbenjamin (zeller-benjamin)
Changed in qtcreator-plugin-ubuntu:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtcreator-plugin-ubuntu - 2.8.1.2-0ubuntu1

---------------
qtcreator-plugin-ubuntu (2.8.1.2-0ubuntu1) trusty; urgency=medium

  [Benjamin Zeller]
  * Enable Publish tab if the click-review tools are installed
  * Show detailed information about a error under the validation treeview
  * Install cmake to the click chroots
  * Packaging tab is renamed to Publish
  * Parser for click-run-checks output and show results in a itemview
  * Fix run on device for cmake projects
  * New cmake project template
  * cmake project deployment to the device
  * Automatically validate click packages created from CMake projects
  * Build click package for cmake projects
  * The menu.json parser is refactored to show menus only in a special context
  * New option to menu.json if a clicktarget is required for executing the action
  * Tweaking build files to allow local build.
  * Do not ship a comment in the desktop file, because manifest should take precedence
  * The manifest desciption always takes precedence over the desktop file (LP: #1264404)
  * Read script output with QString::fromLocal8Bit instead of fromLatin1 (LP: #1211169)
  * Added cmake build and maintenance support for click chroots

  [Alexandre Abreu]
  * HTML5 app deployment on device is fixed
  * Fixed HTML5 template to have a cleaner example of tabs implementation
  * Updated HTML5 tab structure

  [David Barth]
  * Tool to download a pre-compiled cordova runtime (LP: #1277667)

  [Zoltan Balogh]
  * Emulator features rebased on ubuntu-emulator
  * Remove forced update of the maintainer in the manifest.json (LP: #1274265)
  * Removed gksu from the dependency list (LP: #1235531)
  * The click package reviewing tool is executed on the click package created in the Packaging tab.
  * Enable scope templates on Trusty (LP: #1263593)
 -- Zoltan Balogh <email address hidden> Thu, 13 Feb 2014 11:50:52 +0200

Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: New → Fix Released
Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-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.