View Full Version : XCode and Plugins - DESTDIR

12th August 2007, 08:25
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?

12th August 2007, 09:27
DESTDIR is completely broken for Xcode builds with Qt 4.3. It's been fixed in 4.3.1.

13th August 2007, 07:54
I tried it today and 4.3.1 doesn't see to have fixed the problem. Is there a setting in XCode?

9th October 2007, 20:38
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.

9th October 2007, 20:52
didn't realize 4.3.2 was released last week...