Why my window no border(no close,minimize and maximum)
-
Dear All,
I make a cross-compiler environment on Linux to build RPi3.
It works fine, however, all project I build by cross-compiler has no border, no close, minimize and maximum.
But, if I compiler the same project on RPi3(debian, not cross-compiler), then the window is correct, as below:

It seems window manager is not working.
Or I use the wrong parameters when doing configuration ?./configure -opengl es2 -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=$(which arm-linux-gnueabihf-gcc | sed 's/.\{3\}$//') -sysroot $RPIIMG -opensource -confirm-license -optimized-qmake -reduce-exports -release -no-qml-debug -make libs -make examples -prefix /usr/local/qt5pi -hostprefix $RPIQTPlease suggestion.
Thanks,
-
Hi and welcome to devnet,
You cross-compiled Qt for the OpenGL ES2 backend, this is one of the backends that work without any window manager.
If you want one you need to either use the xcb backend or the wayland backend.
-
Hi and welcome to devnet,
You cross-compiled Qt for the OpenGL ES2 backend, this is one of the backends that work without any window manager.
If you want one you need to either use the xcb backend or the wayland backend.
-
You can set the
QT_QPA_PLATFORMenvironment variable.