Running build steps for project FloatTest...
Configuration unchanged, skipping qmake step.
Starting: "/usr/bin/make" -w
make: Entering directory `/home/marter/code/qt/floattest2/FloatTest-build-desktop'
g++ -Wl,-rpath,/opt/qtsdk-2010.05/qt/lib -o FloatTest main.o floatcal.o moc_floatcal.o -L/opt/qtsdk-2010.05/qt/lib -lQtGui -L/opt/qtsdk-2010.05/qt/lib -L/usr/X11R6/lib -lQtCore -lpthread
make: Leaving directory `/home/marter/code/qt/floattest2/FloatTest-build-desktop'
floatcal.o: In function `floatCal':
/home/marter/code/qt/floattest2/FloatTest-build-desktop/../FloatTest/floatcal.cpp:11: undefined reference to `QDirectPainter::screenWidth()'
/home/marter/code/qt/floattest2/FloatTest-build-desktop/../FloatTest/floatcal.cpp:12: undefined reference to `QDirectPainter::screenHeight()'
/home/marter/code/qt/floattest2/FloatTest-build-desktop/../FloatTest/floatcal.cpp:11: undefined reference to `QDirectPainter::screenWidth()'
/home/marter/code/qt/floattest2/FloatTest-build-desktop/../FloatTest/floatcal.cpp:12: undefined reference to `QDirectPainter::screenHeight()'
collect2: ld returned 1 exit status
make: *** [FloatTest] Error 1
The process "/usr/bin/make" exited with code %2.
Error while building project FloatTest (target: Desktop)
When executing build step 'Make'
麻烦您了~~