QT6 cross compile for raspberry pi
-
wrote on 18 Jun 2023, 16:41 last edited by
Hi Everyone,
I want to use qt6 cross compile with raspberry pi. I follow qt tutorial on wiki:
https://wiki.qt.io/Cross-Compile_Qt_6_for_Raspberry_Pi
everything work fine until "Building Qt 6 for Target Device" section in tutorial. I created exactly same toolchain.cmake file and change the necessary path as tutorial requested and create /qtpi-build folder.
When I run first compile command I got below error at the end:
++++++++++++++++++++++++++++++++++++
ERROR: Feature "opengl": Forcing to "ON" breaks its condition:QT_FEATURE_opengl_desktop OR QT_FEATURE_opengl_dynamic OR QT_FEATURE_opengles2
Condition values dump:
QT_FEATURE_opengl_desktop = "OFF" QT_FEATURE_opengl_dynamic = "OFF" QT_FEATURE_opengles2 = "OFF"
ERROR: The OpenGL functionality tests failed! You might need to modify the OpenGL package search path by setting the OpenGL_DIR CMake variable to the OpenGL library's installation directory.
CMake Error at qtbase/cmake/QtBuildInformation.cmake:181 (message):
Check the configuration messages for an error that has occurred.
Call Stack (most recent call first):
qtbase/cmake/QtBuildInformation.cmake:21 (qt_configure_print_summary)
CMakeLists.txt:111 (qt_print_feature_summary)
++++++++++++++++++++++++++++++++++++++++
I cant figure out how to solve this problem. Could you please help me with this issue.
My designed system:
Ubuntu 22.04 installed in virtual box.
Raspberry pi 4 with rasperian 64 bits os.
Thanks -
Hi Everyone,
I want to use qt6 cross compile with raspberry pi. I follow qt tutorial on wiki:
https://wiki.qt.io/Cross-Compile_Qt_6_for_Raspberry_Pi
everything work fine until "Building Qt 6 for Target Device" section in tutorial. I created exactly same toolchain.cmake file and change the necessary path as tutorial requested and create /qtpi-build folder.
When I run first compile command I got below error at the end:
++++++++++++++++++++++++++++++++++++
ERROR: Feature "opengl": Forcing to "ON" breaks its condition:QT_FEATURE_opengl_desktop OR QT_FEATURE_opengl_dynamic OR QT_FEATURE_opengles2
Condition values dump:
QT_FEATURE_opengl_desktop = "OFF" QT_FEATURE_opengl_dynamic = "OFF" QT_FEATURE_opengles2 = "OFF"
ERROR: The OpenGL functionality tests failed! You might need to modify the OpenGL package search path by setting the OpenGL_DIR CMake variable to the OpenGL library's installation directory.
CMake Error at qtbase/cmake/QtBuildInformation.cmake:181 (message):
Check the configuration messages for an error that has occurred.
Call Stack (most recent call first):
qtbase/cmake/QtBuildInformation.cmake:21 (qt_configure_print_summary)
CMakeLists.txt:111 (qt_print_feature_summary)
++++++++++++++++++++++++++++++++++++++++
I cant figure out how to solve this problem. Could you please help me with this issue.
My designed system:
Ubuntu 22.04 installed in virtual box.
Raspberry pi 4 with rasperian 64 bits os.
Thanks@Michael_sa8 Did you install needed packages like described in that tutorial (especially libegl1-mesa-dev)?
Check the config.log file to get more details about the issue. -
wrote on 19 Jun 2023, 12:57 last edited by
@jsulm
Thanks for the reply. Yes I exactly followed the steps and installed all the packages as mentioned in the tutorial. May i know how to check config file? where is the config file? -
@jsulm
Thanks for the reply. Yes I exactly followed the steps and installed all the packages as mentioned in the tutorial. May i know how to check config file? where is the config file?@Michael_sa8 said in QT6 cross compile for raspberry pi:
where is the config file?
In the build folder (folder from which you called configure, this is the step from tutorial: mkdir $HOME/qt-hostbuild).
-
wrote on 19 Jun 2023, 13:08 last edited by
Here is config. summary:
Building for: linux-g++ (x86_64, CPU features: mmx sse sse2)
Compiler: gcc 11.3.0
Build options:
Mode ................................... release
Optimize release build for size ........ no
Fully optimize release builds (-O3) .... no
Building shared libraries .............. yes
Using C standard ....................... C11
Using C++ standard ..................... C++17
Using ccache ........................... no
Using new DTAGS ........................ yes
Relocatable ............................ yes
Using precompiled headers .............. yes
Using LTCG ............................. no
Using Intel CET ........................ yes
Target compiler supports:
SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX .................................. AVX AVX2 VAES AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI AVX512VBMI2 Other x86 ............................ AES F16C RDRAND SHA
Sanitizers:
Addresses ............................ no Threads .............................. no Memory ............................... no Fuzzer (instrumentation only) ........ no Undefined ............................ no
Build parts ............................ libs tools
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 PrintSupport ........................ 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 ...................... yes
Zstandard support ...................... no
Thread support ......................... yes
Common build options:
Linker can resolve circular dependencies yes
Qt Core:
backtrace .............................. yes
DoubleConversion ....................... yes
Using system DoubleConversion ........ no
GLib ................................... yes
ICU .................................... no
Using system libb2 ..................... no
Built-in copy of the MIME database ..... yes
cpp/winrt base ......................... no
Tracing backend ........................ <none>
Logging backends:
journald ............................. no syslog ............................... no slog2 ................................ no
PCRE2 .................................. yes
Using system PCRE2 ................... yes
CLONE_PIDFD support in forkfd .......... yes
Qt Sql:
SQL item models ........................ yes
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
OCSP-stapling .......................... no
SCTP ................................... no
Use system proxies ..................... yes
GSSAPI ................................. no
Brotli Decompression Support ........... yes
qTopLevelDomain() ...................... yes
Built-in publicsuffix database ....... yes System publicsuffix database ......... yes
Core tools:
Android deployment tool ................ yes
macOS deployment tool .................. no
Windows deployment tool ................ no
qmake .................................. yes
Qt Gui:
Accessibility .......................... yes
FreeType ............................... yes
Using system FreeType ................ yes
HarfBuzz ............................... yes
Using system HarfBuzz ................ no
Fontconfig ............................. yes
Image formats:
GIF .................................. yes ICO .................................. yes JPEG ................................. yes Using system libjpeg ............... no 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 ................................. no
Session Management ..................... yes
Features used by QPA backends:
evdev .................................. yes
libinput ............................... no
HiRes wheel support in libinput ........ no
INTEGRITY HID .......................... no
mtdev .................................. no
tslib .................................. no
xkbcommon .............................. yes
X11 specific:
XLib ................................. yes XCB Xlib ............................. yes EGL on X11 ........................... yes xkbcommon-x11 ........................ yes xcb-sm ............................... 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 ...................... no EGLFS GBM ............................ no EGLFS VSP2 ........................... no EGLFS Mali ........................... no EGLFS Raspberry Pi ................... no EGLFS X11 ............................ yes
LinuxFB ................................ yes
VNC .................................... yes
VK_KHR_display ......................... no
QNX:
lgmon ................................ no IMF .................................. no
XCB:
Using system-provided xcb-xinput ..... no GL integrations: GLX Plugin ......................... no XCB GLX .......................... no EGL-X11 Plugin ..................... yes
Windows:
Direct 2D ............................ no Direct 2D 1.1 ........................ no DirectWrite .......................... no DirectWrite 3 ........................ no
Qt Widgets:
GTK+ ................................... no
Styles ................................. Fusion Windows
Qt Testlib:
Tester for item models ................. yes
Qt PrintSupport:
CUPS ................................... no
Qt Sql Drivers:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. no
OCI (Oracle) ........................... no
ODBC ................................... no
PostgreSQL ............................. no
SQLite ................................. yes
Using system provided SQLite ......... no
Further Image Formats:
JasPer ................................. no
MNG .................................... no
TIFF ................................... yes
Using system libtiff ................. no
WEBP ................................... yes
Using system libwebp ................. no
Qt QML:
QML network support .................... yes
QML debugging and profiling support .... yes
QML just-in-time compiler .............. yes
QML XML http request ................... yes
QML Locale ............................. yes
Qt QML Models:
QML list model ......................... yes
QML delegate model ..................... yes
Qt Quick:
AnimatedImage item ..................... yes
Canvas item ............................ yes
Support for Qt Quick Designer .......... yes
Flipable item .......................... yes
GridView item .......................... yes
ListView item .......................... yes
TableView item ......................... yes
TreeView item .......................... yes
Path support ........................... yes
PathView item .......................... yes
Positioner items ....................... yes
Repeater item .......................... yes
ShaderEffect item ...................... yes
Sprite item ............................ yes
Qt Quick Templates 2:
Hover support .......................... yes
Multi-touch support .................... yes
Calendar support ....................... yes
Qt Quick Controls 2:
Styles ................................. Basic Fusion Imagine iOS Material Universal macOS Windows
Qt Multimedia:
Spatial Audio .......................... yes
Spatial Audio (Quick3D) ................ no
Low level Audio Backend:
ALSA (experimental) .................. no PulseAudio ........................... no MMRenderer ........................... no CoreAudio ............................ no Windows Media SDK .................... no Open SLES (Android) .................. no Web Assembly ......................... no
Plugin:
GStreamer 1.0 ........................ no FFmpeg ............................... no MMRenderer ........................... no AVFoundation ......................... no Windows Media Foundation ............. no
Hardware acceleration and features:
Video for Linux ...................... yes VAAPI support ........................ no Linux DMA buffer support ............. yes VideoToolbox ......................... no
Qt 3D:
Assimp ................................. yes
System Assimp .......................... no
Use SSE2 instructions .................. yes
Use AVX2 instructions .................. no
Aspects:
Render aspect ........................ yes Input aspect ......................... yes Logic aspect ......................... yes Animation aspect ..................... yes Extras aspect ........................ yes
Qt 3D APIs:
Vulkan ................................. no
Qt 3D Renderers:
OpenGL Renderer ........................ yes
RHI Renderer ........................... yes
Qt3D Geometry Loaders:
Autodesk FBX ........................... no
Qt 5 Compatibility Libraries:
iconv .................................. yes
Qt Charts Types:
Area Chart ............................. yes
Line Chart ............................. yes
Spline Chart ........................... yes
Scatter Chart .......................... yes
Bar Chart .............................. yes
Pie Chart .............................. yes
Boxplot Chart .......................... yes
Candlestick Chart ...................... yes
Qt Axis Types:
DateTime Axis .......................... yes
Qt Bluetooth:
BlueZ .................................. no
BlueZ Low Energy ....................... no
Linux Crypto API ....................... no
WinRT Bluetooth API .................... no
Qt Tools:
Qt Assistant ......................... yes QDoc ................................. no Clang-based lupdate parser ........... no Qt Designer .......................... yes Qt Distance Field Generator .......... yes Qt Linguist .......................... yes pixeltool ............................ yes qdbus ................................ yes Qt Attributions Scanner .............. yes qtdiag ............................... yes qtplugininfo ......................... yes
Qt Opcua:
Open62541 ............................ yes Unified Automation C++ SDK ........... no Support for namespace 0 NodeId names . yes Namespace 0 NodeIds generator ........ no Open62541 security support ........... no Support for global discovery server .. no
Serial Port:
ntddmodm ............................. no
QtQuick3D:
Assimp ............................... yes System Assimp ........................ no
Qt Remote Objects:
High Availability Manager (ham) ...... no
Qt Scxml:
ECMAScript data model for QtScxml .... yes
Qt Sensors:
sensorfw ............................. no sensorfw_enabled_with_cmake .......... no
Qt SerialBus:
Socket CAN ........................... yes Socket CAN FD ........................ yes SerialPort Support ................... yes
Qt TextToSpeech:
Flite ................................ no Flite with ALSA ...................... no Speech Dispatcher .................... no
Qt Virtualkeyboard:
Desktop integration .................. yes Built-in layouts ..................... yes Key navigation ....................... no Retro style as default ............... no Sensitive Debug ...................... no Cerence .............................. no Static Linking ..................... no Handwriting ........................ no Alphabetic ....................... no CJK .............................. no XT9 ................................ no XT9 Debug ........................ no XT9 9-key layouts ................ no Bundle resources ................... no Handwriting ...................... no XT9 .............................. no Hunspell ............................. no Using Hunspell copy from 3rdparty/ . no OpenWnn .............................. yes MyScript ............................. no Language support enabled for: Arabic ............................. yes Bulgarian .......................... yes Czech .............................. yes Danish ............................. yes German ............................. yes Greek .............................. yes English GB ......................... yes English US ......................... yes Spanish ............................ yes Spanish Mexico ..................... yes Estonian ........................... yes Farsi .............................. yes Finnish ............................ yes French Canada ...................... yes French France ...................... yes Hebrew ............................. yes Hindi .............................. yes Croatian ........................... yes Hungarian .......................... yes Indonesian ......................... yes Italian ............................ yes Japanese ........................... yes Korean ............................. yes Malay .............................. yes Norwegian .......................... yes Dutch .............................. yes Polish ............................. yes Portuguese Brazil .................. yes Portuguese Portugal ................ yes Romanian ........................... yes Russian ............................ yes Slovak ............................. yes Slovenian .......................... yes Albanian ........................... yes Serbian ............................ yes Swedish ............................ yes Thai ............................... yes Turkish ............................ yes Ukrainian .......................... yes Vietnamese ......................... yes Simplified Chinese ................. yes Traditional Chinese ................ yes HongKong Chinese ................... no Traditional chinese input methods: Zhuyin ............................. yes Cangjie ............................ yes
WebEngine Repository Build Options:
Build Ninja .......................... no Build Gn ............................. yes Jumbo Build .......................... yes Developer build ...................... no Build QtWebEngine Modules: Build QtWebEngineCore .............. no Build QtWebEngineWidgets ........... no Build QtWebEngineQuick ............. no Build QtPdf Modules: Build QtPdfWidgets ................. no Build QtPdfQuick ................... no Optional system libraries: re2 ................................ no icu ................................ no libwebp, libwebpmux and libwebpdemux no opus ............................... no ffmpeg ............................. no libvpx ............................. no snappy ............................. no glib ............................... yes zlib ............................... yes minizip ............................ no libevent ........................... no libxml2 and libxslt ................ no lcms2 .............................. no png ................................ yes jpeg ............................... no harfbuzz ........................... no freetype ........................... yes libpci ............................. no
Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available.
WARNING: No backend for low level audio found.
WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
Either set CMAKE_PREFIX_PATH or 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.
You will also need to set the FEATURE_clang CMake variable to ON to re-evaluate this check.
WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.
You will need to set the FEATURE_clangcpp CMake variable to ON to re-evaluate this check.
WARNING: QtWebEngine won't be built. node.js version 12 or later is required.
WARNING: QtPdf won't be built. node.js version 12 or later is required.
-
Here is config. summary:
Building for: linux-g++ (x86_64, CPU features: mmx sse sse2)
Compiler: gcc 11.3.0
Build options:
Mode ................................... release
Optimize release build for size ........ no
Fully optimize release builds (-O3) .... no
Building shared libraries .............. yes
Using C standard ....................... C11
Using C++ standard ..................... C++17
Using ccache ........................... no
Using new DTAGS ........................ yes
Relocatable ............................ yes
Using precompiled headers .............. yes
Using LTCG ............................. no
Using Intel CET ........................ yes
Target compiler supports:
SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX .................................. AVX AVX2 VAES AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI AVX512VBMI2 Other x86 ............................ AES F16C RDRAND SHA
Sanitizers:
Addresses ............................ no Threads .............................. no Memory ............................... no Fuzzer (instrumentation only) ........ no Undefined ............................ no
Build parts ............................ libs tools
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 PrintSupport ........................ 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 ...................... yes
Zstandard support ...................... no
Thread support ......................... yes
Common build options:
Linker can resolve circular dependencies yes
Qt Core:
backtrace .............................. yes
DoubleConversion ....................... yes
Using system DoubleConversion ........ no
GLib ................................... yes
ICU .................................... no
Using system libb2 ..................... no
Built-in copy of the MIME database ..... yes
cpp/winrt base ......................... no
Tracing backend ........................ <none>
Logging backends:
journald ............................. no syslog ............................... no slog2 ................................ no
PCRE2 .................................. yes
Using system PCRE2 ................... yes
CLONE_PIDFD support in forkfd .......... yes
Qt Sql:
SQL item models ........................ yes
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
OCSP-stapling .......................... no
SCTP ................................... no
Use system proxies ..................... yes
GSSAPI ................................. no
Brotli Decompression Support ........... yes
qTopLevelDomain() ...................... yes
Built-in publicsuffix database ....... yes System publicsuffix database ......... yes
Core tools:
Android deployment tool ................ yes
macOS deployment tool .................. no
Windows deployment tool ................ no
qmake .................................. yes
Qt Gui:
Accessibility .......................... yes
FreeType ............................... yes
Using system FreeType ................ yes
HarfBuzz ............................... yes
Using system HarfBuzz ................ no
Fontconfig ............................. yes
Image formats:
GIF .................................. yes ICO .................................. yes JPEG ................................. yes Using system libjpeg ............... no 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 ................................. no
Session Management ..................... yes
Features used by QPA backends:
evdev .................................. yes
libinput ............................... no
HiRes wheel support in libinput ........ no
INTEGRITY HID .......................... no
mtdev .................................. no
tslib .................................. no
xkbcommon .............................. yes
X11 specific:
XLib ................................. yes XCB Xlib ............................. yes EGL on X11 ........................... yes xkbcommon-x11 ........................ yes xcb-sm ............................... 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 ...................... no EGLFS GBM ............................ no EGLFS VSP2 ........................... no EGLFS Mali ........................... no EGLFS Raspberry Pi ................... no EGLFS X11 ............................ yes
LinuxFB ................................ yes
VNC .................................... yes
VK_KHR_display ......................... no
QNX:
lgmon ................................ no IMF .................................. no
XCB:
Using system-provided xcb-xinput ..... no GL integrations: GLX Plugin ......................... no XCB GLX .......................... no EGL-X11 Plugin ..................... yes
Windows:
Direct 2D ............................ no Direct 2D 1.1 ........................ no DirectWrite .......................... no DirectWrite 3 ........................ no
Qt Widgets:
GTK+ ................................... no
Styles ................................. Fusion Windows
Qt Testlib:
Tester for item models ................. yes
Qt PrintSupport:
CUPS ................................... no
Qt Sql Drivers:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. no
OCI (Oracle) ........................... no
ODBC ................................... no
PostgreSQL ............................. no
SQLite ................................. yes
Using system provided SQLite ......... no
Further Image Formats:
JasPer ................................. no
MNG .................................... no
TIFF ................................... yes
Using system libtiff ................. no
WEBP ................................... yes
Using system libwebp ................. no
Qt QML:
QML network support .................... yes
QML debugging and profiling support .... yes
QML just-in-time compiler .............. yes
QML XML http request ................... yes
QML Locale ............................. yes
Qt QML Models:
QML list model ......................... yes
QML delegate model ..................... yes
Qt Quick:
AnimatedImage item ..................... yes
Canvas item ............................ yes
Support for Qt Quick Designer .......... yes
Flipable item .......................... yes
GridView item .......................... yes
ListView item .......................... yes
TableView item ......................... yes
TreeView item .......................... yes
Path support ........................... yes
PathView item .......................... yes
Positioner items ....................... yes
Repeater item .......................... yes
ShaderEffect item ...................... yes
Sprite item ............................ yes
Qt Quick Templates 2:
Hover support .......................... yes
Multi-touch support .................... yes
Calendar support ....................... yes
Qt Quick Controls 2:
Styles ................................. Basic Fusion Imagine iOS Material Universal macOS Windows
Qt Multimedia:
Spatial Audio .......................... yes
Spatial Audio (Quick3D) ................ no
Low level Audio Backend:
ALSA (experimental) .................. no PulseAudio ........................... no MMRenderer ........................... no CoreAudio ............................ no Windows Media SDK .................... no Open SLES (Android) .................. no Web Assembly ......................... no
Plugin:
GStreamer 1.0 ........................ no FFmpeg ............................... no MMRenderer ........................... no AVFoundation ......................... no Windows Media Foundation ............. no
Hardware acceleration and features:
Video for Linux ...................... yes VAAPI support ........................ no Linux DMA buffer support ............. yes VideoToolbox ......................... no
Qt 3D:
Assimp ................................. yes
System Assimp .......................... no
Use SSE2 instructions .................. yes
Use AVX2 instructions .................. no
Aspects:
Render aspect ........................ yes Input aspect ......................... yes Logic aspect ......................... yes Animation aspect ..................... yes Extras aspect ........................ yes
Qt 3D APIs:
Vulkan ................................. no
Qt 3D Renderers:
OpenGL Renderer ........................ yes
RHI Renderer ........................... yes
Qt3D Geometry Loaders:
Autodesk FBX ........................... no
Qt 5 Compatibility Libraries:
iconv .................................. yes
Qt Charts Types:
Area Chart ............................. yes
Line Chart ............................. yes
Spline Chart ........................... yes
Scatter Chart .......................... yes
Bar Chart .............................. yes
Pie Chart .............................. yes
Boxplot Chart .......................... yes
Candlestick Chart ...................... yes
Qt Axis Types:
DateTime Axis .......................... yes
Qt Bluetooth:
BlueZ .................................. no
BlueZ Low Energy ....................... no
Linux Crypto API ....................... no
WinRT Bluetooth API .................... no
Qt Tools:
Qt Assistant ......................... yes QDoc ................................. no Clang-based lupdate parser ........... no Qt Designer .......................... yes Qt Distance Field Generator .......... yes Qt Linguist .......................... yes pixeltool ............................ yes qdbus ................................ yes Qt Attributions Scanner .............. yes qtdiag ............................... yes qtplugininfo ......................... yes
Qt Opcua:
Open62541 ............................ yes Unified Automation C++ SDK ........... no Support for namespace 0 NodeId names . yes Namespace 0 NodeIds generator ........ no Open62541 security support ........... no Support for global discovery server .. no
Serial Port:
ntddmodm ............................. no
QtQuick3D:
Assimp ............................... yes System Assimp ........................ no
Qt Remote Objects:
High Availability Manager (ham) ...... no
Qt Scxml:
ECMAScript data model for QtScxml .... yes
Qt Sensors:
sensorfw ............................. no sensorfw_enabled_with_cmake .......... no
Qt SerialBus:
Socket CAN ........................... yes Socket CAN FD ........................ yes SerialPort Support ................... yes
Qt TextToSpeech:
Flite ................................ no Flite with ALSA ...................... no Speech Dispatcher .................... no
Qt Virtualkeyboard:
Desktop integration .................. yes Built-in layouts ..................... yes Key navigation ....................... no Retro style as default ............... no Sensitive Debug ...................... no Cerence .............................. no Static Linking ..................... no Handwriting ........................ no Alphabetic ....................... no CJK .............................. no XT9 ................................ no XT9 Debug ........................ no XT9 9-key layouts ................ no Bundle resources ................... no Handwriting ...................... no XT9 .............................. no Hunspell ............................. no Using Hunspell copy from 3rdparty/ . no OpenWnn .............................. yes MyScript ............................. no Language support enabled for: Arabic ............................. yes Bulgarian .......................... yes Czech .............................. yes Danish ............................. yes German ............................. yes Greek .............................. yes English GB ......................... yes English US ......................... yes Spanish ............................ yes Spanish Mexico ..................... yes Estonian ........................... yes Farsi .............................. yes Finnish ............................ yes French Canada ...................... yes French France ...................... yes Hebrew ............................. yes Hindi .............................. yes Croatian ........................... yes Hungarian .......................... yes Indonesian ......................... yes Italian ............................ yes Japanese ........................... yes Korean ............................. yes Malay .............................. yes Norwegian .......................... yes Dutch .............................. yes Polish ............................. yes Portuguese Brazil .................. yes Portuguese Portugal ................ yes Romanian ........................... yes Russian ............................ yes Slovak ............................. yes Slovenian .......................... yes Albanian ........................... yes Serbian ............................ yes Swedish ............................ yes Thai ............................... yes Turkish ............................ yes Ukrainian .......................... yes Vietnamese ......................... yes Simplified Chinese ................. yes Traditional Chinese ................ yes HongKong Chinese ................... no Traditional chinese input methods: Zhuyin ............................. yes Cangjie ............................ yes
WebEngine Repository Build Options:
Build Ninja .......................... no Build Gn ............................. yes Jumbo Build .......................... yes Developer build ...................... no Build QtWebEngine Modules: Build QtWebEngineCore .............. no Build QtWebEngineWidgets ........... no Build QtWebEngineQuick ............. no Build QtPdf Modules: Build QtPdfWidgets ................. no Build QtPdfQuick ................... no Optional system libraries: re2 ................................ no icu ................................ no libwebp, libwebpmux and libwebpdemux no opus ............................... no ffmpeg ............................. no libvpx ............................. no snappy ............................. no glib ............................... yes zlib ............................... yes minizip ............................ no libevent ........................... no libxml2 and libxslt ................ no lcms2 .............................. no png ................................ yes jpeg ............................... no harfbuzz ........................... no freetype ........................... yes libpci ............................. no
Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available.
WARNING: No backend for low level audio found.
WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
Either set CMAKE_PREFIX_PATH or 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.
You will also need to set the FEATURE_clang CMake variable to ON to re-evaluate this check.
WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.
You will need to set the FEATURE_clangcpp CMake variable to ON to re-evaluate this check.
WARNING: QtWebEngine won't be built. node.js version 12 or later is required.
WARNING: QtPdf won't be built. node.js version 12 or later is required.
@Michael_sa8 I'm not talking about configure output! I'm talking about the content of config.log file after executing configure. If you can't find it then pass -v parameter to configure and check the output to get more details...
-
wrote on 20 Jun 2023, 12:40 last edited by
Sorry jsulm I am beginner in qt.
I don't have config log file. May I know in how I have to pass -v key? because no config option in below command:cmake ../qt5/ -GNinja -DINPUT_opengl=es2 -DCMAKE_BUILD_TYPE=Release -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=$HOME/qt-host
-
wrote on 20 Jun 2023, 18:56 last edited by
I could not find config file in qt-hostbuild folder. But I found a config file in qt5 folder (All the folder name are exactly same as qt wiki tutorial). When I run config file in qt5 i received below output:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
~/qt5/configure-
mkdir -p qtbase
-
cd qtbase
-
exec /home/vt/qt5/qtbase/configure -top-level
'/usr/bin/cmake' '-G' 'Ninja' '/home/vt/qt5'
Checking dependencies of submodule 'qtbase'
Checking dependencies of submodule 'qtimageformats'
Checking dependencies of submodule 'qtlanguageserver'
Checking dependencies of submodule 'qtshadertools'
Checking dependencies of submodule 'qtsvg'
Checking dependencies of submodule 'qtdeclarative'
Checking dependencies of submodule 'qtmultimedia'
Checking dependencies of submodule 'qt3d'
Checking dependencies of submodule 'qt5compat'
Checking dependencies of submodule 'qtactiveqt'
Checking dependencies of submodule 'qtcharts'
Checking dependencies of submodule 'qtcoap'
Checking dependencies of submodule 'qtconnectivity'
Checking dependencies of submodule 'qtdatavis3d'
Checking dependencies of submodule 'qttools'
Checking dependencies of submodule 'qtdoc'
Checking dependencies of submodule 'qtwebsockets'
Checking dependencies of submodule 'qthttpserver'
Checking dependencies of submodule 'qtlottie'
Checking dependencies of submodule 'qtmqtt'
Checking dependencies of submodule 'qtnetworkauth'
Checking dependencies of submodule 'qtopcua'
Checking dependencies of submodule 'qtserialport'
Checking dependencies of submodule 'qtpositioning'
Checking dependencies of submodule 'qtqa'
Checking dependencies of submodule 'qtquicktimeline'
Checking dependencies of submodule 'qtquick3d'
Checking dependencies of submodule 'qtquick3dphysics'
Checking dependencies of submodule 'qtremoteobjects'
Checking dependencies of submodule 'qtscxml'
Checking dependencies of submodule 'qtsensors'
Checking dependencies of submodule 'qtserialbus'
Checking dependencies of submodule 'qtspeech'
Checking dependencies of submodule 'qttranslations'
Checking dependencies of submodule 'qtvirtualkeyboard'
Checking dependencies of submodule 'qtwayland'
Checking dependencies of submodule 'qtwebchannel'
Checking dependencies of submodule 'qtwebengine'
Checking dependencies of submodule 'qtwebview'
Configuring submodule 'qtbase'
'qtwebengine_build' is changed from OFF to ON 'qtpdf_build' is changed from OFF to ON 'qtwebengine_core_build' is changed from OFF to ON 'qtwebengine_widgets_build' is changed from OFF to ON 'qtwebengine_quick_build' is changed from OFF to ON 'qtpdf_widgets_build' is changed from OFF to ON 'qtpdf_quick_build' is changed from OFF to ON
CMake Warning at qtbase/cmake/QtSetup.cmake:320 (message):
Re-configuring in existing build folder. Some features will be
re-evaluated automatically.
Call Stack (most recent call first):
qtbase/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:237 (include)
qtbase/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:382 (qt_build_internals_set_up_private_api)
qtbase/CMakeLists.txt:109 (qt_build_repo_begin)
-- Could NOT find md4c (missing: md4c_DIR)
CMake Warning (dev) at qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/FindXCB.cmake:180 (message):
XINPUT from XCB was requested: this is EXPERIMENTAL and is likely to
unavailable on many systems!
Call Stack (most recent call first):
qtbase/cmake/QtFindPackageHelpers.cmake:130 (find_package)
qtbase/src/gui/configure.cmake:123 (qt_find_package)
qtbase/cmake/QtFeature.cmake:573 (include)
qtbase/src/CMakeLists.txt:12 (qt_feature_evaluate_features)
This warning is for project developers. Use -Wno-dev to suppress it.
QtCore: WARNING: /home/vt/qt5/qtbase/src/corelib/tools/qatomicscopedvaluerollback_p.h does not have the "We mean it." warning
-- Could NOT find md4c (missing: md4c_DIR)
CMake Warning (dev) at qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/FindXCB.cmake:180 (message):
XINPUT from XCB was requested: this is EXPERIMENTAL and is likely to
unavailable on many systems!
Call Stack (most recent call first):
qtbase/cmake/QtFindPackageHelpers.cmake:130 (find_package)
qtbase/src/gui/configure.cmake:123 (qt_find_package)
qtbase/cmake/QtModuleHelpers.cmake:612 (include)
qtbase/src/gui/CMakeLists.txt:53 (qt_internal_add_module)
This warning is for project developers. Use -Wno-dev to suppress it.
Configuring submodule 'qtimageformats'
Configuring submodule 'qtlanguageserver'
Configuring submodule 'qtshadertools'
Configuring submodule 'qtsvg'
Configuring submodule 'qtdeclarative'
QtQuickDialogs2QuickImpl: WARNING: /home/vt/qt5/qtdeclarative/src/quickdialogs2/quickdialogs2quickimpl/qquickcolordialogutils_p.h does not have the "We mean it." warning
shaders/SaturationLightness.frag -> shaders/SaturationLightness.frag.qsb exposed as :/qt-project.org/imports/QtQuick/Dialogs/quickimpl/shaders/SaturationLightness.frag.qsb
QtQmlDom: WARNING: /home/vt/qt5/qtdeclarative/src/qmldom/standalone/private/qtqmlcompilerexports_p.h does not have the "We mean it." warning
Configuring submodule 'qtmultimedia'
Configuring submodule 'qt3d'
CMake Warning (dev) at /home/vt/qt-hostbuild/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:410 (message):
INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
Please port your module to use declarative type registration.
Call Stack (most recent call first):
qt3d/src/quick3d/imports/render/CMakeLists.txt:7 (qt_internal_add_qml_module)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/vt/qt-hostbuild/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:410 (message):
INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
Please port your module to use declarative type registration.
Call Stack (most recent call first):
qt3d/src/quick3d/imports/scene3d/CMakeLists.txt:7 (qt_internal_add_qml_module)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/vt/qt-hostbuild/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:410 (message):
INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
Please port your module to use declarative type registration.
Call Stack (most recent call first):
qt3d/src/quick3d/imports/extras/CMakeLists.txt:7 (qt_internal_add_qml_module)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/vt/qt-hostbuild/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:410 (message):
INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
Please port your module to use declarative type registration.
Call Stack (most recent call first):
qt3d/src/quick3d/imports/scene2d/CMakeLists.txt:7 (qt_internal_add_qml_module)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/vt/qt-hostbuild/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:410 (message):
INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
Please port your module to use declarative type registration.
Call Stack (most recent call first):
qt3d/src/quick3d/imports/input/CMakeLists.txt:7 (qt_internal_add_qml_module)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/vt/qt-hostbuild/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:410 (message):
INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
Please port your module to use declarative type registration.
Call Stack (most recent call first):
qt3d/src/quick3d/imports/logic/CMakeLists.txt:7 (qt_internal_add_qml_module)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/vt/qt-hostbuild/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:410 (message):
INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
Please port your module to use declarative type registration.
Call Stack (most recent call first):
qt3d/src/quick3d/imports/animation/CMakeLists.txt:7 (qt_internal_add_qml_module)
This warning is for project developers. Use -Wno-dev to suppress it.
Configuring submodule 'qt5compat'
CMake Warning (dev) at /home/vt/qt-hostbuild/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:410 (message):
INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
Please port your module to use declarative type registration.
Call Stack (most recent call first):
qt5compat/src/imports/graphicaleffects5/CMakeLists.txt:33 (qt_internal_add_qml_module)
This warning is for project developers. Use -Wno-dev to suppress it.
Configuring submodule 'qtactiveqt'
Condition "WIN32" is not met, enabling documentation build only.
Configuring submodule 'qtcharts'
-- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "1.4.0", minimum required is "0.5.0")
Configuring submodule 'qtcoap'
Configuring submodule 'qtconnectivity'
Configuring submodule 'qtdatavis3d'
Configuring submodule 'qttools'
-- Could NOT find Clang (missing: Clang_DIR)
-- Could NOT find Clang (missing: Clang_DIR)
QtDesigner: WARNING: /home/vt/qt5/qttools/src/designer/src/lib/uilib/abstractformbuilder.h includes uilib_global.h when it should include QtDesigner/uilib_global.h
QtDesigner: WARNING: /home/vt/qt5/qttools/src/designer/src/lib/uilib/formbuilder.h includes uilib_global.h when it should include QtDesigner/uilib_global.h
QtDesigner: WARNING: /home/vt/qt5/qttools/src/designer/src/lib/uilib/formbuilder.h includes abstractformbuilder.h when it should include QtDesigner/abstractformbuilder.h
Configuring submodule 'qtdoc'
Configuring submodule 'qtwebsockets'
CMake Warning (dev) at /home/vt/qt-hostbuild/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:410 (message):
INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
Please port your module to use declarative type registration.
Call Stack (most recent call first):
qtwebsockets/src/imports/qmlwebsockets/CMakeLists.txt:1 (qt_internal_add_qml_module)
This warning is for project developers. Use -Wno-dev to suppress it.
Configuring submodule 'qthttpserver'
Configuring submodule 'qtlottie'
CMake Warning (dev) at /home/vt/qt-hostbuild/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:410 (message):
INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
Please port your module to use declarative type registration.
Call Stack (most recent call first):
qtlottie/src/imports/CMakeLists.txt:1 (qt_internal_add_qml_module)
This warning is for project developers. Use -Wno-dev to suppress it.
Configuring submodule 'qtmqtt'
Configuring submodule 'qtnetworkauth'
Configuring submodule 'qtopcua'
Configuring submodule 'qtserialport'
Configuring submodule 'qtpositioning'
Configuring submodule 'qtqa'
Configuring submodule 'qtquicktimeline'
Configuring submodule 'qtquick3d'
assets/shaders/frostedGlass.frag -> assets/shaders/frostedGlass.frag.qsb exposed as ://assets/shaders/frostedGlass.frag.qsb
Configuring submodule 'qtquick3dphysics'
Configuring submodule 'qtremoteobjects'
Configuring submodule 'qtscxml'
Configuring submodule 'qtsensors'
Configuring submodule 'qtserialbus'
Configuring submodule 'qtspeech'
Configuring submodule 'qttranslations'
CMake Warning at qttranslations/translations/CMakeLists.txt:37 (message):
Directory '/home/vt/qt5/qttranslations/translations/../../qtlocation/src'
for qtlocation does not exist. Skipping...
Call Stack (most recent call first):
qttranslations/translations/CMakeLists.txt:105 (add_ts_targets)
CMake Warning at qttranslations/translations/CMakeLists.txt:44 (message):
No source files located for qtlocation, skipping target creation
Call Stack (most recent call first):
qttranslations/translations/CMakeLists.txt:105 (add_ts_targets)
Configuring submodule 'qtvirtualkeyboard'
QtVirtualKeyboard: WARNING: /home/vt/qt5/qtvirtualkeyboard/src/virtualkeyboard/qvirtualkeyboard_namespace.h does not include QT_BEGIN_NAMESPACE
Configuring submodule 'qtwayland'
CMake Warning at qtwayland/src/CMakeLists.txt:7 (message):
QtWayland is missing required dependencies, nothing will be built.
Although this could be considered an error, the configuration will still
pass as coin (Qt's continuous integration system) will fail the build if
configure fails, but will still try to configure the module on targets that
are missing dependencies.
Configuring submodule 'qtwebchannel'
CMake Warning (dev) at /home/vt/qt-hostbuild/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:410 (message):
INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
Please port your module to use declarative type registration.
Call Stack (most recent call first):
qtwebchannel/src/imports/webchannel/CMakeLists.txt:7 (qt_internal_add_qml_module)
This warning is for project developers. Use -Wno-dev to suppress it.
Configuring submodule 'qtwebengine'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'html5lib'
-- Checking 'ulimit -n'
-- Open files limit 1024
-- Creating linker launcher
-- Support check for QtWebEngine failed: node.js version 12 or later is required.
-- Support check for QtPdf failed: node.js version 12 or later is required.
Configuring submodule 'qtwebview'
-- Could NOT find Qt6WebEngineCore (missing: Qt6WebEngineCore_DIR)
CMake Warning at /home/vt/qt-hostbuild/qtbase/lib/cmake/Qt6/Qt6Config.cmake:270 (message):
Failed to find optional Qt component "WebEngineCore".
Expected Config file at
"/home/vt/qt-hostbuild/qtbase/lib/cmake/Qt6WebEngineCore/Qt6WebEngineCoreConfig.cmake"
does NOT exist
Call Stack (most recent call first):
qtwebview/CMakeLists.txt:12 (find_package)
-- Could NOT find Qt6WebEngineQuick (missing: Qt6WebEngineQuick_DIR)
CMake Warning at /home/vt/qt-hostbuild/qtbase/lib/cmake/Qt6/Qt6Config.cmake:270 (message):
Failed to find optional Qt component "WebEngineQuick".
Expected Config file at
"/home/vt/qt-hostbuild/qtbase/lib/cmake/Qt6WebEngineQuick/Qt6WebEngineQuickConfig.cmake"
does NOT exist
Call Stack (most recent call first):
qtwebview/CMakeLists.txt:12 (find_package)
-- Configuration summary shown below. It has also been written to /home/vt/qt-hostbuild/config.summary
-- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations.
-- Configure summary:
Building for: linux-g++ (x86_64, CPU features: mmx sse sse2)
Compiler: gcc 11.3.0
Build options:
Mode ................................... release
Optimize release build for size ........ no
Fully optimize release builds (-O3) .... no
Building shared libraries .............. yes
Using C standard ....................... C11
Using C++ standard ..................... C++17
Using ccache ........................... no
Using new DTAGS ........................ yes
Relocatable ............................ yes
Using precompiled headers .............. yes
Using LTCG ............................. no
Using Intel CET ........................ yes
Target compiler supports:
SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX .................................. AVX AVX2 VAES AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI AVX512VBMI2 Other x86 ............................ AES F16C RDRAND SHA
Sanitizers:
Addresses ............................ no Threads .............................. no Memory ............................... no Fuzzer (instrumentation only) ........ no Undefined ............................ no
Build parts ............................ libs tools
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 PrintSupport ........................ 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 ...................... yes
Zstandard support ...................... no
Thread support ......................... yes
Common build options:
Linker can resolve circular dependencies yes
Qt Core:
backtrace .............................. yes
DoubleConversion ....................... yes
Using system DoubleConversion ........ no
GLib ................................... yes
ICU .................................... no
Using system libb2 ..................... no
Built-in copy of the MIME database ..... yes
cpp/winrt base ......................... no
Tracing backend ........................ <none>
Logging backends:
journald ............................. no syslog ............................... no slog2 ................................ no
PCRE2 .................................. yes
Using system PCRE2 ................... yes
CLONE_PIDFD support in forkfd .......... yes
Qt Sql:
SQL item models ........................ yes
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
OCSP-stapling .......................... no
SCTP ................................... no
Use system proxies ..................... yes
GSSAPI ................................. no
Brotli Decompression Support ........... yes
qTopLevelDomain() ...................... yes
Built-in publicsuffix database ....... yes System publicsuffix database ......... yes
Core tools:
Android deployment tool ................ yes
macOS deployment tool .................. no
Windows deployment tool ................ no
qmake .................................. yes
Qt Gui:
Accessibility .......................... yes
FreeType ............................... yes
Using system FreeType ................ yes
HarfBuzz ............................... yes
Using system HarfBuzz ................ no
Fontconfig ............................. yes
Image formats:
GIF .................................. yes ICO .................................. yes JPEG ................................. yes Using system libjpeg ............... no 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 ................................. no
Session Management ..................... yes
Features used by QPA backends:
evdev .................................. yes
libinput ............................... no
HiRes wheel support in libinput ........ no
INTEGRITY HID .......................... no
mtdev .................................. no
tslib .................................. no
xkbcommon .............................. yes
X11 specific:
XLib ................................. yes XCB Xlib ............................. yes EGL on X11 ........................... yes xkbcommon-x11 ........................ yes xcb-sm ............................... 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 ...................... no EGLFS GBM ............................ no EGLFS VSP2 ........................... no EGLFS Mali ........................... no EGLFS Raspberry Pi ................... no EGLFS X11 ............................ yes
LinuxFB ................................ yes
VNC .................................... yes
VK_KHR_display ......................... no
QNX:
lgmon ................................ no IMF .................................. no
XCB:
Using system-provided xcb-xinput ..... no GL integrations: GLX Plugin ......................... no XCB GLX .......................... no EGL-X11 Plugin ..................... yes
Windows:
Direct 2D ............................ no Direct 2D 1.1 ........................ no DirectWrite .......................... no DirectWrite 3 ........................ no
Qt Widgets:
GTK+ ................................... no
Styles ................................. Fusion Windows
Qt Testlib:
Tester for item models ................. yes
Qt PrintSupport:
CUPS ................................... no
Qt Sql Drivers:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. no
OCI (Oracle) ........................... no
ODBC ................................... no
PostgreSQL ............................. no
SQLite ................................. yes
Using system provided SQLite ......... no
Further Image Formats:
JasPer ................................. no
MNG .................................... no
TIFF ................................... yes
Using system libtiff ................. no
WEBP ................................... yes
Using system libwebp ................. no
Qt QML:
QML network support .................... yes
QML debugging and profiling support .... yes
QML just-in-time compiler .............. yes
QML XML http request ................... yes
QML Locale ............................. yes
Qt QML Models:
QML list model ......................... yes
QML delegate model ..................... yes
Qt Quick:
AnimatedImage item ..................... yes
Canvas item ............................ yes
Support for Qt Quick Designer .......... yes
Flipable item .......................... yes
GridView item .......................... yes
ListView item .......................... yes
TableView item ......................... yes
TreeView item .......................... yes
Path support ........................... yes
PathView item .......................... yes
Positioner items ....................... yes
Repeater item .......................... yes
ShaderEffect item ...................... yes
Sprite item ............................ yes
Qt Quick Templates 2:
Hover support .......................... yes
Multi-touch support .................... yes
Calendar support ....................... yes
Qt Quick Controls 2:
Styles ................................. Basic Fusion Imagine iOS Material Universal macOS Windows
Qt Multimedia:
Spatial Audio .......................... yes
Spatial Audio (Quick3D) ................ no
Low level Audio Backend:
ALSA (experimental) .................. no PulseAudio ........................... no MMRenderer ........................... no CoreAudio ............................ no Windows Media SDK .................... no Open SLES (Android) .................. no Web Assembly ......................... no
Plugin:
GStreamer 1.0 ........................ no FFmpeg ............................... no MMRenderer ........................... no AVFoundation ......................... no Windows Media Foundation ............. no
Hardware acceleration and features:
Video for Linux ...................... yes VAAPI support ........................ no Linux DMA buffer support ............. yes VideoToolbox ......................... no
Qt 3D:
Assimp ................................. yes
System Assimp .......................... no
Use SSE2 instructions .................. yes
Use AVX2 instructions .................. no
Aspects:
Render aspect ........................ yes Input aspect ......................... yes Logic aspect ......................... yes Animation aspect ..................... yes Extras aspect ........................ yes
Qt 3D APIs:
Vulkan ................................. no
Qt 3D Renderers:
OpenGL Renderer ........................ yes
RHI Renderer ........................... yes
Qt3D Geometry Loaders:
Autodesk FBX ........................... no
Qt 5 Compatibility Libraries:
iconv .................................. yes
Qt Charts Types:
Area Chart ............................. yes
Line Chart ............................. yes
Spline Chart ........................... yes
Scatter Chart .......................... yes
Bar Chart .............................. yes
Pie Chart .............................. yes
Boxplot Chart .......................... yes
Candlestick Chart ...................... yes
Qt Axis Types:
DateTime Axis .......................... yes
Qt Bluetooth:
BlueZ .................................. no
BlueZ Low Energy ....................... no
Linux Crypto API ....................... no
WinRT Bluetooth API .................... no
Qt Tools:
Qt Assistant ......................... yes QDoc ................................. no Clang-based lupdate parser ........... no Qt Designer .......................... yes Qt Distance Field Generator .......... yes Qt Linguist .......................... yes pixeltool ............................ yes qdbus ................................ yes Qt Attributions Scanner .............. yes qtdiag ............................... yes qtplugininfo ......................... yes
Qt Opcua:
Open62541 ............................ yes Unified Automation C++ SDK ........... no Support for namespace 0 NodeId names . yes Namespace 0 NodeIds generator ........ no Open62541 security support ........... no Support for global discovery server .. no
+++++++++++++++++++++++
*** output omitted***
+++++++++++++++++++++++Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available.
WARNING: No backend for low level audio found.
WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
Either set CMAKE_PREFIX_PATH or 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.
You will also need to set the FEATURE_clang CMake variable to ON to re-evaluate this check.
WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.
You will need to set the FEATURE_clangcpp CMake variable to ON to re-evaluate this check.
WARNING: QtWebEngine won't be built. node.js version 12 or later is required.
WARNING: QtPdf won't be built. node.js version 12 or later is required.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vt/qt-hostbuild
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -
-
Sorry jsulm I am beginner in qt.
I don't have config log file. May I know in how I have to pass -v key? because no config option in below command:cmake ../qt5/ -GNinja -DINPUT_opengl=es2 -DCMAKE_BUILD_TYPE=Release -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=$HOME/qt-host
@Michael_sa8 said in QT6 cross compile for raspberry pi:
May I know in how I have to pass -v key?
Come on, you just add -v to your configure call just like you do with all the other parameters:
$ ../qt5/configure -release -opengl es2 -nomake examples -nomake tests -qt-host-path $HOME/qt-host -extprefix $HOME/qt-raspi -prefix /usr/local/qt6 -device linux-rasp-pi4-aarch64 -device-option CROSS_COMPILE=aarch64-linux-gnu- -- -DCMAKE_TOOLCHAIN_FILE=$HOME/toolchain.cmake -DQT_FEATURE_xcb=ON -DFEATURE_xcb_xlib=ON -DQT_FEATURE_xlib=ON -v
And please do that in a fresh build folder.
-
wrote on 21 Jun 2023, 14:12 last edited by
@jsulm said in QT6 cross compile for raspberry pi:
/configure -release -opengl es2 -nomake examples -nomake tests -qt-host-path $HOME/qt-host -extprefix $HOME/qt-raspi -prefix /usr/local/qt6 -device linux-rasp-pi4-aarch64 -device-option CROSS_COMPILE=aarch64-linux-gnu- -- -DCMAKE_TOOLCHAIN_FILE=$HOME/toolchain.cmake -DQT_FEATURE_xcb=ON -DFEATURE_xcb_xlib=ON -DQT_FEATURE_xlib=ON -v
Config command dose not support -v option. Here is the output of above command:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
../qt5/configure -release -opengl es2 -nomake examples -nomake tests -qt-host-path $HOME/qt-host -extprefix $HOME/qt-raspi -prefix /usr/local/qt6 -device linux-rasp-pi4-aarch64 -device-option CROSS_COMPILE=aarch64-linux-gnu- -- -DCMAKE_TOOLCHAIN_FILE=$HOME/toolchain.cmake -DQT_FEATURE_xcb=ON -DFEATURE_xcb_xlib=ON -DQT_FEATURE_xlib=ON -v-
mkdir -p qtbase
-
cd qtbase
-
exec /home/vt/qt5/qtbase/configure -top-level -release -opengl es2 -nomake examples -nomake tests -qt-host-path /home/vt/qt-host -extprefix /home/vt/qt-raspi -prefix /usr/local/qt6 -device linux-rasp-pi4-aarch64 -device-option CROSS_COMPILE=aarch64-linux-gnu- -- -DCMAKE_TOOLCHAIN_FILE=/home/vt/toolchain.cmake -DQT_FEATURE_xcb=ON -DFEATURE_xcb_xlib=ON -DQT_FEATURE_xlib=ON -v
'/usr/bin/cmake' '-DQT_HOST_PATH=/home/vt/qt-host' '-DCMAKE_TOOLCHAIN_FILE=/home/vt/toolchain.cmake' '-DQT_FEATURE_xcb=ON' '-DFEATURE_xcb_xlib=ON' '-DQT_FEATURE_xlib=ON' '-v' '-DCMAKE_INSTALL_PREFIX=/usr/local/qt6' '-DCMAKE_STAGING_PREFIX=/home/vt/qt-raspi' '-DQT_QMAKE_TARGET_MKSPEC=devices/linux-rasp-pi4-aarch64' '-DQT_BUILD_EXAMPLES=FALSE' '-DQT_BUILD_TESTS=FALSE' '-DCMAKE_BUILD_TYPE=Release' '-DQT_QMAKE_DEVICE_OPTIONS=CROSS_COMPILE=aarch64-linux-gnu-' '-DINPUT_opengl=es2' '-G' 'Ninja' '/home/vt/qt5'
CMake Error: Unknown argument -v
CMake Error: Run 'cmake --help' for all supported options.
CMake Error at /home/vt/qt5/qtbase/cmake/QtProcessConfigureArgs.cmake:965 (message):
CMake exited with code 1.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -
1/10