Results 1 to 4 of 4

Thread: Placing the executable in the current directory, rather than /release?

  1. #1
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Placing the executable in the current directory, rather than /release?

    For Windows, is there some way to change the .pro file to have 'make' place the executable in the current directory rather than a /debug or /release directory?

  2. #2
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Placing the executable in the current directory, rather than /release?

    in pro-file you need to add:
    DESTDIR = path/to/needed/dir
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  3. #3
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Placing the executable in the current directory, rather than /release?

    Thank you, DESTDIR = ./ worked.

    Although the main.o file is still placed in the /release directory. Is the creation of the release and debug directories, and placing of main.o in the release directory, something that can't be changed?

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Placing the executable in the current directory, rather than /release?

    See qmake manual: OBJECTS_DIR.
    J-P Nurmi

Similar Threads

  1. install help nedded.
    By aj2903 in forum Installation and Deployment
    Replies: 9
    Last Post: 13th November 2008, 07:57
  2. Distributing QT application for Mac OS
    By mb0 in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2007, 18:59
  3. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  4. Replies: 15
    Last Post: 21st April 2007, 17:46

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.