Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. compiled executable not found
Forum Updated to NodeBB v4.3 + New Features

compiled executable not found

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 1.8k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Radim
    wrote on last edited by
    #1

    Hi,

    I have two build configurations: debug and release. I disabled and reenabled shadow build and configured the build directories to be <project root>\debug and <project root>\release.
    Now the compiled executable moved from <project root>\debug\debug to <project root>\debug but Qt Creator still looks into the <project root>\debug\debug directory for executable. In the Projects -> Run settings I cannot change where the executable is located.

    • How to tell the Qt Creator, where the exe is located?
    • Do I need the shadow build for debug/release configurations only? I need to switch between debug and release.
    • How the Qt Creator remembers the project settings, for example the kit? If I would like to start just with my .pro file from scratch, where can I delete the project settings?

    Thanks for answers.

    JKSHJ 1 Reply Last reply
    0
    • R Radim

      Hi,

      I have two build configurations: debug and release. I disabled and reenabled shadow build and configured the build directories to be <project root>\debug and <project root>\release.
      Now the compiled executable moved from <project root>\debug\debug to <project root>\debug but Qt Creator still looks into the <project root>\debug\debug directory for executable. In the Projects -> Run settings I cannot change where the executable is located.

      • How to tell the Qt Creator, where the exe is located?
      • Do I need the shadow build for debug/release configurations only? I need to switch between debug and release.
      • How the Qt Creator remembers the project settings, for example the kit? If I would like to start just with my .pro file from scratch, where can I delete the project settings?

      Thanks for answers.

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      @Radim said:

      • How to tell the Qt Creator, where the exe is located?

      Click Projects (on the left) -> Run -> Run Configuration

      • Do I need the shadow build for debug/release configurations only? I need to switch between debug and release.

      I'm not sure what you mean.

      • How the Qt Creator remembers the project settings, for example the kit? If I would like to start just with my .pro file from scratch, where can I delete the project settings?

      Qt Creator generates a *.pro.user file in the same folder as your *.pro file. Delete the *.pro.user file to erase your settings.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      R 1 Reply Last reply
      0
      • JKSHJ JKSH

        Hi,

        @Radim said:

        • How to tell the Qt Creator, where the exe is located?

        Click Projects (on the left) -> Run -> Run Configuration

        • Do I need the shadow build for debug/release configurations only? I need to switch between debug and release.

        I'm not sure what you mean.

        • How the Qt Creator remembers the project settings, for example the kit? If I would like to start just with my .pro file from scratch, where can I delete the project settings?

        Qt Creator generates a *.pro.user file in the same folder as your *.pro file. Delete the *.pro.user file to erase your settings.

        R Offline
        R Offline
        Radim
        wrote on last edited by
        #3

        @JKSH Thanks.

        Click Projects (on the left) -> Run -> Run Configuration

        I can not edit the executable here, it is not editable field.

        I'm not sure what you mean.

        I just want to know, if there is any disadvantage, if I disable the shadow build and switch between debug and release. For example if I need always to run qmake.

        Qt Creator generates a *.pro.user file in the same folder as your *.pro file. Delete the *.pro.user file to erase your settings.

        Interestingly if I deleted the .pro.user, the Qt Creator still reopened the project with the same Kit. So I assume it must remember the settings somewhere else.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          If you disable shadow build, you'll build in your sources. Better avoid that.

          When switching from debug to release, Qt Creator handles the run of qmake for you.

          Did you delete the .pro.user file while Qt Creator was still running ? If so, it was written again when quitting Qt Creator.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            @Radim said:

            I can not edit the executable here, it is not editable field.

            Click "Add" -> "Custom Executable".

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved