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

"Build All Projects for All Configurations" doesn't work for cmake projects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 4.14.0-beta2
    • linux / fedora

    Description

      Steps to reproduce:

      New File or Project | Application (Qt) | Qt Widgets Application, on "Build System" page I choose cmake, on Kits page I select qt 5.15 and qt 6 (the rest of wizard pages I accept the defaults). Then I do "Build All Projects for All Configurations" and I'm getting:

      11:44:24: Configuration is faulty. Check the Issues view for details.
      Error while building/deploying project untitled17 (kit: Qt 5.15.0 (qt-515-build))
      When executing step "CMake Build"

      The issues page shows: :-1: error: The build configuration is currently disabled.

      However, if I do "Build All Projects" everything builds fine. If I switch the active build configuration to use qt 6, "Build All Projects" also works fine.

      Please note, that if I generate the project for "qmake" (instead of cmake), "Build All Projects for All Configurations" works fine.

      Attachments

        Activity

          People

            con Eike Ziller
            jkobus Jarek Kobus
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: