Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
6.0.0
-
None
-
Orange Pi 4B, Ubuntu 20, LXDE
Description
I have got Qt sources from git and try to configure it and build. But there is a problem in some moment
clang++ -c -pipe -O2 -fPIC -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wdate-time -Winconsistent-missing-override -ffunction-sections -fdata-sections -D_REENTRANT -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DNEARD_NFC -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_NFC_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I/home/a/CF/qt5/qtconnectivity/src/nfc -I. -I../../include -I../../include/QtNfc -I../../include/QtNfc/6.0.0 -I../../include/QtNfc/6.0.0/QtNfc -I/home/a/build/qtbase/include -I/home/a/build/qtbase/include/QtCore -I/home/a/build/qtbase/include/QtDBus -I.moc -I/home/a/CF/qt5/qtbase/mkspecs/linux-clang -o .obj/qllcpsocket.o /home/a/CF/qt5/qtconnectivity/src/nfc/qllcpsocket.cpp
/home/a/CF/qt5/qtconnectivity/src/bluetooth/qbluetoothdeviceinfo.cpp:705:25: error: no member named 'insertMulti' in 'QHash<unsigned short, QByteArray>'
Configure summary:
Build type: linux-clang (arm64, CPU features: neon)
Compiler: clang 10.0.0
Configuration: compile_examples enable_new_dtags largefile neon release c+11 c14 c17 c+1z concurrent dbus reduce_exports static stl
Build options:
Mode ................................... release
Optimize release build for size ........ no
Building shared libraries .............. no
Using C standard ....................... C11
Using C++ standard ..................... C++17
Using ccache ........................... no
Using new DTAGS ........................ yes
Relocatable ............................ no
Using precompiled headers .............. no
Using LTCG ............................. no
Target compiler supports:
NEON ................................. yes
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 ................................... yes
Using system zlib ...................... yes
Zstandard support ...................... no
Qt Core:
DoubleConversion ....................... yes
Using system DoubleConversion ........ yes
GLib ................................... yes
iconv .................................. no
ICU .................................... yes
Built-in copy of the MIME database ..... yes
Tracing backend ........................ <none>
Logging backends:
journald ............................. no
syslog ............................... no
slog2 ................................ no
PCRE2 .................................. yes
Using system PCRE2 ................... yes
Qt Network:
getifaddrs() ........................... yes
IPv6 ifname ............................ yes
libproxy ............................... no
Linux AF_NETLINK ....................... yes
OpenSSL ................................ yes
Qt directly linked to OpenSSL ........ no
OpenSSL 1.1 ............................ yes
DTLS ................................... yes
OCSP-stapling .......................... yes
FTP .................................... no
SCTP ................................... no
Use system proxies ..................... yes
GSSAPI ................................. no
Qt Gui:
Accessibility .......................... yes
FreeType ............................... yes
Using system FreeType ................ yes
HarfBuzz ............................... yes
Using system HarfBuzz ................ yes
Fontconfig ............................. yes
Image formats:
GIF .................................. yes
ICO .................................. yes
JPEG ................................. yes
Using system libjpeg ............... yes
PNG .................................. yes
Using system libpng ................ yes
Text formats:
HtmlParser ........................... yes
CssParser ............................ yes
OdfWriter ............................ yes
MarkdownReader ....................... yes
Using system libmd4c ............... no
MarkdownWriter ....................... yes
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 ................................. yes
Session Management ..................... yes
Features used by QPA backends:
evdev .................................. yes
libinput ............................... yes
INTEGRITY HID .......................... no
mtdev .................................. yes
tslib .................................. no
xkbcommon .............................. yes
X11 specific:
XLib ................................. yes
XCB Xlib ............................. yes
EGL on X11 ........................... yes
xkbcommon-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 ............................ yes
EGLFS VSP2 ........................... no
EGLFS Mali ........................... no
EGLFS Raspberry Pi ................... no
EGLFS X11 ............................ yes
LinuxFB ................................ yes
VNC .................................... yes
Qt Sql:
SQL item models ........................ yes
Qt Widgets:
GTK+ ................................... no
Styles ................................. Fusion Windows
Qt PrintSupport:
CUPS ................................... yes
Qt Sql Drivers:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. yes
OCI (Oracle) ........................... no
ODBC ................................... yes
PostgreSQL ............................. yes
SQLite ................................. yes
Using system provided SQLite ......... no
Qt Testlib:
Tester for item models ................. yes
Serial Port:
ntddmodm ............................... no
Qt Bluetooth:
BlueZ .................................. yes
BlueZ Low Energy ....................... yes
Linux Crypto API ....................... yes
Native Win32 Bluetooth ................. no
WinRT Bluetooth API (desktop & UWP) .... no
WinRT advanced bluetooth low energy API (desktop & UWP) . no
About how I build Qt:
I have got 3 folders: qt5 for Qt 6 Sources
build for build
build_artifacts for release Qt version for using with Qt creator
1) I want to download Qt:
git clone git://code.qt.io/qt/qt5 qt5 && cd qt5 && perl init-repository --module-subset=default,qtcharts,qtserialport,qtconnectivity,-qtwebengine,-qtwayland,-qtandroidextras,-qtdoc,-qtgraphicaleffects,-qtqa,-qttranslations,-qtvirtualkeyboard,-qtquicktimeline,-qtquick3d,-qtrepotools,-qtdeclarative,-qttools,-qtshadertools,-qtimageformats,-qtnetworkauth,-qtquickcontrols2,-qtsvg,-qtwebsockets,-qt5compat,-qt3d
2) I need add to /home/a/CF/qt5/qtbase/mkspecs/linux-clang/qmake.conf
#DungeonLords
QTPLUGIN.platforms+=qeglfs
QT_QPA_EGLFS_INTEGRATION=eglfs_kms
3) Than I configure my Qt from build folder, build and install:
cd build && ../qt5/configure -release -static -opensource -make libs -nomake examples -nomake tests -confirm-license -skip webengine -skip qtwayland -skip qtandroidextras -skip qtdoc -skip qtgraphicaleffects -skip qtqa -skip qttranslations -skip qtvirtualkeyboard -skip qtquicktimeline -skip qtquick3d -skip qt3d -skip qtrepotools -skip qttools -skip qtshadertools -skip qtimageformats -skip qtnetworkauth -skip qtsvg -skip qtwebsockets -skip qt5compat -skip qtactiveqt -skip qtmacextras -skip winextras -skip qtmultimedia -skip qtgamepad -skip qtserialbus -skip qtspeech -no-xcb -no-pch -qpa eglfs -no-gtk -kms -eglfs -opengl es2 -prefix ../build_artifacts -platform linux-clang -skip qtcharts -v && make -j8 && make install