Thursday, December 01, 2005
qt 3.3 -> qt 4, a big leap forward
I found this when I try to emerge moto4lin, my only application that depends on QT.
After, qt3to4 *.pro, the compilation still refuses to go on. Then I realized that I am using qt4 now. The difference I encountered,
qt3::QString::contains -> qt4::QString::count
qt3::QPixmap::fromMimeSource -> qt4::QPixmap::QPixmap
Lucky, I got a running program after the above conversions.
http://doc.trolltech.com/ is a very good reference point.
After, qt3to4 *.pro, the compilation still refuses to go on. Then I realized that I am using qt4 now. The difference I encountered,
qt3::QString::contains -> qt4::QString::count
qt3::QPixmap::fromMimeSource -> qt4::QPixmap::QPixmap
Lucky, I got a running program after the above conversions.
http://doc.trolltech.com/ is a very good reference point.