bin folder missing after Cross compile for BBB
-
Hello,
I tried to cross-compile QT5.15.5 source code on Ubuntu 23.10.
After compiling and make & make install it did not created a bin folder and qmake (arm version).
Here is configure parameters../configure -device linux-beagleboard-g++ -device-option CROSS_COMPILE=/home/bbbbox/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /home/bbbbox/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -prefix /home/bbbbox/Qt-bbb -opensource -confirm-license -nomake tests -release -hostprefix /home/bbbbox/Qt-bbb -no-opengl -optimized-qmake -no-pch -v
Compiled from qtbase folder and even from Qt5 root folder (/qt-everywhere-opensource-src-5.15.5)
Any Reason for not creating qmake.
Any thing missing out,Thanks.
-
Hello,
I tried to cross-compile QT5.15.5 source code on Ubuntu 23.10.
After compiling and make & make install it did not created a bin folder and qmake (arm version).
Here is configure parameters../configure -device linux-beagleboard-g++ -device-option CROSS_COMPILE=/home/bbbbox/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /home/bbbbox/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -prefix /home/bbbbox/Qt-bbb -opensource -confirm-license -nomake tests -release -hostprefix /home/bbbbox/Qt-bbb -no-opengl -optimized-qmake -no-pch -v
Compiled from qtbase folder and even from Qt5 root folder (/qt-everywhere-opensource-src-5.15.5)
Any Reason for not creating qmake.
Any thing missing out,Thanks.
-
@marvic It should be inside /home/bbbbox/Qt-bbb
But you will see what "make install" installs and where - you should check the output of that command. -
@marvic If you do cross compilation you get the tools like qmake for the host platform, because you're cross compiling on the host platform, not target. So, why do you need qmake for ARM?
-
@jsulm To compile apps for bbb using Qt Creator and transfer to target device.
Qt Creator -> preferences->Qt Versions-> add
@marvic said in bin folder missing after Cross compile for BBB:
To compile apps for bbb using Qt Creator and transfer to target device.
That's exactly why you need an x86_64 build of the qmake executable!
You are developing and building on a x86_64 machine, right? That means the tools like compiler or qmake have to be x86_64 binaries, not ARM. This is why it is called "cross-compilation": you are building on platform X for platform Y. -
@marvic said in bin folder missing after Cross compile for BBB:
To compile apps for bbb using Qt Creator and transfer to target device.
That's exactly why you need an x86_64 build of the qmake executable!
You are developing and building on a x86_64 machine, right? That means the tools like compiler or qmake have to be x86_64 binaries, not ARM. This is why it is called "cross-compilation": you are building on platform X for platform Y. -
@jsulm Ok, I rebooted the machine and i tried to use qmake created in /home/bbbbox/Qt-bbb. This time it got yellow triangle mark says,
qmake path: /home/bbbbox/Qt-bbb/bin/qmake
No QML utility installed.And debugger is unkown
-
@jsulm I compiled again on fresh copy, this i got this error From Qt creator-kits->debugger -add
-