How to build qmake with -qt-xcb?
-
hi all.
first my english very poor so understand plz lol
btw,
i have problem on developing a program for embedded linux device(ARM/wayland)
-
qmake build for ARM Compiler
./configure -prefix /home/seunghee/Qt5.5.1/qte-arm
-arch arm -xplatform linux-arm-gnueabi-g++
-device-option CROSS_COMPILE=arm-none-linux-gnueabi-
-opensource -confirm-license -opengl es2 -nomake tests -nomake examples -no-pch-
build success test app. with ARM compiler
-
failed run on device
root@mx6q:~/test# systemctl start layer-management-wayland.service
root@mx6q:~/test# LayerManagerControl create layer 6003 800 480
root@mx6q:~/test# LayerManagerControl set screen 1 render order 6003
root@mx6q:~/test# export XDG_RUNTIME_DIR=/tmp
root@mx6q:~/test# LayerManagerControl set surface 103 visibility 1
root@mx6q:~/test# ./untitled -platfrom wayland
This application failed to start because it could not find or load the Qt platform plugin "xcb".Reinstalling the application may fix this problem.
Aborted-
qmake build for ARM Compiler with -qt-xcb option
./configure -prefix /home/seunghee/Qt5.5.1/qte-arm
-arch arm -xplatform linux-arm-gnueabi-g++
-device-option CROSS_COMPILE=arm-none-linux-gnueabi-
-opensource -confirm-license -opengl es2 -nomake tests -nomake examples -no-pch –qt-xcb-
failed configuration test
Running configuration tests...
The test for linking against libxcb failed!
You might need to install dependency packages for libxcb.
See src/plugins/platforms/xcb/README.-
installed all packages on README but failed configuration test again.
-
-
Hi and welcome to devnet,
Since you want to use wayland, did you build the QtWayland module ?
-
@Seunghee said in How to build qmake with -qt-xcb?:
root@mx6q:~/test# ./untitled -platfrom wayland
This application failed to start because it could not find or load the Qt platform plugin "xcb".-platfrom should be -platform.
There may be other issues, such as the lack of a QWayland build. SGaist alluded to.
./untitled -platform ?
should report a list of available QPA plugins along the lines of:This application failed to start because it could not find or load the Qt platform plugin "?".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
Reinstalling the application may fix this problem.
-
-
@jeremy_k Hi ! Have you solved the problem ?
The test for linking against libxcb failed!
You might need to install dependency packages for libxcb.
See src/plugins/platforms/xcb/README.I came across the same problem ! Could you offer me help ? Thank you in advance.
And another question: how to paste code in correct format like you ?
-
@jeremy_k Hi ! Have you solved the problem ?
The test for linking against libxcb failed!
You might need to install dependency packages for libxcb.
See src/plugins/platforms/xcb/README.I came across the same problem ! Could you offer me help ? Thank you in advance.
And another question: how to paste code in correct format like you ?
@small_bird said in How to build qmake with -qt-xcb?:
@jeremy_k Hi ! Have you solved the problem ?
I think this should be @Seunghee
The test for linking against libxcb failed!
You might need to install dependency packages for libxcb.
See src/plugins/platforms/xcb/README.That's a good reference for XCB users, located in the Qt base source.
I came across the same problem ! Could you offer me help ? Thank you in advance.
And another question: how to paste code in correct format like you ?
There's a "COMPOSE ?" button in the upper right of the text entry field with a link to formatting rules at http://commonmark.org/help/
-
@small_bird said in How to build qmake with -qt-xcb?:
@jeremy_k Hi ! Have you solved the problem ?
I think this should be @Seunghee
The test for linking against libxcb failed!
You might need to install dependency packages for libxcb.
See src/plugins/platforms/xcb/README.That's a good reference for XCB users, located in the Qt base source.
I came across the same problem ! Could you offer me help ? Thank you in advance.
And another question: how to paste code in correct format like you ?
There's a "COMPOSE ?" button in the upper right of the text entry field with a link to formatting rules at http://commonmark.org/help/
@jeremy_k
Thanks for your reply !