[Qt-interest] problem after using qt3to4
Scott Aron Bloom
Scott.Bloom at sabgroup.com
Mon Jan 26 17:38:54 CET 2009
________________________________________
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Mahmood Naderan
Sent: 2009-01-26 08:00
To: qt-interest at trolltech.com
Subject: [Qt-interest] problem after using qt3to4
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
More information about the Qt-interest-old
mailing list