Results 1 to 6 of 6

Thread: Why is Qt Creator 2.0.0-beta creating executables in a different folder?

  1. #1
    Join Date
    Jan 2009
    Posts
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Why is Qt Creator 2.0.0-beta creating executables in a different folder?

    I'm using Qt 4.7.0-beta1 and Qt Creator 2.0.0-beta under Linux and I noticed that Qt Creator is now creating executables in a totally new folder. For example, if I'm working with Qt Creator on a project located in "/qt/myprogram" then Qt Creator will create the new "myprogram" executable under "/qt/myprogram-build-desktop". I don't like this new feature and I just want the executable to be created under "qt/myprogram", like it used to do in the past.

    Any ideas on how to override this new behavior?

    Thanks!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Why is Qt Creator 2.0.0-beta creating executables in a different folder?

    To be honest I don't experience such behaviours.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jan 2009
    Posts
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Why is Qt Creator 2.0.0-beta creating executables in a different folder?

    I was able to determine that running Qt Creator creates a "myprogram.pro.user" file that includes a line like the following one:

    <value key="Qt4ProjectManager.Qt4BuildConfiguration.Build Directory" type="QString">/qt/myprogram-build-desktop</value>

    So, this is what's causing my problem, but how do I prevent Qt Creator from automatically putting a different directory in this BuildDirectory entry.

    Thanks!

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Why is Qt Creator 2.0.0-beta creating executables in a different folder?

    You need to disable shadow build. It can probably be set in Creator's preferences.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Jan 2009
    Posts
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Thumbs up Re: Why is Qt Creator 2.0.0-beta creating executables in a different folder?

    Thanks Wysota, it worked! I disabled the "Shadow Build" feature by unchecking the "Shadow Build" checkbox in Qt Creator and that solved my problem. To find this option you have to first click on the "Project" button located on the left vertical menu inside Qt Creator. The checkbox will then appear.

    Thanks!

  6. The following user says thank you to EB for this useful post:

    giowck (4th August 2010)

  7. #6
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Why is Qt Creator 2.0.0-beta creating executables in a different folder?

    Just for the record: This feature ("shadow builds") allows you to build mulitple configurations like Debug, Release, for a phone or the simulator etc. simultaneously and also makes cleaning build artifacts much more robust.

Similar Threads

  1. Replies: 3
    Last Post: 20th November 2009, 15:51
  2. Replies: 1
    Last Post: 24th October 2009, 15:11
  3. Replies: 1
    Last Post: 15th October 2009, 17:33
  4. QT Creator - Creating and Using LIBS
    By floyd.pepper in forum Newbie
    Replies: 7
    Last Post: 22nd July 2009, 21:46
  5. Default folder in Qt Creator
    By brunelch in forum Qt Tools
    Replies: 1
    Last Post: 16th July 2009, 17:07

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.