A few questions about cross-compiling on Rapberry pi
-
Before modifying anything, did you compile/install that module ?
-
I have a qtquick1 file. And I run the following string in this file.
/usr/local/qt5pi/bin/qmake .
make -j 4
sudo make install -
You need to build the qtdeclarative module. qtquick1 is for the version of 1
-
When I compiled qtdeclarative I get the following error.
make[2]: Entering directory
/home/sefa/opt/qt5/qtdeclarative/src/qmldevtools' make[2]: *** No rule to make target
/mnt/rasp-pi-rootfs/usr/local/qt5pi/include/QtCore/qglobal.h', needed by.obj/qqmljsast.o'. Stop. make[2]: Leaving directory
/home/sefa/opt/qt5/qtdeclarative/src/qmldevtools'
make[1]: *** [sub-qmldevtools-make_first-ordered] Error 2
make[1]: Leaving directory `/home/sefa/opt/qt5/qtdeclarative/src'
make: *** [sub-src-make_first] Error 2 -
Did you mount your Raspberry Pi root filesystem before building ?
-
Yes I did. Also I get another error when make app without using qtquick as;
error: error trying to exec 'cc1plus': execvp: No such file or directory
-
SGasist, Is there something you think about this issue ?
-
Did you move anything around like your compiler folder ?
-
No I did not move anything.
-
Then clean the module and call qmake again with your Rasberry Pie root filesystem mounted
-
Hi,
I can compile qtdeclarative after clean the module. And I still get same error. I did not understand.
-
The qglobal.h error ?
-
I can compile qtdeclarative module successfully. I get this,
Project ERROR: Unknown module(s) in QT: quick -
Just to be sure, build and install are both successful and you have the unknown QT: quick error for your project ?
-
yes this error for my simple hello world project
-
What are the libraries that your currently have in your installed Qt folder besides QtCore and QtGui ?
-
when searched for qtcore and qtgui result is that /home/sefa/opt/qt5/qtbase/include. So qtbase library. I also have compiled qtbase module succesfully.
-
I'd like you to check which libraries you have currently installed besides these two
-
I'm dealing with this problem for several days.can you help me connect with a program like TeamViewer ?
-
How can ı check currently installed besides these two. Can you explain it.