Compiling on Fedora 10.
I am using qt for the first time. I started by creating a simple GUI application with all the default settings. When I tried to build the project I got the following error messages.
However, when I did a search for -lfreetype I found it in the following directory. /usr/lib/libfreetype.so.6 /usr/lib/libfreetype.so.6.3.18
Is there anyway to resolve this issue?
Many thanks for any advice
Running build steps for project test1... Creating gdb macros library... Configuration unchanged, skipping QMake step. Starting: /usr/bin/make debug -w make: Entering directory `/home/steve/projects/qt/test1/test1' /usr/bin/make -f Makefile.Debug make[1]: Entering directory `/home/steve/projects/qt/test1/test1' g++ -Wl,-rpath,/opt/qtsdk-2009.01/qt/lib -o test1 debug/main.o debug/mainwindow.o debug/moc_mainwindow.o -L/opt/qtsdk-2009.01/qt/lib -lQtGui -L/opt/qtsdk-2009.01/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 returned 1 exit status make[1]: *** [test1] Error 1 make[1]: Leaving directory `/home/steve/projects/qt/test1/test1' make: *** [debug] Error 2 make: Leaving directory `/home/steve/projects/qt/test1/test1' Exited with code 2. Error while building project test1 When executing build step 'Make'
You have to install the freetype-devel package. The devel package contains the header files which in the case of freetype shoud be located at: /usr/include/freetype.