Dear visitor, welcome to QtForum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Newbie In Qt - Please Help
Hello all,
I am new to QT programming in linux and the QT compiler gives me the following errors:
Running build steps for project arisa...
[color=#0000ff]Starting: /home/omega7/qtsdk-2009.03/qt/bin/qmake /home/omega7/arisa/arisa.pro -spec linux-g++ -r CONFIG+=debug[/color]
[color=#0000ff]Exited with code 0.[/color]
[color=#0000ff]Starting: /usr/bin/make -w[/color]
make: Entering directory `/home/omega7/arisa'
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../qtsdk-2009.03/qt/mkspecs/linux-g++ -I. -I../qtsdk-2009.03/qt/include/QtCore -I../qtsdk-2009.03/qt/include/QtGui -I../qtsdk-2009.03/qt/include -I. -o main.o main.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../qtsdk-2009.03/qt/mkspecs/linux-g++ -I. -I../qtsdk-2009.03/qt/include/QtCore -I../qtsdk-2009.03/qt/include/QtGui -I../qtsdk-2009.03/qt/include -I. -o mainwindow.o mainwindow.cpp
/home/omega7/qtsdk-2009.03/qt/bin/moc -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../qtsdk-2009.03/qt/mkspecs/linux-g++ -I. -I../qtsdk-2009.03/qt/include/QtCore -I../qtsdk-2009.03/qt/include/QtGui -I../qtsdk-2009.03/qt/include -I. mainwindow.h -o moc_mainwindow.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../qtsdk-2009.03/qt/mkspecs/linux-g++ -I. -I../qtsdk-2009.03/qt/include/QtCore -I../qtsdk-2009.03/qt/include/QtGui -I../qtsdk-2009.03/qt/include -I. -o moc_mainwindow.o moc_mainwindow.cpp
g++ -Wl,-rpath,/home/omega7/qtsdk-2009.03/qt/lib -o arisa main.o mainwindow.o moc_mainwindow.o -L/home/omega7/qtsdk-2009.03/qt/lib -lQtGui -L/home/omega7/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
make: Leaving directory `/home/omega7/arisa'
[color=#ff0000]/usr/bin/ld: cannot find -lfreetype[/color]
[color=#ff0000]collect2: ld returned 1 exit status[/color]
[color=#ff0000]make: *** [arisa] Error 1[/color]
Exited with code 2.
[color=#ff0000]Error while building project arisa[/color]
[color=#ff0000]When executing build step 'Make'[/color]
Please Help
Onwuka Arisa