Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Qt6 configuration error: don't know how to solve

Qt6 configuration error: don't know how to solve

Scheduled Pinned Locked Moved Unsolved Qt 6
1 Posts 1 Posters 663 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rich v
    wrote on last edited by
    #1

    I am using this configuration command with Qt 6.2.0:

    C:\Qt\6.2.0\build-qnx>..\Src\configure -release -confirm-license -commercial -xplatform qnx-armle-v7-qcc -opengl es2 -nomake tools -skip qtscxml -skip qtserialbus -skip qtactiveqt -skip qtandroidextras -skip qtconnectivity -skip qtdoc -skip qtlocation -skip qtmacextras -skip qtsensors -skip qtserialport -skip qtwinextras -skip qtx11extras -openssl -nomake examples -nomake tests -skip qtwebengine -skip qttranslations -no-fontconfig -extprefix C:/Qt/6.2.0/qnx71_armv7 -qt-host-path C:/Qt/6.2.0 -- -DCMAKE_TOOLCHAIN_FILE=C:/Projects/AEPP/cmake/toolchains/QNX_armv7le_Toolchain.cmake -DCMAKE_PREFIX_PATH=C:/Qt/6.2.0/mingw81_64 -DQt6HostInfo_DIR=C:/Qt/6.2.0/mingw81_64/lib/cmake/Qt6HostInfo -DQt6WidgetsTools_DIR=C:/Qt/6.2.0/mingw81_64/lib/cmake/Qt6WidgetsTools -DQt6GuiTools_DIR=C:/Qt/6.2.0/mingw81_64/lib/cmake/Qt6GuiTools -DQt6DBusTools_DIR=C:/Qt/6.2.0/mingw81_64/lib/cmake/Qt6DBusTools -DQt6ShaderToolsTools_DIR=C:/Qt/6.2.0/mingw81_64/lib/cmake/Qt6ShaderToolsTools -DQt6QmlTools_DIR=C:/Qt/6.2.0/mingw81_64/lib/cmake/Qt6QmlTools -DQt6LinguistTools_DIR=C:/Qt/6.2.0/mingw81_64/lib/cmake/Qt6LinguistTools -DQt6ToolsTools_DIR=C:/Qt/6.2.0/mingw81_64/lib/cmake/Qt6ToolsTools -DQt6Quick3DTools_DIR=C:/Qt/6.2.0/mingw81_64/lib/cmake/Qt6Quick3DTools
    

    You'll notice I had to keep adding _DIR entries because for some reason CMake could not find the appropriate directory for various packages. That is one issue but another is that at the end of the configuration I get this and I don't know how to procede.

    ERROR: Feature "openssl": Forcing to "ON" breaks its condition:
        QT_FEATURE_openssl_runtime OR QT_FEATURE_openssl_linked
    Condition values dump:
        QT_FEATURE_openssl_runtime = "OFF"
        QT_FEATURE_openssl_linked = "OFF"
    
    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 include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
    
    CMake Error at qtbase/cmake/QtBuildInformation.cmake:80 (message):
      Check the configuration messages for an error that has occurred.
    Call Stack (most recent call first):
      qtbase/cmake/QtBuildInformation.cmake:11 (qt_configure_print_summary)
      CMakeLists.txt:109 (qt_print_feature_summary)
    
    
    -- Configuring incomplete, errors occurred!
    See also "C:/Qt/6.2.0/build-qnx/CMakeFiles/CMakeOutput.log".
    See also "C:/Qt/6.2.0/build-qnx/CMakeFiles/CMakeError.log".
    CMake Error at C:/Qt/6.2.0/Src/qtbase/cmake/QtProcessConfigureArgs.cmake:947 (message):
      CMake exited with code 1.
    

    What are these errors telling me? I feel the instructions for building Qt for QNX don't prepare me for any of the pitfalls. Looking at the configure options it would seem like dynamic/runtime linking is the default for both opengl and ssl.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved