Qt cross compile for Raspbian Jessie
-
Well, basically and if I understood you correctly, you are able to cross-compile without any problem, correct ? When calling
make install
did you have the root file system of the Pi mounted correctly ? -
@SGaist I checked install log properly it should make QtWidget, QtPlateformHeaders, QtPlateformSupport, QtTest, QtOpenGL, QtPrintSupport, QtConcurrent, QtCore, QtDBus, QtGui, QtNetwork , QtPositioning, QtScript, QtSensors, QtSql , QtXml , QtXmlPatterns folders. But after finishing installation i m getting only QtConcurrent, QtCore, QtDBus, QtGui, QtNetwork , QtPositioning, QtScript, QtSensors, QtSql , QtXml , QtXmlPatterns folders in my install and similar in lib directory. So it cant install QtWidget, QtPlateformHeaders, QtPlateformSupport, QtTest, QtOpenGL, QtPrintSupport modules. I did nt find anything unusual in log.
-
Did you build only qtbase or all of Qt ?
-
well according to https://wiki.qt.io/RaspberryPi_Beginners_Guide i have to build and install qtbase and than other modules. So I could not finish this step and I am blocked.
-
That's correct. Do you have libQtWidget.so somewhere in your build folder ?
-
That one's really puzzling…
What happens if you call
make -C src/widgets
in your builder ? -
Hi @SGaist ,
I dont know what exactly was the problem. But I re cloned repo and than tried all steps and it works as expected. Could be a problem of broken download. But it neither gave me any unexpected error message not it failed. :P
But now i m happy tht i wll have kernel 4.1 with qt in my pi.. thanks for your time and support man. -
Well, that was a good idea !
You're welcome !
Since you have it working now, please mark the thread as solved using the "Topic Tool" button so other forum users may know a solution has been found :)