Qt 4.6.1 Latest Version Bug: Error of FT_Select_Size

just download latest version of Qt 4.6.1
I got an error when i built my program.

Running build steps for project mypro...
Configuration unchanged, skipping QMake step.
Starting: /usr/bin/make -w
make: Entering directory `/home/czhang/mypro/mypro'
/home/czhang/qtsdk-2010.01/qt/bin/qmake -spec ../../qtsdk-2010.01/qt/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile
make: Leaving directory `/home/czhang/mypro/mypro'
make: Entering directory `/home/czhang/mypro/mypro'
g++ -Wl,-rpath,/home/czhang/qtsdk-2010.01/qt/lib -o mypro main.o mainwindow.o pwdialog.o globVar.o prefenencedialog.o dbeditdialog.o dbdialog.o dbsearchdialog.o newrecorddialog.o moc_mainwindow.o moc_pwdialog.o moc_prefenencedialog.o moc_dbeditdialog.o moc_dbdialog.o moc_dbsearchdialog.o moc_newrecorddialog.o -L/home/czhang/qtsdk-2010.01/qt/lib -lqextserialport -lQtSql -L/home/czhang/qtsdk-2010.01/qt/lib -lQtGui -L/usr/X11R6/lib -lQtCore -lpthread
make: Leaving directory `/home/czhang/mypro/mypro'
/usr/lib/ undefined reference to `FT_Select_Size'
collect2: ld returned 1 exit status
make: *** [mypro] Error 1
Exited with code 2.
Error while building project mypro
When executing build step 'Make' 

I was struggling on this error for a few days.
I had not such problem before I updated Qt creator.
Uninstall Qt (go to the folder where the Qt was installed, click "uninstall"),
Install old version.

Program built fine!  :)

No comments:

Post a Comment