Results 1 to 3 of 3

Thread: QtCreator, MacOS X and DESTDIR

  1. #1
    Join Date
    Dec 2009
    Location
    Kiev, Ukraine
    Posts
    16
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question QtCreator, MacOS X and DESTDIR

    Hi, all.

    im rather new to macos and something going wrong with my settings:

    on windows this works fine:

    Qt Code:
    1. Release:DESTDIR = release
    2. Release:OBJECTS_DIR = release/.obj
    3. Release:MOC_DIR = release/.moc
    4. Release:RCC_DIR = release/.rcc
    5. Release:UI_DIR = release/.ui
    6.  
    7. Debug:DESTDIR = debug
    8. Debug:OBJECTS_DIR = debug/.obj
    9. Debug:MOC_DIR = debug/.moc
    10. Debug:RCC_DIR = debug/.rcc
    11. Debug:UI_DIR = debug/.ui
    To copy to clipboard, switch view to plain text mode 

    but under mac it do not do anything and put all near .pro file and i tried this:

    Qt Code:
    1. Release:DESTDIR = ./release
    2. Release:OBJECTS_DIR = ./release/.obj
    3. Release:MOC_DIR = ./release/.moc
    4. Release:RCC_DIR = ./release/.rcc
    5. Release:UI_DIR = ./release/.ui
    6.  
    7. Debug:DESTDIR = ./debug
    8. Debug:OBJECTS_DIR = ./debug/.obj
    9. Debug:MOC_DIR = ./debug/.moc
    10. Debug:RCC_DIR = ./debug/.rcc
    11. Debug:UI_DIR = ./debug/.ui
    To copy to clipboard, switch view to plain text mode 

    also i tried to delete .user file to clear all settings but nothing changed

    help me please to solve it

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

    Default Re: QtCreator, MacOS X and DESTDIR

    The conditions are wrong. Use the following:

    CONFIG(debug, debug|release) {
    # This is debug
    }
    CONFIG(release, debug|release) {
    # This is release
    }

  3. #3
    Join Date
    Dec 2009
    Location
    Kiev, Ukraine
    Posts
    16
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: QtCreator, MacOS X and DESTDIR

    thanks it works

    but why my solution work on win...

Similar Threads

  1. Destdir
    By tiho_bg in forum General Programming
    Replies: 2
    Last Post: 29th March 2011, 17:02
  2. QtCreator 2.0 crashes application working in QtCreator 1.3
    By been_1990 in forum Qt Programming
    Replies: 2
    Last Post: 21st September 2010, 12:58
  3. qwt on MacOS QtCreator
    By d-l-sama@hotmail.com in forum Qwt
    Replies: 1
    Last Post: 30th May 2009, 06:36
  4. qmake DESTDIR permissions behavior (Unix)
    By wdezell in forum Qt Tools
    Replies: 3
    Last Post: 9th March 2009, 14:59
  5. XCode and Plugins - DESTDIR
    By themolecule in forum Qt Programming
    Replies: 4
    Last Post: 9th October 2007, 19:52

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.