~mzanetti/qtcreator-plugin-ubuntu/fix-device_run_app-for-mir

« back to all changes in this revision

Viewing changes to share/qtcreator/ubuntu/scripts/qtc_device_run_app

  • Committer: Michael Zanetti
  • Date: 2013-10-11 14:03:56 UTC
  • Revision ID: michael.zanetti@canonical.com-20131011140356-oyem3006xi33dsqc
make it work on Mir too, no need to hardcode the qpa platform

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
# get dbus session addrss from the device
61
61
DBUS_SESSION_BUS_ADDRESS=`$SSH "cat ~/.cache/upstart/dbus-session|grep DBUS_SESSION_BUS_ADDRESS"`
62
62
 
63
 
COMMAND="export ${DBUS_SESSION_BUS_ADDRESS=}; APP_ID=${APP_ID} qmlscene -platform ubuntu ${TARGET_DEVICE_HOME}/${FOLDERNAME}/${MAIN_QML} --desktop_file_hint=${TARGET_DEVICE_DESKTOP_PATH}/${DESKTOP_FILENAME}"
 
63
COMMAND="export ${DBUS_SESSION_BUS_ADDRESS=}; APP_ID=${APP_ID} qmlscene ${TARGET_DEVICE_HOME}/${FOLDERNAME}/${MAIN_QML} --desktop_file_hint=${TARGET_DEVICE_DESKTOP_PATH}/${DESKTOP_FILENAME}"
64
64
 
65
65
# make a tar package
66
66
tar -cjf ${FOLDERNAME}.tar.bz2 ${FOLDERNAME}