Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Build qt 6.3.0 library don't work

Build qt 6.3.0 library don't work

Scheduled Pinned Locked Moved Solved Installation and Deployment
4 Posts 2 Posters 965 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.
  • RenioR Offline
    RenioR Offline
    Renio
    wrote on last edited by
    #1

    hi to all,
    I must to rebuild the qtbase module from qt 6.3.0 release.
    I try to follow the instruction at this page:
    https://doc.qt.io/qt-6/windows-building.html
    I launch the configure.bat script without parameters and I obtain the qt library compiled in debug mode.
    Now I wanto to compile its in release mode. I execute the follow commands

    configure.bat -release -shared 
    cmake --build %CD%\bin
    

    and the process exit with this error message:

    ERROR: Feature "debug": Forcing to "ON" breaks its condition:
        CMAKE_BUILD_TYPE STREQUAL Debug OR Debug IN_LIST CMAKE_CONFIGURATION_TYPES
    Condition values dump:
        CMAKE_BUILD_TYPE = "Release"
        Debug = ""
        CMAKE_CONFIGURATION_TYPES = ""
    
    
    CMake Error at cmake/QtBuildInformation.cmake:92 (message):
      Check the configuration messages for an error that has occurred.
    Call Stack (most recent call first):
      cmake/QtBuildInformation.cmake:11 (qt_configure_print_summary)
      cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:489 (qt_print_feature_summary)
      CMakeLists.txt:193 (qt_build_repo_end)
    
    
    -- Configuring incomplete, errors occurred!
    See also "C:/dev/Qt/qt-everywhere-src-6.3.0/qtbase/CMakeFiles/CMakeOutput.log".
    See also "C:/dev/Qt/qt-everywhere-src-6.3.0/qtbase/CMakeFiles/CMakeError.log".
    CMake Error at cmake/QtProcessConfigureArgs.cmake:963 (message):
      CMake exited with code 1.
    

    Can someone tell me where I wrong?

    I use:
    Windows10 64 bit
    cmake version 3.21.1
    ninja version 1.10.2
    perl v5.32.1 built for MSWin32-x64-multi-thread
    Python 3.9.5

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you start that new build from a clean state ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      RenioR 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        Did you start that new build from a clean state ?

        RenioR Offline
        RenioR Offline
        Renio
        wrote on last edited by Renio
        #3

        Hi @SGaist,
        if I try to build starting with a clean state with this command

        configure -release -shared
        

        I obtain an another error:

        ninja: error: FindFirstFileExA(//program files (x86)/windows kits/10/include/10.0.19041.0/um): Impossibile trovare il percorso di rete.
        

        I don't know why

        1 Reply Last reply
        0
        • RenioR Offline
          RenioR Offline
          Renio
          wrote on last edited by
          #4

          soved in simple manner:

          configure -release
          

          work fine!

          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