Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. OpenGL not works in static compile
Forum Updated to NodeBB v4.3 + New Features

OpenGL not works in static compile

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 281 Views 1 Watching
  • 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.
  • V Offline
    V Offline
    vakh
    wrote on last edited by vakh
    #1

    I have installed Qt version 6.7.2 with qt online installer in open source mode from here:
    https://www.qt.io/download-qt-installer-oss?hsCtaTracking=99d9dd4f-5681-48d2-b096-470725510d34|074ddad0-fdef-4e53-8aa8-5e8a876d6ab4
    and it works correctly. i developed my program and there is a QOpenGLWidget item that shows a cube like this:
    9722ccce-04ed-49a4-88ba-5da37ce04181-image.png
    to show this cube, i use this example:
    72a969a0-4138-4b0f-840c-6a46fba955e3-image.png
    and it works fine.
    now i want to compile qt from source. i downloaded the source code with MaintenanceTool.exe and after that i configured it with this command:
    ./configure.bat -static -release -prefix C:/Qt/6.7.2/Build_Static/
    this is the output of configure command:

    C:\Qt\6.7.2\Src>configure.bat -static -release -prefix C:/Qt/6.7.2/Build_Static/
    + cd qtbase
    + C:\Qt\6.7.2\Src\qtbase\configure.bat -top-level -static -release -prefix C:/Qt/6.7.2/Build_Static/
    The system cannot find the drive specified.
    The system cannot find the drive specified.
    -- Windows 10 SDK version:
    'C:/Programs/CMake/bin/cmake.exe' '-DQT_INTERNAL_CALLED_FROM_CONFIGURE:BOOL=TRUE' '-DBUILD_SHARED_LIBS=OFF' '-DCMAKE_INSTALL_PREFIX=C:/Qt/6.7.2/Build_Static' '-DCMAKE_BUILD_TYPE=Release' '-G' 'Ninja' 'C:/Qt/6.7.2/Src'
    -- The CXX compiler identification is GNU 11.2.0
    -- The C compiler identification is GNU 11.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/Qt/Tools/mingw1120_64/bin/gcc.exe
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: C:/Qt/Tools/mingw1120_64/bin/c++.exe - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: C:/Qt/Tools/mingw1120_64/bin/gcc.exe - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- 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 'qtquicktimeline'
    -- Checking dependencies of submodule 'qtquick3d'
    -- 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 'qtgraphs'
    -- Checking dependencies of submodule 'qtwebsockets'
    -- Checking dependencies of submodule 'qthttpserver'
    -- Skipping optional dependency 'qtwebsockets' of 'qthttpserver', because qtwebsockets's CMakeLists.txt couldn't be found.
    -- Checking dependencies of submodule 'qtserialport'
    -- Checking dependencies of submodule 'qtpositioning'
    -- Checking dependencies of submodule 'qtlocation'
    -- Checking dependencies of submodule 'qttools'
    -- Checking dependencies of submodule 'qtwebchannel'
    -- Skipping optional dependency 'qtwebsockets' of 'qtwebchannel', because qtwebsockets's CMakeLists.txt couldn't be found.
    -- Checking dependencies of submodule 'qtwebengine'
    -- Checking dependencies of submodule 'qtdoc'
    -- Skipping optional dependency 'qtwebsockets' of 'qtdoc', because qtwebsockets's CMakeLists.txt couldn't be found.
    -- Checking dependencies of submodule 'qtgrpc'
    -- Checking dependencies of submodule 'qtinsighttracker'
    -- Checking dependencies of submodule 'qtlottie'
    -- Checking dependencies of submodule 'qtmqtt'
    -- Checking dependencies of submodule 'qtnetworkauth'
    -- Checking dependencies of submodule 'qtopcua'
    -- Checking dependencies of submodule 'qtquick3dphysics'
    -- Checking dependencies of submodule 'qtquickeffectmaker'
    -- 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'
    -- Configuring submodule 'qtbase'
    -- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release'
                -DCMAKE_C_FLAGS_DEBUG=-g
                -DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG
                -DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
                -DCMAKE_CXX_FLAGS_DEBUG=-g
                -DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG
                -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
                -DCMAKE_OBJCOPY=C:/Qt/Tools/mingw1120_64/bin/objcopy.exe
                -DCMAKE_C_STANDARD=11
                -DCMAKE_C_STANDARD_REQUIRED=ON
                -DCMAKE_CXX_STANDARD=17
                -DCMAKE_CXX_STANDARD_REQUIRED=ON
                -DCMAKE_MODULE_PATH:STRING=C:/Qt/6.7.2/Src/qtbase/cmake/platforms
    -- Configuring submodule 'qtimageformats'
    -- Configuring submodule 'qtlanguageserver'
    -- Configuring submodule 'qtshadertools'
    -- Configuring submodule 'qtsvg'
    -- Configuring submodule 'qtdeclarative'
    CMake Warning at qtbase/cmake/QtFindPackageHelpers.cmake:477 (message):
      Could not find target Qt6::QuickControls2WindowsStyleImpl to query its
      package name.  Defaulting to package name
      Qt6QuickControls2WindowsStyleImpl.  Consider re-arranging the project
      structure to ensure the target exists by this point.
    Call Stack (most recent call first):
      qtbase/cmake/QtFindPackageHelpers.cmake:520 (qt_internal_get_package_name_of_target)
      qtbase/cmake/QtTargetHelpers.cmake:226 (qt_register_target_dependencies)
      qtbase/cmake/QtPluginHelpers.cmake:348 (qt_internal_extend_target)
      qtdeclarative/src/qml/Qt6QmlBuildInternals.cmake:217 (qt_internal_add_plugin)
      qtdeclarative/src/quickcontrols/windows/CMakeLists.txt:33 (qt_internal_add_qml_module)
    
    
    -- Configuring submodule 'qtquicktimeline'
    -- Configuring submodule 'qtquick3d'
    -- Configuring submodule 'qtmultimedia'
    -- Configuring submodule 'qt3d'
    CMake Warning (dev) at qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:423 (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:10 (qt_internal_add_qml_module)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:423 (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:10 (qt_internal_add_qml_module)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:423 (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:10 (qt_internal_add_qml_module)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:423 (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:10 (qt_internal_add_qml_module)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:423 (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:10 (qt_internal_add_qml_module)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:423 (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:10 (qt_internal_add_qml_module)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    -- Configuring submodule 'qt5compat'
    CMake Warning (dev) at qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:423 (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:36 (qt_internal_add_qml_module)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    -- Configuring submodule 'qtactiveqt'
    -- Configuring submodule 'qtcharts'
    -- Configuring submodule 'qtcoap'
    -- Configuring submodule 'qtconnectivity'
    -- Configuring submodule 'qtdatavis3d'
    -- Configuring submodule 'qtgraphs'
    -- Configuring submodule 'qtwebsockets'
    CMake Warning (dev) at qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:423 (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:4 (qt_internal_add_qml_module)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    -- Configuring submodule 'qthttpserver'
    
    -- Configuring submodule 'qtserialport'
    -- Configuring submodule 'qtpositioning'
    -- Configuring submodule 'qtlocation'
    -- Configuring submodule 'qttools'
    -- Could NOT find Clang (missing: Clang_DIR)
    -- Could NOT find Clang (missing: Clang_DIR)
    -- Configuring submodule 'qtwebchannel'
    -- Configuring submodule 'qtwebengine'
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'html5lib'
    [QtWebEngine] -- Windows 10 SDK version:
    [QtWebEngine] -- Support check for QtWebEngine failed: Static build is not supported.
    [QtWebEngine] -- Support check for QtPdf failed: node.js version 14 or later is required.
    -- Configuring submodule 'qtdoc'
    -- Configuring submodule 'qtgrpc'
    -- Configuring submodule 'qtinsighttracker'
    -- Configuring submodule 'qtlottie'
    -- Configuring submodule 'qtmqtt'
    -- Configuring submodule 'qtnetworkauth'
    -- Configuring submodule 'qtopcua'
    -- Configuring submodule 'qtquick3dphysics'
    -- Configuring submodule 'qtquickeffectmaker'
    Nodes path: ./qml/QtQuickEffectMaker/defaultnodes
    -- Configuring submodule 'qtremoteobjects'
    -- Configuring submodule 'qtscxml'
    -- Configuring submodule 'qtsensors'
    -- Configuring submodule 'qtserialbus'
    -- Configuring submodule 'qtspeech'
    -- Configuring submodule 'qttranslations'
    -- Configuring submodule 'qtvirtualkeyboard'
    -- Configuring submodule 'qtwayland'
    Skipping the build as the condition "LINUX OR MACOS OR QNX" is not met.
    
    -- Configuration summary shown below. It has also been written to C:/Qt/6.7.2/Src/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: win32-g++ (x86_64, CPU features: cx16 sse3)
    Compiler: gcc 11.2.0
    Build options:
      Mode ................................... release
      Optimize release build for size ........ no
      Fully optimize release builds (-O3) .... no
      Building shared libraries .............. no
      Unity Build ............................ no
      Relocatable ............................ no
      Using precompiled headers .............. yes
      Using Link Time Optimization (LTCG) .... no
      Using Intel CET ........................ no
      Target compiler supports:
        x86 Intrinsics ....................... Basic VAES AVX512VBMI2
      Sanitizers:
        Addresses ............................ no
        Threads .............................. no
        Memory ............................... no
        Fuzzer (instrumentation only) ........ no
        Undefined ............................ no
      Build parts ............................ libs tools
      Install examples sources ............... no
      App store compliance ................... no
    Qt modules and options:
      Qt Concurrent .......................... yes
      Qt D-Bus ............................... yes
      Qt D-Bus directly linked to libdbus .... no
      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 ....................... no
      Using vcpkg ............................ no
      udev ................................... no
      OpenSSL ................................ no
        Qt directly linked to OpenSSL ........ no
      OpenSSL 1.1 ............................ no
      OpenSSL 3.0 ............................ no
      Using system zlib ...................... no
      Zstandard support ...................... no
      Thread support ......................... yes
    Common build options:
      Linker can resolve circular dependencies  yes
    Qt Core:
      backtrace .............................. no
      DoubleConversion ....................... yes
        Using system DoubleConversion ........ no
      GLib ................................... no
      ICU .................................... no
      Using system libb2 ..................... no
      Built-in copy of the MIME database ..... yes
      Application permissions ................ yes
      Tracing backend ........................ <none>
      OpenSSL based cryptographic hash ....... no
      Logging backends:
        journald ............................. no
        syslog ............................... no
        slog2 ................................ no
      PCRE2 .................................. yes
        Using system PCRE2 ................... no
    Qt Sql:
      SQL item models ........................ yes
    Qt Network:
      getifaddrs() ........................... no
      IPv6 ifname ............................ no
      libproxy ............................... no
      Schannel ............................... yes
      DTLS ................................... no
      OCSP-stapling .......................... no
      SCTP ................................... no
      Use system proxies ..................... yes
      GSSAPI ................................. no
      Brotli Decompression Support ........... no
      qIsEffectiveTLD() ...................... yes
        Built-in publicsuffix database ....... yes
        System publicsuffix database ......... no
    Core tools:
      Android deployment tool ................ yes
      macOS deployment tool .................. no
      Windows deployment tool ................ yes
      qmake .................................. yes
    Qt Gui:
      Accessibility .......................... yes
      FreeType ............................... yes
        Using system FreeType ................ no
      HarfBuzz ............................... yes
        Using system HarfBuzz ................ no
      Fontconfig ............................. no
      Image formats:
        GIF .................................. yes
        ICO .................................. yes
        JPEG ................................. yes
          Using system libjpeg ............... no
        PNG .................................. yes
          Using system libpng ................ no
      Text formats:
        HtmlParser ........................... yes
        CssParser ............................ yes
        OdfWriter ............................ yes
        MarkdownReader ....................... yes
          Using system libmd4c ............... no
        MarkdownWriter ....................... yes
      EGL .................................... no
      OpenVG ................................. no
      OpenGL:
        Desktop OpenGL ....................... no
        Dynamic OpenGL ....................... yes
        OpenGL ES 2.0 ........................ no
        OpenGL ES 3.0 ........................ no
        OpenGL ES 3.1 ........................ no
        OpenGL ES 3.2 ........................ no
      Vulkan ................................. no
      Session Management ..................... yes
    Features used by QPA backends:
      evdev .................................. no
      libinput ............................... no
      HiRes wheel support in libinput ........ no
      INTEGRITY HID .......................... no
      mtdev .................................. no
      tslib .................................. no
      xkbcommon .............................. no
      X11 specific:
        XLib ................................. no
        XCB Xlib ............................. no
        EGL on X11 ........................... no
        xkbcommon-x11 ........................ no
        xcb-sm ............................... no
    QPA backends:
      DirectFB ............................... no
      EGLFS .................................. no
      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 ............................ no
      LinuxFB ................................ no
      VNC .................................... no
      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 ..................... no
      Windows:
        Direct 2D ............................ no
        Direct 2D 1.1 ........................ no
        DirectWrite .......................... no
        DirectWrite 3 ........................ no
    Qt Widgets:
      GTK+ ................................... no
      Styles ................................. Fusion Windows WindowsVista
    Qt Testlib:
      Tester for item models ................. yes
      Batch tests ............................ no
    Qt PrintSupport:
      CUPS ................................... no
    Qt Sql Drivers:
      DB2 (IBM) .............................. no
      InterBase .............................. no
      MySql .................................. no
      OCI (Oracle) ........................... no
      ODBC ................................... yes
      PostgreSQL ............................. no
      SQLite ................................. yes
        Using system provided SQLite ......... no
      Mimer .................................. 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
      QML SSL support ........................ yes
    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
      QML SSL support ........................ 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 Material Universal Windows
    QtQuick3D:
      Assimp ................................. yes
      System Assimp .......................... no
    Qt Multimedia:
      Spatial Audio .......................... yes
      Spatial Audio (Quick3D) ................ yes
      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 ...................... no
        VAAPI support ........................ no
        Linux DMA buffer support ............. no
        VideoToolbox ......................... no
    Qt 3D:
      Assimp ................................. yes
      System Assimp .......................... 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 .................................. no
    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 Graphs Support:
      2D Graphs .............................. yes
      3D Graphs .............................. yes
    Qt Graphs 3D:
      Bars3D ................................. yes
      Scatter3D .............................. yes
      Surface3D .............................. yes
    Serial Port:
      ntddmodm ............................... no
    Qt Tools:
      Qt Assistant ........................... yes
      libclang found ......................... no
      Clang-based lupdate parser ............. no
      Qt Designer ............................ yes
      Qt Distance Field Generator ............ yes
      Qt Linguist ............................ yes
      pixeltool .............................. yes
      qdbus .................................. yes
      QDoc ................................... no
      Qt Attributions Scanner ................ yes
      qtdiag ................................. yes
      qtplugininfo ........................... 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
      Qt 3rdparty libs:
        qtfreetype ........................... yes
        qtharfbuzz ........................... yes
        qtpng ................................ yes
        qtjpeg ............................... yes
        qtzlib ............................... yes
      Qt Protobuf:
        Qt Core types support ................ no
        Qt Gui types support ................. no
        Well-known types support ............. no
      Qt Protobuf tools:
        Qt Protobuf generator ................ no
      Qt GRPC:
        gRPC support ......................... yes
        QML gRPC support ..................... yes
      Qt GRPC tools:
        Qt GRPC generator .................... no
      sql storage ............................ yes
      sql with zlib compression .............. no
      sql with zstd compression .............. no
      Qt Opcua:
        Open62541 ............................ yes
        Support for namespace 0 NodeId names . yes
        Internal code generator .............. no
        Open62541 security support ........... no
        Support for global discovery server .. no
        Data type code generator ............. yes
      Qt Remote Objects:
        High Availability Manager (ham) ...... no
      Qt Scxml:
        ECMAScript data model for QtScxml .... yes
      Qt Sensors:
        WinRT sensors backend ................ no
      Qt SerialBus:
        Socket CAN ........................... no
        Socket CAN FD ........................ no
        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
        Example HWR .......................... 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
          PortugueNote: Using static linking will disable the use of dynamically loaded plugins. Make sure to import all needed static plugins, or compile needed modules into the library.
    Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available.
    
    WARNING: Basic cpp/winrt support missing. Some features might not be available.
    WARNING: No backend for low level audio found.
    WARNING: QDoc will not be compiled, probably because clang's C and C++ libraries could not be located. This means that you cannot build the Qt documentation.
    You may need to set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation.
    Other than clang's libraries, you may need to install another package, such as clang itself, to provide the ClangConfig.cmake file needed to detect your libraries. Once this
    file is in place, the configure script may be able to detect your system-installed libraries without further environment variables.
    On macOS, you can use Homebrew's llvm package.
    You will also neese 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
    
    --
    
    Qt is now configured for building. Just run 'cmake --build . --parallel'
    
    Once everything is built, you must run 'cmake --install .'
    Qt will be installed into 'C:/Qt/6.7.2/Build_Static'
    
    To confd to set the FEATURE_clang CMake variable to ON to re-evaluate this check.
    WARNING: Clang-based lupdate parser will not be available. Suitable 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. Static build is not supported.
    WARNING: QtPdf won't be built. node.js version 14 or later is required.
    
    igure and build other Qt modules, you can use the following convenience script:
            C:/Qt/6.7.2/Build_Static/bin/qt-configure-module.bat
    
    If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/Qt/6.7.2/Src
    
    C:\Qt\6.7.2\Src>
    

    and after that i use this commands to build and install it:
    cmake --build . --parallel
    cmake --install .
    and after that i add this to my kits and i compiled my app successfully.
    but finally i see that the opengl widget does not works and shows only black screen. in compile of qt and my app, i did not see any error for this.
    how can i solve this problem?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sedsimorgh
      wrote on last edited by Sedsimorgh
      #2

      let me get this straight
      you have an example that uses QOpenGLWidget and works fine.
      then you compile the "Qt creator" itself from scratch and with your custom built Qt creator, you're program doesn't work?

      why would you compile your own Qt creator in the first place?

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vakh
        wrote on last edited by
        #3

        thanks Sedsimorgh. i want to compile my programs with static libraries so i compiled qt from source in static mode and now all the required libs placed in my .exe file. before that, i put all qt libs beside my .exe file. now this problem solved but my 3d cube does not shown in program. my program compiled without any error and runs without any error. so i cannot track the problem and i only see a black scence!

        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