QtC cuts folder names when building on the device

Bug #1212937 reported by Zoltan Balogh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtcreator-plugin-ubuntu
Fix Released
Critical
Juhapekka Piiroinen
qtcreator-plugin-ubuntu (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

1. apt-get source qtlocation-opensource-src
2. open the qtlocation-opensource-src-5.0~git20130117/qtlocation.pro in QtC
3. Attempt to build the project on the device

The result is the following:

[07:34:33]
[07:40:12] /usr/share/qtcreator/ubuntu/scripts/qtc_device_buildpackage 014E55B80301601C qtlocation-opensource-src-5
[07:40:12] Started /usr/share/qtcreator/ubuntu/scripts/qtc_device_buildpackage
[07:40:12] /usr/share/qtcreator/ubuntu/scripts/qtc_device_buildpackage: line 67: pushd: qtlocation-opensource-src-5: No such file or directory

Zoltan Balogh (bzoltan)
no longer affects: qtcreator-plugin-ubuntu
affects: ubuntu-qtcreator-plugins → qtcreator-plugin-ubuntu
Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu:
importance: Medium → Critical
Revision history for this message
Juhapekka Piiroinen (juhapekka-piiroinen) wrote :

The bug is not in the scripts it is in the QFileInfo and inside the function baseName() which returns an invalid value.
http://bazaar.launchpad.net/~juhapekka-piiroinen/qtcreator-plugin-ubuntu/fix-for-qtc-2.8/view/head:/src/ubuntu/ubuntumenu.cpp#L353

I will need to think how to workaround this one.

Changed in qtcreator-plugin-ubuntu:
status: New → In Progress
Changed in qtcreator-plugin-ubuntu:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtcreator-plugin-ubuntu - 2.7.2-0ubuntu3

---------------
qtcreator-plugin-ubuntu (2.7.2-0ubuntu3) saucy; urgency=low

  * USB Device connection / disconnection detection.
  * Refactored Menus.
  * Can't set version number in Packaging form (LP: #1212326)
  * QtC cuts folder names when building on the device (LP: #1212937)
  * Click packages need to exclude the .bzr dir (LP: #1214628)
  * Force lower case click package name (LP: #1219877)
  * Packaging resets package name, other attributes to default every
    time it's opened (LP: #1219948)
  * please provide gui for security manifest (LP: #1221407)
  * Cannot enable developer mode on read-only image (LP: #1223301)
  * Cannot launch application through qtcreator (LP: #1225178)
  * Application installation script problems (LP: #1213902)
  * Comment field in .desktop file should be generated on the fly
    (LP: #1223388)
  * SDK should set applicationName to "name" value in the click manifest
    (LP: #1227085)
 -- Juhapekka Piiroinen <email address hidden> Wed, 18 Sep 2013 15:36:58 +0300

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