Qt debug

James Linder jam at tigger.ws
Wed May 23 19:58:12 PDT 2012


Hi
If anyone can save me ages of hunting I'd appreciate it lots:

I built Qt [port install qt4-mac-devel]

I then built my application which fails with:

...
/usr/bin/g++-4.2 -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.6 -o vtext.app/Contents/MacOS/vtext obj/main.o obj/myxml.o obj/TextOverlay.o obj/moc_TextOverlay.o     -L../serial/lib -lqextserialport -L/opt/local/lib -lQtXml_debug -lQtGui_debug -lQtCore_debug 
ld: library not found for -lQtXml_debug
collect2: ld returned 1 exit status
make: *** [vtext.app/Contents/MacOS/vtext] Error 1

If I then by hand run the link command without the _debug suffixs then all works perfectly.

Where does the macports install of QT store the debug directive?
nothing in my file.pro mentions debug.

Thanks
James


More information about the macports-users mailing list