Cross compile for BBB and missing files
-
Hello everybody,
i try to cross compile my code for a beaglebone black. I am a little bit confused because of my Qt-Target Version.For example: If i want to use QSerialPortInfo or QGyroscope or something else, i have to include the header: ok! To include the header i have to type in the *.pro file: QT+=serialport or what ever.
It worked very well for my Ubuntu 14.04 LTS x86_64 system.
I downloaded qt-everywhere-opensource-src-5.3.0 and the gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux.tar.xz to cross compile it for my BBB.
My configure options are: sudo ./configure -v -opensource -confirm-license -prefix /opt/Qt/5.3.0 -accessibility -nis -xplatform linux-arm-gnueabihf-g++ -device linux-beagleboneblack-g++ -device-option CROSS_COMPILE=/usr/local/linaro/bin/arm-linux-gnueabihf-
I got a new folder, i added everything in QT......
Now, if i add the serialport in the *.pro file via QT+=serialport, Qt tells me that it could not find them.
I am missing a lot of folders in /opt/Qt/5.3.0/include/ for my created qt-target version. For example where is the folder QTSerialPort?
What am i doing wrong?
Thanks a lot.
-
I always have the problem that for example ../include/QtSerialport is missing. If i use the online installer for my host x86_64 Ubuntu 14.04 machine, 42 folders are in the folder ../include. If i use the qt-everywhere-opensource-src-5.3.0 with the configure-options:
sudo ./configure -v -opensource -confirm-license -prefix /opt/Qt/5.3.0 -nis -xplatform linux-arm-gnueabihf-g++ -device linux-beagleboneblack-g++ -device-option CROSS_COMPILE=/usr/local/linaro/bin/arm-linux-gnueabihf-
there are only 14 folders in it. Does anybody why?
Thanks a lot