I have cross compiled Qt-5.1.1 for imx 6 and setup Qt Creator kits for both ubuntu native x86 and imx6.
My application simply wants to display video with overlay graphics, which it does in x86 version.
When I try to run the imx6 version on my wandboard-solo, i get
_loaded library “/usr/local/Qt-5.1.1/plugins/platforms/libqeglfs.so”
QLibraryPrivate::loadPlugin failed on “/usr/local/Qt-5.1.1/plugins/platforms/libqeglfs.so” : “Cannot load library /usr/local/Qt-5.1.1/plugins/platforms/libqeglfs.so: (/usr/local/Qt-5.1.1/plugins/platforms/libqeglfs.so: undefined symbol: fbGetDisplayByIndex)”
This application failed to start because it could not find or load the Qt platform plugin “eglfs”.
Available platform plugins are: eglfs, minimal, minimalegl, offscreen._
A check of libeqlfs.so with nm indicates that fbGetDisplayByIndex is Undefined.
A recursive search of all the files in the Qt-5.1.1 development folder reveals that the only code that references this function is in : qtbase/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp.
I cannot find a supplier for it.
Where might a look to resolve this missing symbol?
thanks
Qt5-1.1 Configure summary
Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
Building for: devices/linux-imx6-g++ (arm, CPU features: neon)
Platform notes:
– Also available for Linux: linux-kcc linux-icc linux-cxx
qmake vars ………. styles += mac fusion windows DEFINES += QT_NO_LIBUDEV DEFINES += QT_NO_XCB DEFINES += QT_NO_XKBCOMMON PRECOMPILED_DIR = .pch/release-shared OBJECTS_DIR = .obj/release-shared MOC_DIR = .moc/release-shared RCC_DIR = .rcc/release-shared UI_DIR = .uic/release-shared sql-drivers = sql-plugins = sqlite qmake switches ………
Build options:
Configuration ………. accessibility audio-backend c++11 clock-gettime clock-monotonic compile_examples concurrent cross_compile evdev eventfd freetype full-config getaddrinfo getifaddrs iconv inotify ipv6ifname large-config largefile linuxfb medium-config minimal-config mremap neon nis no-pkg-config pcre png precompile_header qpa qpa reduce_exports reduce_relocations release rpath shared small-config v8 zlib
Build parts ………… libs examples
Mode ………………. release
Using C++11 ………… yes
Using PCH ………….. yes
Target compiler supports:
iWMMXt/Neon ………. no/yes
Qt modules and options:
Qt D-Bus …………… no
Qt Concurrent ………. yes
Qt GUI …………….. yes
Qt Widgets …………. yes
JavaScriptCore JIT ….. yes (To be decided by JavaScriptCore)
QML debugging ………. yes
Use system proxies ….. no
Support enabled for:
Accessibility ………. yes
ALSA ………………. no
CUPS ………………. no
FontConfig …………. no
Iconv ……………… yes
ICU ……………….. no
Image formats:
GIF ……………… yes (plugin, using system library)
JPEG …………….. yes (plugin, using bundled copy)
PNG ……………… yes (in QtGui, using bundled copy)
Glib ………………. no
GStreamer ………….. no
GTK theme ………….. no
Large File …………. yes
libudev ……………. no
Networking:
getaddrinfo ………. yes
getifaddrs ……….. yes
IPv6 ifname ………. yes
OpenSSL ………….. no
NIS ……………….. yes
OpenGL …………….. no
OpenVG …………….. no
PCRE ………………. yes (bundled copy)
pkg-config …………. no
PulseAudio …………. no
QPA backends:
DirectFB …………. no
EGLFS ……………. no
KMS ……………… no
LinuxFB ………….. yes
XCB ……………… no
Session management ….. yes
SQL drivers:
DB2 ……………… no
InterBase ………… no
MySQL ……………. no
OCI ……………… no
ODBC …………….. no
PostgreSQL ……….. no
SQLite 2 …………. no
SQLite …………… yes (plugin, using bundled copy)
TDS ……………… no
udev ………………. no
xkbcommon ………….. no
zlib ………………. yes (bundled copy)
Qt is now configured for building. Just run ‘make’.
Once everything is built, you must run ‘make install’.
Qt will be installed into /usr/local/Qt-5.1.1
↧