编译输出:
Running build steps for project hello...
Starting: /home/hubble/qtsdk-2009.03/qt/bin/qmake /home/hubble/qt-book/chap01/hello/hello.pro -spec linux-g++ -r CONFIG+=debug
Exited with code 0.
Starting: /usr/bin/make -w
make: Entering directory `/home/hubble/qt-book/chap01/hello'
g++ -Wl,-rpath,/home/hubble/qtsdk-2009.03/qt/lib -o hello hello.o -L/home/hubble/qtsdk-2009.03/qt/lib -lQtGui -L/home/hubble/qtsdk-2009.03/qt/lib -L/usr/X11R6/lib -pthread -lfreetype -lgobject-2.0 -lSM -lICE -pthread -pthread -lXrender -lfontconfig -lXext -lX11 -lQtCore -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
/usr/bin/ld: cannot find -lfreetype
collect2: ld 返回 1
make: Leaving directory `/home/hubble/qt-book/chap01/hello'
make: *** [hello] 错误 1
Exited with code 2.
Error while building project hello
When executing build step 'Make'
那么该如何解决呢?希望列出详细步骤....