Regarding Cross Compilation for an embedded board
-
Hi all,
I have an embedded board (FriendlyArm- Tiny6410). I have set a kit for this board in Qt creator (without debugger).
1)For Qt project file - The problem i am facing is when i create a project and try to build using the new kit it is giving few general messages and i am not able to get the drop downs in project space( not able to go to .pro file or .h file etc) but the project is building and i am able to dump it on the board and get the output. In case if i want to edit anything in .cpp or .h file, not able to do that.
The general messages are :
usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(12): Assignment needs exactly one word on the left hand side.
/usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(15): Assignment needs exactly one word on the left hand side.
/usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(18): Assignment needs exactly one word on the left hand side.
/usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(21): Assignment needs exactly one word on the left hand side.
Could not read qmake configuration file /usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf.
Error while parsing file /home/user/QtExample/QtExample.pro. Giving up- For Qml project file - When i try to build a Qml project using this kit it is giving the following error.
/home/user/QmlExample/main.cpp:1: error: QGuiApplication: No such file or directory
Please guide me if anyone knows the solution. Thanks
-
Hi,
Because you are trying to build Qt 5 code with Qt 4. QGuiApplication is a new class in Qt 5.
-
If Qt 4 is already working on it, then Qt 5 is also likely to work on it however you should check with the folks at FriendlyARM.
-
usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(12): Assignment needs exactly one word on the left hand side.
/usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(15): Assignment needs exactly one word on the left hand side.
/usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(18): Assignment needs exactly one word on the left hand side.
/usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf(21): Assignment needs exactly one word on the left hand side.
Could not read qmake configuration file /usr/local/Qt/mkspecs/qws/linux-arm-g++/qmake.conf.
Error while parsing file /home/user/QtExample/QtExample.pro. Giving upSir i am getting these general messages and i am not able to get the drop downs in project space( not able to go to .pro file or .h file etc) why i am getting this any idea ?
Thanks
-
Are you trying to build a Qt 5 project with Qt 4 ?