Closed darcyg closed 9 years ago
You need to specify which platform driver to use - e.g. via the environment variable QT_QPA_PLATFORM ( QT_QPA_PLATFORM=linuxfb ./a.out )
hi, mirko:
I execute QT_QPA_PLATFORM=linuxfb ./a.out
or ./a.out -platform Linux -display "LinuxFb:/dev/fb0"
.
message say, load .so file not an invalid ELF object info
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt5/plugins/platforms/libqlinuxfb.so"
QElfParser: '/usr/lib/qt5/plugins/platforms/libqlinuxfb.so' is an invalid ELF object (shstrtab section header seems to be at 0)
"'/usr/lib/qt5/plugins/platforms/libqlinuxfb.so' is an invalid ELF object (shstrtab section header seems to be at 0)"
not a plugin
why?
My hardware is CPU Intel x86 Celeron 1037u. 2G DDR and 16G SSD disk
Please disable "sstrip" (just use "strip" or "none") and recompile the according shared object files (or in doubt whole Qt). sstrip strips out information which are needed for those shared object plugins being loaded correctly. The stripping method can be changed in menuconfig under "Global build options"
thanks ! is ok now
hi Compiling and testing:
How to solve?