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. Changing build directoy
Forum Updated to NodeBB v4.3 + New Features

Changing build directoy

Scheduled Pinned Locked Moved Solved General and Desktop
12 Posts 2 Posters 786 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.
  • M Offline
    M Offline
    micha_eleric
    wrote on last edited by
    #1

    I recently upgraded kubuntu, after the build files showed up in project folder, instead of creating a different folder, if folder did not already exist.

    Qt Creator looks the same.
    Where and how to set build directory?

    SGaistS 1 Reply Last reply
    0
    • M Offline
      M Offline
      micha_eleric
      wrote on last edited by
      #11

      solved by checking shadow box under Projects tab, left side of Qt Creator, and replaced default directory with
      ../%{JS: Util.asciify("build-%{Project:Name}-%{Kit:FileSystemName}-%{BuildConfig:Name}")}

      1 Reply Last reply
      0
      • M micha_eleric

        I recently upgraded kubuntu, after the build files showed up in project folder, instead of creating a different folder, if folder did not already exist.

        Qt Creator looks the same.
        Where and how to set build directory?

        SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi,

        One thing you can check is the Default Build Properties in the Build and Run part of the preferences.

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

        M 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          One thing you can check is the Default Build Properties in the Build and Run part of the preferences.

          M Offline
          M Offline
          micha_eleric
          wrote on last edited by
          #3

          @SGaist said in Changing build directoy:

          Hi,

          One thing you can check is the Default Build Properties in the Build and Run part of the preferences.

          first place I looked, and keep going back to.
          also keep looking at .pro file

          SGaistS 1 Reply Last reply
          0
          • M micha_eleric

            @SGaist said in Changing build directoy:

            Hi,

            One thing you can check is the Default Build Properties in the Build and Run part of the preferences.

            first place I looked, and keep going back to.
            also keep looking at .pro file

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #4

            Which version of Qt Creator are you using ?

            One other thing you could do is move the .pro.user out of your sources so you can reconfigure the project when opening with Qt Creator to see if things go back to normal.

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

            M 1 Reply Last reply
            0
            • SGaistS SGaist

              Which version of Qt Creator are you using ?

              One other thing you could do is move the .pro.user out of your sources so you can reconfigure the project when opening with Qt Creator to see if things go back to normal.

              M Offline
              M Offline
              micha_eleric
              wrote on last edited by
              #5

              @SGaist said in Changing build directoy:

              Which version of Qt Creator are you using ?

              One other thing you could do is move the .pro.user out of your sources so you can reconfigure the project when opening with Qt Creator to see if things go back to normal.

              Qt Creator 6.0.2

              deleting '.pro.user' xhanged nothing

              1 Reply Last reply
              0
              • M Offline
                M Offline
                micha_eleric
                wrote on last edited by
                #6

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

                but does not make it anywhere

                SGaistS 1 Reply Last reply
                0
                • M micha_eleric

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

                  but does not make it anywhere

                  SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #7

                  @micha_eleric 6.0.2 is quite outdated, you might want to consider getting a more recent version.

                  That said, if I remember correctly, in these old versions there was a checkbox somewhere that allowed to choose whether you wanted to do an out of source build. Did you find it ?

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

                  M 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    @micha_eleric 6.0.2 is quite outdated, you might want to consider getting a more recent version.

                    That said, if I remember correctly, in these old versions there was a checkbox somewhere that allowed to choose whether you wanted to do an out of source build. Did you find it ?

                    M Offline
                    M Offline
                    micha_eleric
                    wrote on last edited by micha_eleric
                    #8

                    @SGaist said in Changing build directoy:

                    @micha_eleric 6.0.2 is quite outdated, you might want to consider getting a more recent version.

                    That said, if I remember correctly, in these old versions there was a checkbox somewhere that allowed to choose whether you wanted to do an out of source build. Did you find it ?

                    lol, no, I have looked, and relooked, and scream looked.
                    I will look again

                    yep, not under build & run

                    SGaistS 1 Reply Last reply
                    0
                    • M micha_eleric

                      @SGaist said in Changing build directoy:

                      @micha_eleric 6.0.2 is quite outdated, you might want to consider getting a more recent version.

                      That said, if I remember correctly, in these old versions there was a checkbox somewhere that allowed to choose whether you wanted to do an out of source build. Did you find it ?

                      lol, no, I have looked, and relooked, and scream looked.
                      I will look again

                      yep, not under build & run

                      SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #9

                      I don't have that version at hand but I don't think it has moved that much.

                      Go to the Projects panel and check the build settings. There should be somewhere a "Shadow build" checkbox. This one should be checked by default but it maybe it was changed for some reasons.

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

                      M 2 Replies Last reply
                      0
                      • SGaistS SGaist

                        I don't have that version at hand but I don't think it has moved that much.

                        Go to the Projects panel and check the build settings. There should be somewhere a "Shadow build" checkbox. This one should be checked by default but it maybe it was changed for some reasons.

                        M Offline
                        M Offline
                        micha_eleric
                        wrote on last edited by micha_eleric
                        #10

                        @SGaist said in Changing build directoy:

                        I don't have that version at hand but I don't think it has moved that much.

                        Go to the Projects panel and check the build settings. There should be somewhere a "Shadow build" checkbox. This one should be checked by default but it maybe it was changed for some reasons.

                        I have read about shadow build, but have not seen it.


                        I found shadow build under projects tab on left side of Qt Creator, it makes separate directory, but does not use '../%{JS: Util.asciify("build-%{Project:Name}-%{Kit:FileSystemName}-%{BuildConfig:Name}")}'

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          micha_eleric
                          wrote on last edited by
                          #11

                          solved by checking shadow box under Projects tab, left side of Qt Creator, and replaced default directory with
                          ../%{JS: Util.asciify("build-%{Project:Name}-%{Kit:FileSystemName}-%{BuildConfig:Name}")}

                          1 Reply Last reply
                          0
                          • M micha_eleric has marked this topic as solved on
                          • SGaistS SGaist

                            I don't have that version at hand but I don't think it has moved that much.

                            Go to the Projects panel and check the build settings. There should be somewhere a "Shadow build" checkbox. This one should be checked by default but it maybe it was changed for some reasons.

                            M Offline
                            M Offline
                            micha_eleric
                            wrote on last edited by
                            #12

                            @SGaist thank you for your help

                            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