Results 1 to 5 of 5

Thread: XCode and Plugins - DESTDIR

  1. #1
    Join Date
    Jul 2007
    Location
    New York
    Posts
    45
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default XCode and Plugins - DESTDIR

    When I build plugins in XCode, it seems to ignore the DESTDIR in the .pro .

    I cannot seem to find out how to get the compiler to copy the .a file to the DESTDIR (although it does create the path). This is annoying because the plugin must be copied to the app folder that reads the plugin every time I make a change.

    I think it's because every time I compile the target, it creates the .a file in build/Release or build/Debug, so it's not in the same dir as the .pro which causes it to not exist when the compiler tries to copy to DESTDIR.

    Any ideas?

  2. #2
    Join Date
    Feb 2007
    Posts
    27
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: XCode and Plugins - DESTDIR

    DESTDIR is completely broken for Xcode builds with Qt 4.3. It's been fixed in 4.3.1.

  3. The following user says thank you to sdfisher for this useful post:

    themolecule (12th August 2007)

  4. #3
    Join Date
    Jul 2007
    Location
    New York
    Posts
    45
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: XCode and Plugins - DESTDIR

    I tried it today and 4.3.1 doesn't see to have fixed the problem. Is there a setting in XCode?

  5. #4
    Join Date
    Feb 2007
    Posts
    27
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: XCode and Plugins - DESTDIR

    Sorry, I was told 4.3.1 but TrollTech didn't actually deliver it until 4.3.2.

    I've worked around the issue, so I can't tell you if it's actually fixed.

  6. #5
    Join Date
    Jul 2007
    Location
    New York
    Posts
    45
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: XCode and Plugins - DESTDIR

    didn't realize 4.3.2 was released last week...

    Thanks!

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.