[Qt-interest] qmake INCLUDEPATH/LIBS and xcode project
Martin Hauner
martin.hauner at gmx.net
Thu May 21 19:31:00 CEST 2009
Hi,
i'm considering moving a handmade configure/Xcode/vcproj build to qmake. I have
created a dummy app in QTCreator (Creator 1.1.0, Qt 4.5.1 on MacOSX) to test it.
My app links to "external" libraries. I created an link_apr.prf and link_svn.prf
that try to find the headers & libs for apr and subversion and finally add them
to INCLUDEPATH and LIBS.
In the link_svn.prf file it goes liek this:
...
LIBS += $$SVN_LIBS
INCLUDEPATH += $$SVN_INCLUDES
my BuildTest.pro file contains:
CONFIG += link_apr link_svn
That works fine so far and i have a clean build. But i have an issue creating a
proper Xcode project.
I create the xcode project with:
qmake -spec macx-xcode BuildTest.pro
The problem is, that it does not build. It complains that it can't find my
external library headers (apr, svn). Which is correct because the include path
in the xcode project does not contain their include paths.
Is there something I'm missing? Why doesn't qmake add them to the xcode project?
--
Martin
Subcommander 2.0.0 Beta 4 - http://subcommander.tigris.org
a Win32/Unix/MacOSX subversion GUI client & diff/merge tool.
More information about the Qt-interest-old
mailing list