Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Helge Hafting
Abdelrazak Younes wrote: Helge Hafting a écrit : --with-qt4-includes=/usr/include/qt4 This one is weird... You should use "--with-qt4-dir=/usr/lib/qt4" or something. And ake sure that the qt4 version of moc and uic are in your path before qt3 version. Ok, I'll use --with-qt4-dir on the

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Abdelrazak Younes
Helge Hafting a écrit : Abdelrazak Younes wrote: ../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui' ../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui' ../QDocumentDialog.h:95: error: template argument 1 is invalid OK, I see the problem, it is not related to gcc.

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Helge Hafting
Abdelrazak Younes wrote: Replying to myself because I forgot to put lyx-devel in copy. Abdelrazak Younes a écrit : Abdelrazak Younes a écrit : Helge Hafting a écrit : ../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui' ../QDocumentDialog.h:95: error: 'BiblioUi' is not a me

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Georg Baum
Angus Leeming wrote: > Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> ...make sure that the qt4 version of moc and uic are in your >> path before qt3 version. > > H. qt.m4 should definitely test that the moc and uic it finds are the > Qt4 versions. Yes, but for now it does not do so. It wi

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > ...make sure that the qt4 version of moc and uic are in your > path before qt3 version. H. qt.m4 should definitely test that the moc and uic it finds are the Qt4 versions. Angus

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Abdelrazak Younes
Helge Hafting a écrit : Abdelrazak Younes wrote: This config command works fine: svn up && ./autogen.sh && make distclean && ./configure --prefix=/usr/local --with-frontend=qt4 --with-gnu-ld --enable-optimization=-O2 --with-qt4-includes=/usr/include/qt4 This one is weird... You should us

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Abdelrazak Younes
Georg Baum a écrit : Helge Hafting wrote: It compiles fine for a while, then: /usr/bin/moc -o QDocumentDialog_moc.C ../QDocumentDialog.h This looks wrong. Indeed...

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Georg Baum
Helge Hafting wrote: > It compiles fine for a while, then: > > /usr/bin/moc -o QDocumentDialog_moc.C ../QDocumentDialog.h This looks wrong. Why does iot not pick up the qt4 moc? Do you have installed the qt4 devel tools? > g++-4.1 -DHAVE_CONFIG_H -I. -I. -I../../../../src -DQT_CLEAN_NAMESPACE

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Abdelrazak Younes
Replying to myself because I forgot to put lyx-devel in copy. Abdelrazak Younes a écrit : Abdelrazak Younes a écrit : Helge Hafting a écrit : ../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui' ../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui' ../QDocumentDialo