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

No way to specify REQUIRED CMake variables when first importing

XMLWordPrintable

      Say you have a CMake-based project where a couple CMake variables need to be filled in before CMake will be successful. For example, I have a project in which I can specify a specific path for it to find files it needs to use.

      In 4.2 (and older versions), I would go to File->"Open File or Project", select the CMakeLists.txt file and the project would "kind of" load. Of course CMake would fail because the variable(s) was marked as REQUIRED and had yet to be filled in. However, I could simply select "Projects" and I would see a screen like here: http://i.imgur.com/3ZvrilG.png

      This was great, I could fill out the variables as needed and then CMake would run successfully and all would be well with the world.

      However, ever since the 4.3 beta1, all I see is this: http://i.imgur.com/pljJLKf.png

      When this happens, the only way I've been able to get projects to load is by using an older version of Qt Creator.

      (As a side note, it would also be great if this CMake view had "..." buttons for paths and the columns were sizable.)

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

            hunger Tobias Hunger
            zethon Zethon Clarke
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes