rk3288 debian10编译qt5.12.12和qt5.1
2023-04-29 本文已影响0人
Wood木木
rk3288 debian10编译qt5.12.12
编译的配置
#!/bin/sh
../configure \
-prefix ./out \
-confirm-license \
-c++std c++11 \
-opensource \
-release \
-make libs \
-nomake examples \
-nomake tests \
-pch \
-qt-libjpeg \
-qt-libpng \
-qt-zlib \
-no-sse2 \
-no-openssl \
-no-cups \
-no-separate-debug-info \
-gui \
-widgets \
-glib \
-opengl es2 \
-egl \
-eglfs \
-qpa eglfs \
-qt-xcb \
-dbus \
-syslog \
-sqlite \
-pkg-config \
-tslib \
-fontconfig \
-no-harfbuzz \
-no-linuxfb \
-no-directfb \
-recheck-all
说明:
1, xcb是qt和x11交互的主键,debian10默认是没有集成这个组件的,可以用qt自带的xcb组件:qt-xcb。
1, 配置好这个后,还会报一些连接出错的日志。需要配置-c++std c++11 。加上这个配置后,会解决一些编译链接的问题。
相关工具安装
#下面是opengl、xcb相关需要安装的库
sudo apt-get install libx11-dev libx11-xcb-dev #xcb的头文件依赖
sudo apt-get install libxkbcommon-dev libxkbcommon-x11-dev #xkbcommon依赖
sudo apt-get install libxext-dev libxfixes-dev #EGLFS X11的依赖
sudo apt-get install libfontconfig1-dev #QT中-fontconfig选项的依赖
sudo apt-get install sqlite3 libsqlite3-dev #解决qt中配置系统数据库的依赖问题,对应-sqlite选项
sudo apt-get install libts-dev #解决tslib依赖 对应-tslib选项。
sudo apt-get install libjpeg-dev #-system-jpeg 选项
sudo apt-get install libglib2.0-dev #-glib 选项
sudo apt-get install sqlite3 libsqlite3-dev #解决sqlite依赖
sudo apt-get install rsyslog #-syslog选项
qt主机环境配置
export QTDIR=/home/linaro/out
export PATH=$QTDIR/bin:$PATH
export MANPATH=$QTDIR/man:$MANPATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QT_QPA_PLATFORM=xcb
说明:
这里可以配置QPA平台有:xcb eglfs。但是eglfs平台是全屏的平台。
如果要配置eglfs,好像还需要配置宽高。
附录:编译报错-需要配置-c++std c++11可解决 。导致这个问题还可能原因是板子内存不够。链接库后报失败了。
错误: 对‘.LC583’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function Assimp::STEP::ObjectHelper<Assimp::IFC::IfcTrimmedCurve, 5u>::Construct(Assimp::STEP::DB const&, Assimp::STEP::EXPRESS::LIST const&): 错误: 对‘vtable for Assimp::IFC::IfcTrimmedCurve’未定义的引用
/usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function Assimp::STEP::ObjectHelper<Assimp::IFC::IfcPropertyListValue, 2u>::Construct(Assimp::STEP::DB const&, Assimp::STEP::EXPRESS::LIST const&): 错误: 对‘VTT for Assimp::IFC::IfcPropertyListValue’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function Assimp::STEP::ObjectHelper<Assimp::IFC::IfcPropertyListValue, 2u>::Construct(Assimp::STEP::DB const&, Assimp::STEP::EXPRESS::LIST const&): 错误: 对‘.LC586’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function Assimp::STEP::ObjectHelper<Assimp::IFC::IfcPropertyListValue, 2u>::Construct(Assimp::STEP::DB const&, Assimp::STEP::EXPRESS::LIST const&): 错误: 对‘vtable for Assimp::IFC::IfcPropertyListValue’未定义的引用
/usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function Assimp::STEP::ObjectHelper<Assimp::IFC::IfcRelDefinesByProperties, 1u>::Construct(Assimp::STEP::DB const&, Assimp::STEP::EXPRESS::LIST const&): 错误: 对‘.LC591’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function Assimp::STEP::ObjectHelper<Assimp::IFC::IfcRelDefinesByProperties, 1u>::Construct(Assimp::STEP::DB const&, Assimp::STEP::EXPRESS::LIST const&): 错误: 对‘vtable for Assimp::IFC::IfcRelDefinesByProperties’未定义的引用
/usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function Assimp::STEP::ObjectHelper<Assimp::IFC::IfcRelDefines, 1u>::Construct(Assimp::STEP::DB const&, Assimp::STEP::EXPRESS::LIST const&): 错误: 对‘.LC592’未定义的引用
...
/home/linaro/hd/qt-everywhere-src-5.12.12/build8/qtlocation/lib/libqmapboxgl.a(render_symbol_layer.o):render_symbol_layer.cpp:function mbgl::RenderSymbolLayer::render(mbgl::PaintParameters&, mbgl::RenderSource*): 错误: 对‘mbgl::SymbolBucket::hasIconData() const’未定义的引用
/home/linaro/hd/qt-everywhere-src-5.12.12/build8/qtlocation/lib/libqmapboxgl.a(render_symbol_layer.o):render_symbol_layer.cpp:function mbgl::RenderSymbolLayer::render(mbgl::PaintParameters&, mbgl::RenderSource*): 错误: 对‘mbgl::SymbolBucket::hasTextData() const’未定义的引用
/home/linaro/hd/qt-everywhere-src-5.12.12/build8/qtlocation/lib/libqmapboxgl.a(render_symbol_layer.o):render_symbol_layer.cpp:function mbgl::RenderSymbolLayer::render(mbgl::PaintParameters&, mbgl::RenderSource*): 错误: 对‘mbgl::SymbolBucket::hasCollisionBoxData() const’未定义的引用
/home/linaro/hd/qt-everywhere-src-5.12.12/build8/qtlocation/lib/libqmapboxgl.a(render_symbol_layer.o):render_symbol_layer.cpp:function mbgl::RenderSymbolLayer::render(mbgl::PaintParameters&, mbgl::RenderSource*): 错误: 对‘mbgl::SymbolBucket::hasCollisionCircleData() const’未定义的引用
/home/linaro/hd/qt-everywhere-src-5.12.12/build8/qtlocation/lib/libqmapboxgl.a(render_layer.o):render_layer.cpp:function mbgl::RenderLayer::create(mbgl::Immutable<mbgl::style::Layer::Impl>): 错误: 对‘mbgl::RenderHeatmapLayer::RenderHeatmapLayer(mbgl::Immutable<mbgl::style::HeatmapLayer::Impl>)’未定义的引用
/home/linaro/hd/qt-everywhere-src-5.12.12/build8/qtlocation/lib/libqmapboxgl.a(render_layer.o):render_layer.cpp:function mbgl::RenderLayer::create(mbgl::Immutable<mbgl::style::Layer::Impl>): 错误: 对‘mbgl::RenderHillshadeLayer::RenderHillshadeLayer(mbgl::Immutable<mbgl::style::HillshadeLayer::Impl>)’未定义的引用
collect2: error: ld returned 1 exit status
附录:harfbuzz=qt这个选项也会使得qt编译报错。报错和没加-qt-xcb一样。添加这个,好像因为内存不够大,所以导致编译时,链接失败了。再次编译,报QXcbKeyboard错误了。
附录:编译报错:加-qpa xcb或者没有加-qt-xcb会报错
.obj/qxcbconnection.o:qxcbconnection.cpp:function QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*): 错误: 对‘QXcbKeyboard::QXcbKeyboard(QXcbConnection*)’未定义的引用
.obj/qxcbconnection.o:qxcbconnection.cpp:function QXcbConnection::queryKeyboardModifiers() const: 错误: 对‘QXcbKeyboard::translateModifiers(int) const’未定义的引用
.obj/qxcbconnection.o:qxcbconnection.cpp:function QXcbConnection::handleXcbEvent(xcb_generic_event_t*): 错误: 对‘QXcbKeyboard::updateKeymap(xcb_mapping_notify_event_t*)’未定义的引用
.obj/qxcbconnection.o:qxcbconnection.cpp:function QXcbConnection::handleXcbEvent(xcb_generic_event_t*): 错误: 对‘QXcbKeyboard::updateXKBStateFromCore(unsigned short)’未定义的引用
.obj/qxcbconnection.o:qxcbconnection.cpp:function QXcbConnection::handleXcbEvent(xcb_generic_event_t*): 错误: 对‘QXcbKeyboard::updateXKBStateFromCore(unsigned short)’未定义的引用
.obj/qxcbconnection.o:qxcbconnection.cpp:function QXcbConnection::handleXcbEvent(xcb_generic_event_t*): 错误: 对‘QXcbKeyboard::updateXKBStateFromCore(unsigned short)’未定义的引用
.obj/qxcbconnection.o:qxcbconnection.cpp:function QXcbConnection::handleXcbEvent(xcb_generic_event_t*): 错误: 对‘QXcbKeyboard::handleKeyReleaseEvent(xcb_key_press_event_t const*)’未定义的引用
.obj/qxcbconnection.o:qxcbconnection.cpp:function QXcbConnection::handleXcbEvent(xcb_generic_event_t*): 错误: 对‘QXcbKeyboard::updateXKBStateFromCore(unsigned short)’未定义的引用
.obj/qxcbconnection.o:qxcbconnection.cpp:function QXcbConnection::handleXcbEvent(xcb_generic_event_t*): 错误: 对‘QXcbKeyboard::handleKeyPressEvent(xcb_key_press_event_t const*)’未定义的引用
.obj/qxcbconnection.o:qxcbconnection.cpp:function QXcbConnection::~QXcbConnection(): 错误: 对‘QXcbKeyboard::~QXcbKeyboard()’未定义的引用
.obj/qxcbintegration.o:qxcbintegration.cpp:function QXcbIntegration::possibleKeys(QKeyEvent const*) const: 错误: 对‘QXcbKeyboard::possibleKeys(QKeyEvent const*) const’未定义的引用
.obj/qxcbwindow.o:qxcbwindow.cpp:function QXcbWindow::handleXIEnterLeave(xcb_ge_event_t*): 错误: 对‘QXcbKeyboard::updateXKBStateFromXI(void*, void*)’未定义的引用
.obj/qxcbwindow.o:qxcbwindow.cpp:function QXcbWindow::handleButtonReleaseEvent(xcb_button_press_event_t const*): 错误: 对‘QXcbKeyboard::translateModifiers(int) const’未定义的引用
.obj/qxcbwindow.o:qxcbwindow.cpp:function QXcbWindow::handleMotionNotifyEvent(xcb_motion_notify_event_t const*): 错误: 对‘QXcbKeyboard::translateModifiers(int) const’未定义的引用
.obj/qxcbwindow.o:qxcbwindow.cpp:function QXcbWindow::handleButtonPressEvent(xcb_button_press_event_t const*): 错误: 对‘QXcbKeyboard::translateModifiers(int) const’未定义的引用
.obj/qxcbwindow.o:qxcbwindow.cpp:function QXcbWindow::handleXIMouseEvent(xcb_ge_event_t*, Qt::MouseEventSource): 错误: 对‘QXcbKeyboard::updateXKBStateFromXI(void*, void*)’未定义的引用
错误: 对‘.LC1577’未定义
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function _GLOBAL__sub_I_IFCReaderGen1.cpp: 错误: 对‘.LC1577’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function _GLOBAL__sub_I_IFCReaderGen1.cpp: 错误: 对‘.LC1578’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function _GLOBAL__sub_I_IFCReaderGen1.cpp: 错误: 对‘.LC1579’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function _GLOBAL__sub_I_IFCReaderGen1.cpp: 错误: 对‘.LC1580’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function _GLOBAL__sub_I_IFCReaderGen1.cpp: 错误: 对‘.LC1581’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function _GLOBAL__sub_I_IFCReaderGen1.cpp: 错误: 对‘.LC1582’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function _GLOBAL__sub_I_IFCReaderGen1.cpp: 错误: 对‘.LC1583’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function _GLOBAL__sub_I_IFCReaderGen1.cpp: 错误: 对‘.LC1584’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function _GLOBAL__sub_I_IFCReaderGen1.cpp: 错误: 对‘.LC1585’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function _GLOBAL__sub_I_IFCReaderGen1.cpp: 错误: 对‘.LC1586’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function _GLOBAL__sub_I_IFCReaderGen1.cpp: 错误: 对‘.LC1587’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function _GLOBAL__sub_I_IFCReaderGen1.cpp: 错误: 对‘.LC1588’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function _GLOBAL__sub_I_IFCReaderGen1.cpp: 错误: 对‘.LC1589’未定义的引用
.obj/IFCReaderGen1.o:IFCReaderGen1.cpp:function _GLOBAL__sub_I_IFCReaderGen1.cpp: 错误: 对‘.LC1590’未定义的引用
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:1017:../../../../plugins/sceneparsers/libassimpsceneimport.so] 错误 1
make[4]: 离开目录“/home/linaro/hd/qt-everywhere-src-5.12.12/build7/qt3d/src/plugins/sceneparsers/assimp”
make[3]: *** [Makefile:49:sub-assimp-make_first] 错误 2
make[3]: 离开目录“/home/linaro/hd/qt-everywhere-src-5.12.12/build7/qt3d/src/plugins/sceneparsers”
make[2]: *** [Makefile:250:sub-plugins-sceneparsers-make_first] 错误 2
make[2]: 离开目录“/home/linaro/hd/qt-everywhere-src-5.12.12/build7/qt3d/src”
make[1]: *** [Makefile:50:sub-src-make_first] 错误 2
make[1]: 离开目录“/home/linaro/hd/qt-everywhere-src-5.12.12/build7/qt3d”
make: *** [Makefile:575:module-qt3d-make_first] 错误 2
一些错误的配置,改完后编译成功
build9 -->最早成功的
build4-->去掉--harfbuzz=qt 添加 -c++std c++11
build7--> 添加 -c++std c++11 去掉--free-type=qt 去掉-no-eglfs
附录上config.summary
Build type: linux-g++ (arm, CPU features: <none>)
Compiler: gcc 8.3.0
Configuration: use_gold_linker compile_examples enable_new_dtags largefile precompile_header shared rpath release c++11 concurrent dbus reduce_exports stl
Build options:
Mode ................................... release
Optimize release build for size ........ no
Building shared libraries .............. yes
Using C standard ....................... C11
Using C++ standard ..................... C++11
Using ccache ........................... no
Using gold linker ...................... yes
Using new DTAGS ........................ yes
Using precompiled headers .............. yes
Using LTCG ............................. no
Target compiler supports:
NEON ................................. no
Build parts ............................ libs
Qt modules and options:
Qt Concurrent .......................... yes
Qt D-Bus ............................... yes
Qt D-Bus directly linked to libdbus .... yes
Qt Gui ................................. yes
Qt Network ............................. yes
Qt Sql ................................. yes
Qt Testlib ............................. yes
Qt Widgets ............................. yes
Qt Xml ................................. yes
Support enabled for:
Using pkg-config ....................... yes
udev ................................... no
Using system zlib ...................... no
Qt Core:
DoubleConversion ....................... yes
Using system DoubleConversion ........ no
GLib ................................... yes
iconv .................................. no
ICU .................................... yes
Tracing backend ........................ <none>
Logging backends:
journald ............................. no
syslog ............................... yes
slog2 ................................ no
Using system PCRE2 ..................... no
Qt Network:
getifaddrs() ........................... yes
IPv6 ifname ............................ yes
libproxy ............................... no
Linux AF_NETLINK ....................... yes
OpenSSL ................................ no
Qt directly linked to OpenSSL ........ no
OpenSSL 1.1 ............................ no
DTLS ................................... no
SCTP ................................... no
Use system proxies ..................... yes
Qt Gui:
Accessibility .......................... yes
FreeType ............................... yes
Using system FreeType ................ yes
HarfBuzz ............................... no
Using system HarfBuzz ................ no
Fontconfig ............................. yes
Image formats:
GIF .................................. yes
ICO .................................. yes
JPEG ................................. yes
Using system libjpeg ............... no
PNG .................................. yes
Using system libpng ................ no
EGL .................................... yes
OpenVG ................................. no
OpenGL:
Desktop OpenGL ....................... no
OpenGL ES 2.0 ........................ yes
OpenGL ES 3.0 ........................ yes
OpenGL ES 3.1 ........................ yes
OpenGL ES 3.2 ........................ yes
Vulkan ................................. no
Session Management ..................... yes
Features used by QPA backends:
evdev .................................. yes
libinput ............................... no
INTEGRITY HID .......................... no
mtdev .................................. no
tslib .................................. yes
xkbcommon .............................. yes
X11 specific:
XLib ................................. yes
XCB Xlib ............................. yes
EGL on X11 ........................... yes
QPA backends:
DirectFB ............................... no
EGLFS .................................. yes
EGLFS details:
EGLFS OpenWFD ........................ no
EGLFS i.Mx6 .......................... no
EGLFS i.Mx6 Wayland .................. no
EGLFS RCAR ........................... no
EGLFS EGLDevice ...................... yes
EGLFS GBM ............................ no
EGLFS VSP2 ........................... no
EGLFS Mali ........................... no
EGLFS Raspberry Pi ................... no
EGLFS X11 ............................ yes
LinuxFB ................................ no
VNC .................................... yes
Mir client ............................. no
XCB:
Using system-provided XCB libraries .. no
XCB XKB .............................. yes
XCB XInput ........................... yes
Native painting (experimental) ....... yes
GL integrations:
GLX Plugin ......................... no
EGL-X11 Plugin ..................... yes
Qt Sql:
SQL item models ........................ yes
Qt Widgets:
GTK+ ................................... yes
Styles ................................. Fusion Windows
Qt PrintSupport:
CUPS ................................... no
Qt Sql Drivers:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. no
OCI (Oracle) ........................... no
ODBC ................................... no
PostgreSQL ............................. no
SQLite2 ................................ no
SQLite ................................. yes
Using system provided SQLite ......... yes
TDS (Sybase) ........................... no
Qt Testlib:
Tester for item models ................. yes
Qt SerialBus:
Socket CAN ............................. yes
Socket CAN FD .......................... yes
Further Image Formats:
JasPer ................................. no
MNG .................................... no
TIFF ................................... yes
Using system libtiff ................. yes
WEBP ................................... yes
Using system libwebp ................. no
Qt QML:
QML network support .................... yes
QML debugging and profiling support .... yes
QML sequence object .................... yes
QML list model ......................... yes
QML XML http request ................... yes
QML Locale ............................. yes
QML delegate model ..................... yes
Qt Quick:
Direct3D 12 ............................ no
AnimatedImage item ..................... yes
Canvas item ............................ yes
Support for Qt Quick Designer .......... yes
Flipable item .......................... yes
GridView item .......................... yes
ListView item .......................... yes
TableView item ......................... yes
Path support ........................... yes
PathView item .......................... yes
Positioner items ....................... yes
Repeater item .......................... yes
ShaderEffect item ...................... yes
Sprite item ............................ yes
Qt Scxml:
ECMAScript data model for QtScxml ...... yes
Qt Gamepad:
SDL2 ................................... no
Qt 3D:
Assimp ................................. yes
System Assimp .......................... no
Output Qt3D Job traces ................. no
Output Qt3D GL traces .................. no
Use SSE2 instructions .................. no
Use AVX2 instructions .................. no
Aspects:
Render aspect ........................ yes
Input aspect ......................... yes
Logic aspect ......................... yes
Animation aspect ..................... yes
Extras aspect ........................ yes
Qt 3D Renderers:
OpenGL Renderer ........................ yes
Qt 3D GeometryLoaders:
Autodesk FBX ........................... no
Qt Wayland Drivers:
EGL .................................... yes
Raspberry Pi ........................... no
XComposite EGL ......................... yes
XComposite GLX ......................... no
DRM EGL ................................ yes
libhybris EGL .......................... no
Linux dma-buf server buffer integration . yes
Vulkan-based server buffer integration . no
Shm emulation server buffer integration . yes
Qt Wayland Client ........................ yes
Qt Wayland Compositor .................... yes
Qt Wayland Compositor Layer Plugins:
VSP2 hardware layer integration ........ no
Qt Bluetooth:
BlueZ .................................. no
BlueZ Low Energy ....................... no
Linux Crypto API ....................... no
WinRT Bluetooth API (desktop & UWP) .... no
Qt Sensors:
sensorfw ............................... no
Qt Quick Controls 2:
Styles ................................. Default Fusion Imagine Material Universal
Qt Quick Templates 2:
Hover support .......................... yes
Multi-touch support .................... yes
Qt Positioning:
Gypsy GPS Daemon ....................... no
WinRT Geolocation API .................. no
Qt Location:
Qt.labs.location experimental QML plugin . yes
Geoservice plugins:
OpenStreetMap ........................ yes
HERE ................................. yes
Esri ................................. yes
Mapbox ............................... yes
MapboxGL ............................. no
Itemsoverlay ......................... yes
QtXmlPatterns:
XML schema support ..................... yes
Qt Multimedia:
ALSA ................................... no
GStreamer 1.0 .......................... yes
GStreamer 0.10 ......................... no
Video for Linux ........................ yes
OpenAL ................................. no
PulseAudio ............................. no
Resource Policy (libresourceqt5) ....... no
Windows Audio Services ................. no
DirectShow ............................. no
Windows Media Foundation ............... no
Qt Tools:
QDoc ................................... no
Qt WebEngine:
Embedded build ......................... no
Full debug information ................. no
Pepper Plugins ......................... yes
Printing and PDF ....................... yes
Proprietary Codecs ..................... no
Spellchecker ........................... yes
Native Spellchecker .................... no
WebRTC ................................. yes
Use System Ninja ....................... no
Geolocation ............................ yes
WebChannel support ..................... yes
Use v8 snapshot ........................ yes
Kerberos Authentication ................ no
Support qpa-xcb ........................ yes
Use ALSA ............................... no
Use PulseAudio ......................... no
Optional system libraries used:
re2 .................................. no
icu .................................. no
libwebp, libwebpmux and libwebpdemux . no
opus ................................. no
ffmpeg ............................... no
libvpx ............................... no
snappy ............................... no
glib ................................. yes
zlib ................................. no
minizip .............................. no
libevent ............................. no
jsoncpp .............................. no
protobuf ............................. no
libxml2 and libxslt .................. no
lcms2 ................................ no
png .................................. no
JPEG ................................. no
harfbuzz ............................. no
freetype ............................. yes
Required system libraries:
fontconfig ........................... yes
dbus ................................. yes
nss .................................. no
khr .................................. yes
glibc ................................ yes
Required system libraries for qpa-xcb:
x11 .................................. yes
libdrm ............................... yes
xcomposite ........................... yes
xcursor .............................. yes
xi ................................... yes
xtst ................................. yes
Note: Also available for Linux: linux-clang linux-icc
Note: journald, syslog or slog2 integration is enabled.
If your users intend to develop applications against this build,
ensure that the IDEs they use either set QT_FORCE_STDERR_LOGGING to 1
or are able to read the logged output from journald, syslog or slog2.
WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
Either ensure that llvm-config is in your PATH environment variable, or set LLVM_INSTALL_DIR to the location of your llvm installation.
On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.
On macOS, you can use Homebrew's llvm package.
On Windows, you must set LLVM_INSTALL_DIR to the installation path.
WARNING: gperf is required to build QtWebEngine.
WARNING: bison is required to build QtWebEngine.
WARNING: flex is required to build QtWebEngine.
rk3288 debian10编译qt5.15.6
编译的脚本:
./configure -prefix /usr/local/qt-5.15.6-embedded -confirm-license -opensource -release \
-nomake tests -nomake examples -qpa eglfs -qpa xcb -xcb-xlib -bundled-xcb-xinput -egl
配置环境变量
export QTDIR=/usr/local/qt-5.15.6-embedded
export PATH=$QTDIR/bin:$PATH
export MANPATH=$QTDIR/man:$MANPATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QT_QPA_PLATFORM=eglfs