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

CMake is no longer run automatically after CMakeLists.txt is loaded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.13.0-beta2, Qt Creator 4.13.0-rc1
    • None
    • Linux/Wayland, Linux/X11, Windows

      If you open a CMakeLists.txt with QtCreator Beta2 and select your kits and configure the project, CMake is no longer run afterwards. And it looks like this:

      You then either have to manually run CMake via Build -> Run CMake or close the project and open it again.

      If you choose to run CMake manually, you can build the target that is selected at this moment (probably Debug). If you then switch to Release target, you cannot build, although it looks like you should be able to. Then you have to run CMake manually again to build Release.

      If you want to reproduce this, just create the simplest CMakeLists.txt with a "add_executable(test main.cpp)" and a main.cpp with some simple main() function.

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

            kandeler Christian Kandeler
            philippun Philipp Unger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes