qt4 - config/qt.m4

2006-05-31 Thread Lars Gullik Bjønnes
To be able to build out-of-the-bos on fc5 with the qt4 from extras I have to do something similar to: Index: qt.m4 === --- qt.m4 (revision 13974) +++ qt.m4 (working copy) @@ -443,6 +443,9 @@ dnl pay attention to

Re: qt4 - config/qt.m4

2006-05-31 Thread Kayvan A. Sylvan
On Wed, May 31, 2006 at 09:02:19PM +0200, Lars Gullik Bjønnes wrote: > > To be able to build out-of-the-bos on fc5 with the qt4 from extras I > have to do something similar to: > > Index: qt.m4 > === > --- qt.m4 (revision 13974

Re: qt4 - config/qt.m4

2006-05-31 Thread Lars Gullik Bjønnes
"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: | On Wed, May 31, 2006 at 09:02:19PM +0200, Lars Gullik Bjønnes wrote: | > | > To be able to build out-of-the-bos on fc5 with the qt4 from extras I | > have to do something similar to: | > | > Index: qt.m4 | > ===

Re: qt4 - config/qt.m4

2006-05-31 Thread Georg Baum
Am Mittwoch, 31. Mai 2006 21:02 schrieb Lars Gullik Bjønnes: > > To be able to build out-of-the-bos on fc5 with the qt4 from extras I > have to do something similar to: Yep, the qt4 config stuff is not 100% foolproof yet. > Index: qt.m4 > =

Re: qt4 - config/qt.m4

2006-05-31 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Am Mittwoch, 31. Mai 2006 21:02 schrieb Lars Gullik Bjønnes: | > | > To be able to build out-of-the-bos on fc5 with the qt4 from extras I | > have to do something similar to: | | Yep, the qt4 config stuff is not 100% foolproof yet. | | > Index: qt.m4 |

Re: qt4 - config/qt.m4

2006-06-01 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> I'd rather like the attached, since there does not seem to be Georg> an agreement between distros where to put qt4. Are there distros that set QT4DIR? Should we really try to search by ourselves? Using pkg-config would be nice, but t

Re: qt4 - config/qt.m4

2006-06-01 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: | | Georg> I'd rather like the attached, since there does not seem to be | Georg> an agreement between distros where to put qt4. | | Are there distros that set QT4DIR? Should we really try

Re: qt4 - config/qt.m4

2006-06-01 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> pgk-config wouldn't be the only thing to use, only if it is Lars> present and if it handles the QtCore and QtGui packages. Lars> else we fall back to dir search, env search and command line Lars> options. And can we rely on ha

Re: qt4 - config/qt.m4

2006-06-01 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> pgk-config wouldn't be the only thing to use, only if it is | Lars> present and if it handles the QtCore and QtGui packages. | | Lars> else we fall back to dir search, env

Re: qt4 - config/qt.m4

2006-06-01 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> As another way of getting the info you mean? Yes. And a way that could hopefully work on all platforms supported by qt. How does the file look like on your system? Is it present? JMarc

Re: qt4 - config/qt.m4

2006-06-01 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> As another way of getting the info you mean? | | Yes. And a way that could hopefully work on all platforms supported by | qt. How does the file look like on your system? I

Re: qt4 - config/qt.m4

2006-06-01 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> As another way of getting the info you mean? Yes. And a way that could hopefully work on all platforms supported by qt. How does the file look like on your system? Is it present? On locally compiled Q

Re: qt4 - config/qt.m4

2006-06-01 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> No. It is not. Forget it then. How does qmake support work then? Doesn't it need this stuff? Hmm, I took a look at qmake documentation, and it seems there is no way to get the configuration from qmake itself. This is lame. J

Re: qt4 - config/qt.m4

2006-06-01 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> On locally compiled Qt4/MSVC2005 I have: Another solution would be to compile the qtX/ frontends with qmake! Would that magically work? JMarc

Re: qt4 - config/qt.m4

2006-06-01 Thread Peter Kümmel
Jean-Marc Lasgouttes wrote: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > > Lars> No. It is not. > > Forget it then. How does qmake support work then? Doesn't it need this > stuff? > > Hmm, I took a look at qmake documentation, and it seems there is no > way to get the conf

Re: qt4 - config/qt.m4

2006-06-01 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Forget it then. How does qmake support work then? Doesn't it need this > stuff? qmake has spec files for each platform that tell these things. The one I use for qt 4 here resides in /usr/share/qt/mkspecs/linux-g++/qmake.conf (the qt3 variant is in /usr/lib/qt3/mkspec

Re: qt4 - config/qt.m4

2006-06-01 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> On locally compiled Qt4/MSVC2005 I have: Another solution would be to compile the qtX/ frontends with qmake! Would that magically work? I guess it would but do you mean to rep

Re: qt4 - config/qt.m4

2006-06-01 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> I've not followed the thread but maybe this is what you are Peter> looking for: Peter> qmake -query QT_INSTALL_LIBS This is not described by qmake help, it would be too easy! I finally found it in my qt3.3 manual, but I can only u

Re: qt4 - config/qt.m4

2006-06-01 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I guess it would but do you mean to replace all Makefile.* Abdelrazak> with qmake files? Something like that. Note that I am not saying it is a good idea. I am just thinking aloud (and I am not going to do it :) JMar

Re: qt4 - config/qt.m4

2006-06-01 Thread Peter Kümmel
Jean-Marc Lasgouttes wrote: >> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: > > Peter> I've not followed the thread but maybe this is what you are > Peter> looking for: > > Peter> qmake -query QT_INSTALL_LIBS > > This is not described by qmake help, it would be too easy! I finally >

Re: qt4 - config/qt.m4

2006-06-01 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Abdelrazak" == Abdelrazak Younes >> <[EMAIL PROTECTED]> writes: > > Abdelrazak> I guess it would but do you mean to replace all Makefile.* > Abdelrazak> with qmake files? > > Something like that. Note that I am not saying it is a good idea. I am > just thi

Re: qt4 - config/qt.m4

2006-06-01 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> I've not followed the thread but maybe this is what you are Peter> looking for: Peter> qmake -query QT_INSTALL_LIBS This is not described by qmake help, it would be too easy! I finally found it in my qt3.

Re: qt4 - config/qt.m4

2006-06-01 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> 4.0 is deprected, use 4.1 instead: Abdelrazak> http://doc.trolltech.com/4.1/qmake-environment-reference.html Sure, but I do not see a reason to refer to 4.1 doc if 4.0 is the same :) Abdelrazak> It works with offici

Re: qt4 - config/qt.m4

2006-06-01 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> I think it would be possible, but not easier than tweaking Georg> qt.m4. Getting rid of AC_PATH_EXTRA (just keep it for xforms) would be nice... Georg> And I can understand Lars' desire to use configure without Georg> flags, but I d

Re: qt4 - config/qt.m4

2006-06-01 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> 4.0 is deprected, use 4.1 instead: Abdelrazak> http://doc.trolltech.com/4.1/qmake-environment-reference.html Sure, but I do not see a reason to refer to 4.1 doc if 4.0 is the same :) Indeed

Re: qt4 - config/qt.m4

2006-06-01 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I don't understand. On Unix, it should be this path plus: Abdelrazak> libQtCore.a libQtGui.a Abdelrazak> On Windows/Mingw, it is: libQtCore4.a libQtGui4.a Abdelrazak> On Windows/MSVC, it is: QtCore4.lib QtGui4.lib A

Re: qt4 - config/qt.m4

2006-06-01 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I don't understand. On Unix, it should be this path plus: Abdelrazak> libQtCore.a libQtGui.a Abdelrazak> On Windows/Mingw, it is: libQtCore4.a libQtGui4.a Abdelrazak> On Windows/

Re: qt4 - config/qt.m4

2006-06-01 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> A... you mean the windows api libraries. They are not Abdelrazak> distributed with Qt. They are part of mingw (w32api Abdelrazak> package IIRC). But do we have to explicitely link against them? JMarc

Re: qt4 - config/qt.m4

2006-06-01 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> A... you mean the windows api libraries. They are not Abdelrazak> distributed with Qt. They are part of mingw (w32api Abdelrazak> package IIRC). But do we have to explicitely link agains

Re: qt4 - config/qt.m4

2006-06-01 Thread Enrico Forestieri
On Thu, Jun 01, 2006 at 03:00:41PM +0200, Abdelrazak Younes wrote: > Jean-Marc Lasgouttes wrote: > >>"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > > >Abdelrazak> A... you mean the windows api libraries. They are not > >Abdelrazak> distributed with Qt. They are part of mi

Re: qt4 - config/qt.m4

2006-06-02 Thread Georg Baum
Am Donnerstag, 1. Juni 2006 12:10 schrieb Jean-Marc Lasgouttes: > > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: > > Georg> I think it would be possible, but not easier than tweaking > Georg> qt.m4. > > Getting rid of AC_PATH_EXTRA (just keep it for xforms) would be nice... That is not

Re: qt4 - config/qt.m4

2006-06-02 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Am Donnerstag, 1. Juni 2006 12:10 schrieb Jean-Marc Lasgouttes: | > > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: | > | > Georg> I think it would be possible, but not easier than tweaking | > Georg> qt.m4. | > | > Getting rid of AC_PATH_EXTRA (

Re: qt4 - config/qt.m4

2006-06-03 Thread Georg Baum
Am Freitag, 2. Juni 2006 23:05 schrieb Lars Gullik Bjønnes: > Georg Baum <[EMAIL PROTECTED]> writes: > | Lars, does it work for you? Can it go in? Did you try? > You are aware of the pgk.m4 packages? Yes. I used it in the patch. > It can be used for pkg-config queries. Is it usable for us? Wi