Re: Locating/Linking against Qt

2005-08-28 Thread Ralf Wildenhues
Hi Brian, Tommy, I haven't been following this thread closely, but this code snippet below needs more quoting to be safe: * Brian wrote on Sun, Aug 28, 2005 at 05:34:57AM CEST: dnl Check for AWT related Qt4 if test x${COMPILE_QT_PEER} = xyes; then PKG_CHECK_MODULES(QT, QtGui = 4.0.1)

Re: Locating/Linking against Qt

2005-08-28 Thread Stepan Kasal
Hello, On Sat, Aug 27, 2005 at 09:40:18PM -0600, Brian wrote: Whoops, didn't read that very closely. PKG_CHECK_MODULES clearly. I don't see this documented in the Autoconf/Automake manuals... PKG_CHECK_MODULES comes with pkg-config, not Autoconf, in file pkg.m4. $PKG_CONFIG is in fact

Re: Locating/Linking against Qt

2005-08-28 Thread Dalibor Topic
Brian wrote: I believe this to be the relevant code from [1]. I am unclear as to where $PKG_CONFIG comes from. It's not an environment variable and not set by configure. [2] is the AutoQt macro for Qt 1-3. Yep, that's the bit. pkg-config comes from PKG_CHECK_MODULES, which in turn invokes

Re: Locating/Linking against Qt

2005-08-28 Thread Brian
Dalibor, thanks for this excellent explanation. I'm sure myself and others will refer to it again and again. Cheers, Brian Mingus On 8/28/05, Dalibor Topic [EMAIL PROTECTED] wrote: Brian wrote: I believe this to be the relevant code from [1]. I am unclear as to where $PKG_CONFIG comes

Re: Locating/Linking against Qt

2005-08-28 Thread Dalibor Topic
Brian wrote: Dalibor, thanks for this excellent explanation. I'm sure myself and others will refer to it again and again. Mind you, this is what works for *me*, and in some form or the other may have worked for others on OS X, as well. I have not tried it there myself yet, so YMMV ;) But it

Locating/Linking against Qt

2005-08-27 Thread Tommy Nordgren
Do anyone have an autoconf macro to check for Qt 4.0.0 or later from TrollTech, and link aginst the Qt libraries. There is a macro BNV_HAVE_QT at the autoconf macro archive site, but it is completly broken, since it have no support for Mac OS X Frameworks,

Re: Locating/Linking against Qt

2005-08-27 Thread Dalibor Topic
Tommy Nordgren wrote: Do anyone have an autoconf macro to check for Qt 4.0.0 or later from TrollTech, and link aginst the Qt libraries. There is a macro BNV_HAVE_QT at the autoconf macro archive site, but it is completly broken, since it have no support for Mac OS X Frameworks, You can

Re: Locating/Linking against Qt

2005-08-27 Thread Brian
I believe this to be the relevant code from [1]. I am unclear as to where $PKG_CONFIG comes from. It's not an environment variable and not set by configure. [2] is the AutoQt macro for Qt 1-3. dnl Check for AWT related Qt4 if test x${COMPILE_QT_PEER} = xyes; then PKG_CHECK_MODULES(QT,

Re: Locating/Linking against Qt

2005-08-27 Thread Brian
Whoops, didn't read that very closely. PKG_CHECK_MODULES clearly. I don't see this documented in the Autoconf/Automake manuals... On 8/27/05, Brian [EMAIL PROTECTED] wrote: I believe this to be the relevant code from [1]. I am unclear as to where $PKG_CONFIG comes from. It's not an