$ qt3to4 oventimer.pro
Using rules file: /usr/local/Trolltech/Qt-4.0.1/q3porting.xml
Parsing..
Convert file /home/liusw/oventime/oventimer.cpp? (Y)es, (N)o, (A)ll a
Could not write to to file: /home/liusw/oventime/oventimer.cpp. Is it write protected?
Could not write to to file: /home/liusw/oventime/oventimer.h. Is it write protected?
Wrote to file: /home/liusw/oventime/oventimer.pro
Writing log to portinglog.txt
Overwrite file portinglog.txt? (Y)es, (N)o, (A)ll a
$ make
/usr/local/Trolltech/Qt-4.0.1/bin/qmake -unix -o Makefile oventimer.pro
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SHARED -I/usr/local/Trolltech/Qt-4.0.1/mkspecs/linux-g++ -I. -I/usr/local/Trolltech/Qt-4.0.1/include/Qt3Support -I/usr/local/Trolltech/Qt-4.0.1/include/QtGui -I/usr/local/Trolltech/Qt-4.0.1/include/QtCore -I/usr/local/Trolltech/Qt-4.0.1/include -I. -I. -I. -o oventimer.o oventimer.cpp
oventimer.cpp: In constructor `OvenTimer::OvenTimer(QWidget*, const char*)':
oventimer.cpp:17: error: `WNoAutoErase' undeclared (first use this function)
oventimer.cpp:17: error: (Each undeclared identifier is reported only once for
each function it appears in.)
oventimer.cpp: In member function `virtual void
OvenTimer::mousePressEvent(QMouseEvent*)':
oventimer.cpp:46: error: `pos' undeclared (first use this function)
oventimer.cpp: In member function `virtual void
OvenTimer::paintEvent(QPaintEvent*)':
oventimer.cpp:56: error: `rect' undeclared (first use this function)
oventimer.cpp:62: error: no matching function for call to `QPainter::QPainter(
QPixmap*, OvenTimer* const)'
/usr/local/Trolltech/Qt-4.0.1/include/QtGui/qpainter.h:57: error: candidates
are: QPainter::QPainter(const QPainter&)
/usr/local/Trolltech/Qt-4.0.1/include/QtGui/qpainter.h:70: error:
QPainter::QPainter(QPaintDevice*)
/usr/local/Trolltech/Qt-4.0.1/include/QtGui/qpainter.h:69: error:
QPainter::QPainter()
oventimer.cpp: In member function `void OvenTimer::draw(QPainter*)':
oventimer.cpp:82: error: `QPointArray' undeclared (first use this function)
oventimer.cpp:100: error: `AlignHCenter' undeclared (first use this function)
oventimer.cpp:100: error: `AlignTop' undeclared (first use this function)
make: *** [oventimer.o] ## 1