Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Cannot change build directory!
Forum Updated to NodeBB v4.3 + New Features

Cannot change build directory!

Scheduled Pinned Locked Moved Solved Installation and Deployment
11 Posts 4 Posters 6.0k Views 2 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi and welcome to devnet,

    Did you enable shadow build when configuring your project the first time ?

    Also what version of Qt/Qt Creator/OS are you running ?

    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
    0
    • B Offline
      B Offline
      Bulloney
      wrote on last edited by
      #3

      Qt Creator 5.2.1
      Qt 3.0.1
      Windows 7

      MSVC 10

      And not sure about shadow building. Not even sure what it is. How do I check if it is enabled?

      From StackOverflow:

      Shadow building is a technique used to build different Qt builds of the same version for different platforms/compilers/etc. Your compiled build is in a different directory, separate from the original Qt source directory.

      I've created a shadow build for my MSVS2010 compiler. If I wanted to, I could create a new build for MinGW in a different build directory.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Bulloney
        wrote on last edited by
        #4

        I should mention that nothing is created in the directory I specified. It is completely untouched and the build files are generated in the location I do not want them at.

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

          It should be enabled by default when first configuring your project.

          In the Project panel, Build Settings under General you should have a checkbox with that option.

          Shadow building is exactly what you want "outside the source build".

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

          SwatiS 1 Reply Last reply
          1
          • B Offline
            B Offline
            Bulloney
            wrote on last edited by
            #6

            That did it! Thanks so much!

            1 Reply Last reply
            1
            • SGaistS SGaist

              It should be enabled by default when first configuring your project.

              In the Project panel, Build Settings under General you should have a checkbox with that option.

              Shadow building is exactly what you want "outside the source build".

              SwatiS Offline
              SwatiS Offline
              Swati
              wrote on last edited by
              #7

              @SGaist I use Qt Creator 5.6.0 on KUbuntu 16.04. I'm facing the same problem. Can you tell me which option should have checkbox in Tools->Options->Build&Run-> General ?

              ? 1 Reply Last reply
              1
              • SwatiS Swati

                @SGaist I use Qt Creator 5.6.0 on KUbuntu 16.04. I'm facing the same problem. Can you tell me which option should have checkbox in Tools->Options->Build&Run-> General ?

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #8

                @Swati Is it this what you're looking for?

                shadow build

                SwatiS 1 Reply Last reply
                1
                • ? A Former User

                  @Swati Is it this what you're looking for?

                  shadow build

                  SwatiS Offline
                  SwatiS Offline
                  Swati
                  wrote on last edited by
                  #9

                  @Wieland Yeah. Problem solved now.
                  Thank you so much! :)

                  ? 1 Reply Last reply
                  1
                  • SwatiS Swati

                    @Wieland Yeah. Problem solved now.
                    Thank you so much! :)

                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #10

                    @Swati Glad you solved it eventually! These little things can make one crazy :-)

                    SwatiS 1 Reply Last reply
                    1
                    • ? A Former User

                      @Swati Glad you solved it eventually! These little things can make one crazy :-)

                      SwatiS Offline
                      SwatiS Offline
                      Swati
                      wrote on last edited by
                      #11

                      @Wieland Yeah right! :D

                      1 Reply Last reply
                      1

                      • Login

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