[Qt-interest] problem after using qt3to4

Scott Aron Bloom Scott.Bloom at sabgroup.com
Tue Jan 27 09:44:44 CET 2009


> 
> Hi,
> I use qt3to4 to change my cpp file for new version. In the previous
> version I had:
> class myClass : public QMainWindow
> 
> Then, qt3to4 changed that to:
> class myClass : public Q3MainWindow
> 
> without any modification when I compile it, I get some errors. The first
> and most important one is:
> error C2504: 'Q3MainWindow' : base class undefined.
> 
> Why qt3to4 did not modify it correctly?
> 
> ---------------------
> Mahmood Naderan
> 
> [Scott Aron Bloom]
> Did you re-run qmake?
> 
> Check to make sure your project file has QT3 support turned on.
> 
> Did you include <Q3MainWindow>
> 
> Scott
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
[Scott Aron Bloom] 

Um... you didn't get this email?




More information about the Qt-interest-old mailing list