Re: cmake + Qt frameworks on OSX, using QT_INCLUDES

2007-10-06 Thread Andre Poenitz
On Sat, Oct 06, 2007 at 05:10:37PM +0200, Abdelrazak Younes wrote: > Abdelrazak Younes wrote: > >Stefan Schimanski wrote: > >>Hi! > >> > >>The cmake build system is broken for people using the framework > >>version of Qt on Mac. The following patch fixes this by using the > >>QT_INCLUDES variable

Re: cmake + Qt frameworks on OSX, using QT_INCLUDES

2007-10-06 Thread Andre Poenitz
On Sat, Oct 06, 2007 at 05:42:10PM +0200, Stefan Schimanski wrote: > >Erm, I would expect that "unqualified" Qt includes (i.e. vs > >) would not be foundthis way. > > > >Have you checked ti still compile on Windows or Linux after that > >change? > > Notice that I wrote QT_INCLUDES, not QT_INCLUDE

Re: cmake + Qt frameworks on OSX, using QT_INCLUDES

2007-10-06 Thread Stefan Schimanski
Erm, I would expect that "unqualified" Qt includes (i.e. vs ) would not be foundthis way. Have you checked ti still compile on Windows or Linux after that change? Notice that I wrote QT_INCLUDES, not QT_INCLUDE_DIR. The former is / usr/include/QtCore;/usr/include/QtGui;..., the latter is /usr

Re: cmake + Qt frameworks on OSX, using QT_INCLUDES

2007-10-06 Thread Andre Poenitz
On Sat, Oct 06, 2007 at 04:36:25PM +0200, Stefan Schimanski wrote: > Hi! > > The cmake build system is broken for people using the framework > version of Qt on Mac. The following patch fixes this by using the > QT_INCLUDES variables from the FindQt4 module of cmake. This should > always poin

Re: cmake + Qt frameworks on OSX, using QT_INCLUDES

2007-10-06 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Stefan Schimanski wrote: Hi! The cmake build system is broken for people using the framework version of Qt on Mac. The following patch fixes this by using the QT_INCLUDES variables from the FindQt4 module of cmake. This should always point to the include directories,

Re: cmake + Qt frameworks on OSX, using QT_INCLUDES

2007-10-06 Thread Abdelrazak Younes
Stefan Schimanski wrote: Hi! The cmake build system is broken for people using the framework version of Qt on Mac. The following patch fixes this by using the QT_INCLUDES variables from the FindQt4 module of cmake. This should always point to the include directories, no matter which kind of Q