Cannot launch application through qtcreator

Bug #1225178 reported by Nekhelesh Ramananthan
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
qtcreator-plugin-ubuntu
Fix Released
Critical
Juhapekka Piiroinen
qtcreator-plugin-ubuntu (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Since flashing the phone today, I am unable to launch any application through qtcreator. Here are the details,

Running cdimage-touch
version: Ubuntu Saucy Salamander (development branch) - armhf (20130913)

Error message:
[21:46:48] bash: cannot set terminal process group (-1): Invalid argument
bash: no job control in this shell

[21:46:48] QXcbConnection: Could not connect to display

[21:46:49]

I can see that it has copied the necessary development files to /dev_tmp. I can do everything else through qtcreator such as take screenshots, reboot, etc.

Changed in qtcreator-plugin-ubuntu:
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Looks like something wrong with the command which gets built by /usr/share/qtcreator/ubuntu/scripts/qtc_device_run_app

Using the trunk of clock it generated

ssh -i /home/alan/.ssh/ubuntudevice_04c770facfe7991f_id_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p2222 phablet@127.0.0.1 "bash -ic 'qmlscene /home/phablet/dev_tmp/ubuntu-clock-app/ubuntu-clock-app.qml --desktop_file_hint=/home/phablet/.local/share/applications/ubuntu-clock-app.desktop'"

This is the result:-

alan@deep-thought:~$ ssh -i /home/alan/.ssh/ubuntudevice_04c770facfe7991f_id_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p2222 phablet@127.0.0.1 "bash -ic 'qmlscene /home/phablet/dev_tmp/ubuntu-clock-app/ubuntu-clock-app.qml --desktop_file_hint=/home/phablet/.local/share/applications/ubuntu-clock-app.desktop'"
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
bash: cannot set terminal process group (-1): Invalid argument
bash: no job control in this shell
QXcbConnection: Could not connect to display

Revision history for this message
Juhapekka Piiroinen (juhapekka-piiroinen) wrote :

A fix is to add missing " -platform ubuntu" to /usr/share/qtcreator/ubuntu/scripts/qtc_device_run_app

This has been fixed for the upcoming 2.8 release.

Changed in qtcreator-plugin-ubuntu:
status: Confirmed → Fix Committed
assignee: nobody → Juhapekka Piiroinen (juhapekka-piiroinen)
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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