Just started qt4 and got an error on Hello World compilation...
Simple question, what's missing? Google was not helpful.
Thanks
Code:
$ make
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o hello.o hello.cpp
g++ -o qt4 hello.o -L/usr/lib -lQtGui -lQtCore -lpthread
/usr/lib/libQtGui.so: undefined reference to `FcFreeTypeQueryFace'
collect2: ld returned 1 exit status
make: *** [qt4] Error 1
Problem solved by:
Code:
$ sudo aptitude install -t testing fontconfig fontconfig-config libfontconfig1 libfontconfig1-dev libgd2-noxpm libgd2-noxpm-dev libgd2-xpm libgd2-xpm-dev libxft-dev libxft2