c++ - How do I configure QT5 without Xlib -


i trying configure (and build) qt5 static. want draw framebuffer , use webkit. searched docs didn't find on how can without x. know way of doing ?

building qt statically totally orthogonal platform selection. depending on target device, can choose between using wayland, eglfs, linuxfb/directfb, etc.

just sure when run configure actual plugin you're interested in gets compiled. in other words, check configure's final output (or read config.summary file generated). if platform not there, run configure -v , try see what's missing (headers, libs, ...).

you can make application use given plugin starting application , passing argument -platform eglfs|wayland|... (or setting qt_qpa_platform environment variable; or can make default mangling device mkspecs). more info here.

when comes static linking: multi-platform support implemented via plugins. statically linked application won't have plugin loading available, must link platform plugin application adding like

qtplugin.platforms = eglfs 

into .pro file. more info here.


Comments