I'm running qt creator 4.8.3 on ubuntu laptop and want to compile for both the laptop and the pi. I have added the arm tool chain, pic 2 , but I cannot select it. It's greyed out, see pic1.
If i remove and add the qt version, the toolchain dropdown becomes active for a second or two until the automatic parsing and evaluating is completed, then its greyed out again.
Its like the version doesnt support the tool chain.
Also, I can build and run on the laptop, and buuild and deploy to the pi, but i get the following error when i try to run it
Syntax error: word unexpected (expecting ")")
presumably because its compiled for intel, not arm.
I'm only feeling my way along here, so sorry if I'm missing something silly. Has anyone come across the same problem?
- mad-hatter
- Posts: 419
- Joined: Sun Feb 26, 2012 2:58 pm
- Location: By the UK seaside
Re: qt creator toolchain
Hi,
I didn't know how to set up the tool chain either.
On the pi, I use, from a terminal:-
qmake -project
qmake myprog.pro
make
./myprog
You might have edit your myprog.pro file.
Regards
I didn't know how to set up the tool chain either.
On the pi, I use, from a terminal:-
qmake -project
qmake myprog.pro
make
./myprog
You might have edit your myprog.pro file.
Regards
- mad-hatter
- Posts: 419
- Joined: Sun Feb 26, 2012 2:58 pm
- Location: By the UK seaside
Re: qt creator toolchain
Hi,
If you haven't found it already, this is the answere.
http://www.raspberrypi.org/phpBB3/viewt ... 33&t=11706
Regards
If you haven't found it already, this is the answere.
http://www.raspberrypi.org/phpBB3/viewt ... 33&t=11706
Regards