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

Unable to automatically detect .exe when a new project is created in an empty folder

XMLWordPrintable

    • Windows

      When a new project is created in an empty folder with CMake as Build system, running the application shows Custom Executable windows (custom-executable-file-window-en.png) because it cannot detect .exe file automatically.

      How to reproduce :

      1. Create an empty folder ( e.g. C:\empty)
      2. Open Qt Creator
      3. Create New project (e.g. test1 )

      • Choose the empty folder for "Create in :" in Project Location
      • Choose CMake as Build system
        4. Build - Run

      Expected behavior :
      Exe is detected automatically and application starts to run

      Actual behavior :
      Custom Executable window pops up

      This happens only when the folder is empty.
      So, if you keep the test1 in the folder and create another project (test2) with the same procedure, running test2 detects .exe automatically and Custom Executable window does not show up.

        1. custom-executable-file-window-en.png
          16 kB
          Nahomi Gröhn
        2. CMakeLists.txt
          1 kB
          Nahomi Gröhn
        3. QtCreator4-12-rc1.png
          222 kB
          Nahomi Gröhn
        4. QtCreator4-12-rc1-run-setting.png
          252 kB
          Nahomi Gröhn
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kkohne Kai Köhne
            nagrohn Nahomi Gröhn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes