Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. Qt Contribution
  4. trying to build release build of Qt from repository

trying to build release build of Qt from repository

Scheduled Pinned Locked Moved Unsolved Qt Contribution
4 Posts 2 Posters 299 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.
  • PerdrixP Offline
    PerdrixP Offline
    Perdrix
    wrote on last edited by
    #1

    I get:

    1> [CMake] -- Configuring submodule 'qtbase'
    1> [CMake] -- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release'
    1> [CMake] CMake Error at qtbase/cmake/QtBuildInformation.cmake:554 (message):
    1> [CMake]   Feature "debug": Forcing to "ON" breaks its condition:
    1> [CMake] 
    1> [CMake]       CMAKE_BUILD_TYPE STREQUAL Debug OR Debug IN_LIST CMAKE_CONFIGURATION_TYPES
    1> [CMake] 
    1> [CMake]   Condition values dump:
    1> [CMake] 
    1> [CMake]       CMAKE_BUILD_TYPE = "Release"
    1> [CMake]       Debug = ""
    1> [CMake]       CMAKE_CONFIGURATION_TYPES = ""
    

    What am I doing wrong?

    1 Reply Last reply
    0
    • Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by
      #2

      Which configure arguments are you using? And which Qt version.

      ...qt5/configure -release
      

      works for me with Qt 6.8.1

      Software Engineer
      The Qt Company, Oslo

      1 Reply Last reply
      0
      • PerdrixP Offline
        PerdrixP Offline
        Perdrix
        wrote on last edited by
        #3

        I'm using cmake not configure - I used git clone to pull the code from the dev branch of qt/qt5

        1 Reply Last reply
        0
        • Axel SpoerlA Offline
          Axel SpoerlA Offline
          Axel Spoerl
          Moderators
          wrote on last edited by
          #4

          Have you followed the steps described here?
          At the end of the day it doesn't matter how the project is configured, as long as you pass the right arguments and the build path is clean.
          I don't know which version of Qt you are building on which operating system, but it looks like the build tree has been configured before with some flags that force it into a debug build.

          Software Engineer
          The Qt Company, Oslo

          1 Reply Last reply
          1

          • Login

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