Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-30129

CMake: Allow individual projects to switch default build configuration to 'Release'

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • None

    Description

      It would be helpful if some Qt examples would be configured with 'Release' build configuration by default.

      Use case

      We have some Qt application examples that are heavy on visuals and animations. They work fine for Release builds, but are rather sluggish for Debug builds. To leave a good 'first' impression, it would be therefore benefical if such examples would be build as Release by default if opened in Qt Creator.

      Implementation Ideas

      Could this be done by shipping CMake Presets by setting a CMAKE_BUILD_TYPE? THe issue is that we can't hard-code the exact Qt version / name though ...

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cadam Cristian Adam
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes