Mailinglist Archive: opensuse (4398 mails)
| < Previous | Next > |
Re: [opensuse] Qt4 - opensuse 10.0 beta4 compile errors
- From: Adrian Schroeter <adrian@xxxxxxx>
- Date: Thu, 8 Sep 2005 15:21:45 +0200
- Message-id: <200509081521.46363.adrian@xxxxxxx>
On Thursday 08 September 2005 13:03, meister@xxxxxxxxxx wrote:
> Am Donnerstag, 8. September 2005 03:00 schrieb Tom Bruno:
> > This program that I had written compiles fine in other distro's with
> > qt4 installed. However, I get the following errors:
>
> Hi,
>
> > qmake -project (works fine)
> > qmake (works fine)
> > make (gives this output):
> >
> >
> > g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT
> > -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_QT3SUPPORT_LIB
> > -DQT3_SUPPORT -DQT_SHARED -I/usr/share/qt/mkspecs/default -I.
> > -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore
> > -I/usr/include -I. -I../libs -I"`pg_config --includedir`"
> > -I"/usr/include/pqxx" -I. -I. -o patientselect.o patientselect.cpp
> > patientselect.cpp: In member function ‘void
> > PatientSelect::updateTable()’: patientselect.cpp:183: error: ‘class
> > QString’ has no member named ‘toStdString’
>
> you use qt3-compat and therefore it picks up the QString of qt3. But in
> qt3 there is no QString::toStdString(). Try to deinstall
> "qt-qt3support". Hope it helps...
> BTW: How do you manage "uic: File generated with too old version of Qt
> Designer" ? Recreating all Forms can not be the only solution (I hope).
use uic3 instead of uic.
--
Adrian Schroeter
SuSE AG, Maxfeldstr. 5, 90409 Nuernberg, Germany
email: adrian@xxxxxxx
> Am Donnerstag, 8. September 2005 03:00 schrieb Tom Bruno:
> > This program that I had written compiles fine in other distro's with
> > qt4 installed. However, I get the following errors:
>
> Hi,
>
> > qmake -project (works fine)
> > qmake (works fine)
> > make (gives this output):
> >
> >
> > g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT
> > -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_QT3SUPPORT_LIB
> > -DQT3_SUPPORT -DQT_SHARED -I/usr/share/qt/mkspecs/default -I.
> > -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore
> > -I/usr/include -I. -I../libs -I"`pg_config --includedir`"
> > -I"/usr/include/pqxx" -I. -I. -o patientselect.o patientselect.cpp
> > patientselect.cpp: In member function ‘void
> > PatientSelect::updateTable()’: patientselect.cpp:183: error: ‘class
> > QString’ has no member named ‘toStdString’
>
> you use qt3-compat and therefore it picks up the QString of qt3. But in
> qt3 there is no QString::toStdString(). Try to deinstall
> "qt-qt3support". Hope it helps...
> BTW: How do you manage "uic: File generated with too old version of Qt
> Designer" ? Recreating all Forms can not be the only solution (I hope).
use uic3 instead of uic.
--
Adrian Schroeter
SuSE AG, Maxfeldstr. 5, 90409 Nuernberg, Germany
email: adrian@xxxxxxx
| < Previous | Next > |