QtCreator && RaspBerry PI && deploy to device
-
Hi all,
I'm configuring QtCreator to deploy aplpication to my Raspi.I added the correct Kit and the Generic Linux Device.
The deployment works fine if I set the Generic Linux Device with root account because by default it put the application on /opt/applcation/bin/application on the Raspi.
Is there a way to change the deployment directory?
-
Hi ;)
you must change path in your .pro file like this:
@TARGET = tempcontrol
target.path = /home/pi
INSTALLS = target@
As you see.,my app goes to /home/pi directory so you can change deployment to normal user. Hope it helps ;). -
Any luck ? Did it help ?
-
[quote author="diabolic" date="1371584665"]Hi ;)
you must change path in your .pro file like this:
@TARGET = tempcontrol
target.path = /home/pi
INSTALLS = target@
As you see.,my app goes to /home/pi directory so you can change deployment to normal user. Hope it helps ;).[/quote]Thanks, it helped me!
Sorry for my delayed post but I got some "network problem"...
-
Are you running QT on Mac, Win, Linux ? Did you follow any tutorial ? I have been trying on Mac to get it running but no luck. Any suggestions
-
I'm on Linux.
I only tried for some days...