ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #07430
Deploy QMake (*.pro) C++/QML project?
Hi!
I have fully adapted my C++ and QML App to run in Ubuntu:
https://github.com/JoseExposito/ubuntuone-qt-files
As you can see the project is a plain qmake project and I'm able to execute
it on desktop. However, when I try to deploy it to my device the (Build ->
Ubuntu) Qt Creator recognizes my app as a HTML5 app and if I try to install
it on my device I get this error:
[22:41:35] Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the
list of known hosts.
[22:41:36] bash: dh_make: command not found
[22:41:36]
[22:41:36]
/usr/share/qtcreator/ubuntu/scripts/qtc_device_buildanddeploypackage
finished with code 127
And dh_make is installed... I have tried to add a manifest.json,
apparmor.json and the desktop file to the root folder of my desktop and
also add some code to my pro file to prepare it for installation:
unix:!macx {
target.path = /usr/bin
menu.path = /usr/share/applications
menu.files = U1Files.desktop
icon.path = /usr/share/icons
icon.files = U1Files.png
INSTALLS += target menu icon
}
But it is still not working. Any ideas?
Thank you very much in advance
Follow ups