Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Builds folders are generated at the same directory level as the project's source folder
Forum Updated to NodeBB v4.3 + New Features

Builds folders are generated at the same directory level as the project's source folder

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 220 Views 1 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.
  • Pete CarterP Offline
    Pete CarterP Offline
    Pete Carter
    wrote on last edited by
    #1

    My project is in:
    /home/user0/Projects/cpp/beginning-cpp-0

    When i build the project, the builds folders are generated in the same directory as the project's folder, which is:
    /home/user0/Projects/cpp/

    Now cpp/ contains:
    beginning-cpp-0/
    and
    build-beginning-cpp-0-Desktop_Qt_6_5_2_GCC_64bit-Debug/
    and
    build-beginning-cpp-0-Desktop_Qt_6_5_2_GCC_64bit-Release/

    Why are the builds folders generated at the same directory level as the project's source folder ?

    How to change the builds folders destination to be inside the project's folder, inside beginning-cpp-0 ?

    cristian-adamC 1 Reply Last reply
    0
    • Pete CarterP Pete Carter

      My project is in:
      /home/user0/Projects/cpp/beginning-cpp-0

      When i build the project, the builds folders are generated in the same directory as the project's folder, which is:
      /home/user0/Projects/cpp/

      Now cpp/ contains:
      beginning-cpp-0/
      and
      build-beginning-cpp-0-Desktop_Qt_6_5_2_GCC_64bit-Debug/
      and
      build-beginning-cpp-0-Desktop_Qt_6_5_2_GCC_64bit-Release/

      Why are the builds folders generated at the same directory level as the project's source folder ?

      How to change the builds folders destination to be inside the project's folder, inside beginning-cpp-0 ?

      cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote on last edited by
      #2

      The default setting for Default build directory in Build & Run settings is:

      ../%{JS: Util.asciify("build-%{Project:Name}-%{Kit:FileSystemName}-%{BuildConfig:Name}")}
      

      Change the ../ to ./ and you'll get the build directory in the source directory.

      Pete CarterP 1 Reply Last reply
      2
      • cristian-adamC cristian-adam

        The default setting for Default build directory in Build & Run settings is:

        ../%{JS: Util.asciify("build-%{Project:Name}-%{Kit:FileSystemName}-%{BuildConfig:Name}")}
        

        Change the ../ to ./ and you'll get the build directory in the source directory.

        Pete CarterP Offline
        Pete CarterP Offline
        Pete Carter
        wrote on last edited by
        #3

        @cristian-adam Thanks a lot

        1 Reply Last reply
        1
        • Pete CarterP Pete Carter has marked this topic as solved on

        • Login

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