-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qt 5.15.2 configuration for raspberry 3B #77
Comments
Configure was launched with the following options: CROSS_COMPILER_LOCATION=$HOME/Downloads/cross-pi-gcc-8.3.0-2
../qt-everywhere-src-5.15.2/configure -device linux-rasp-pi3-g++ \
-opengl es2 -eglfs \
-opensource -confirm-license -release \
-nomake tests \
-pkg-config \
-no-use-gold-linker -no-gbm \
-skip qtwayland -skip qtlocation -skip qtwebengine -skip qtscript -no-feature-accessibility \
-device-option CROSS_COMPILE=$(echo $CROSS_COMPILER_LOCATION)/bin/arm-linux-gnueabihf- -sysroot ~/Development/rpi3_sysroot -make libs \
-prefix /usr/local/qt5.15 \
-hostprefix ~/Development/qt_5_15_2_completed_83gcc_build/tools \
-extprefix ~/Development/qt_5_15_2_completed_83gcc_build/binaries \
-v \
-recheck \
-L$HOME/Development/rpi3_sysroot/usr/lib/arm-linux-gnueabihf \
-I$HOME/Development/rpi3_sysroot/usr/include/arm-linux-gnueabihf
|
It seems, that the default configuration doesn't support hardware OpenGL. I guess, some parts of this guide should be taken into account 😄 |
@ValentiWorkLearning That's a well-documented guide that wasn't previously available. I guess we can copy the configurations and properly credit the page in our guide. But due to limited time and more focus on my other projects, I'll not able make these changes as of now. However any related PRs are always welcomed. |
@abhiTronix I'll try to figure out how to properly launch Opengl. I guess, there is just a few changes for RPi3 |
I found solution. It's necessary to specify the sysroot dir to vc libs.
The official qt qmake.conf is:
which leads to the broken EGL drivers configuration Note. Everything above is related to the
|
I've decided to separate the issue from the previous one.
I guess, it hasn't been covered in the Qt building guide, but the default configuration for the
linux-rasp-pi-3-g++
produces the following result:The text was updated successfully, but these errors were encountered: