Package: libqt4-dev
Version: 4.1.1-1

When building the tutorial "Hello World" example, I got the following error:
--------------------
$ qmake-qt4 -project
$ qmake-qt4
$ 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/QtGui -I/usr/include/qt4 -I. -I. -I. -o hello.o hello.cc
g++  -o kdeprog hello.o    -L/usr/lib -lQtGui_debug -lQtCore_debug -lpthread
/usr/bin/ld: cannot find -lQtGui_debug
collect2: ld returned 1 exit status
make: *** [kdeprog] Error 1
--------------------

Installing libqt4-debug-dev allowed the program to compile without error:
--------------------
$ qmake-qt4 -project
$ qmake-qt4
$ 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/QtGui -I/usr/include/qt4 -I. -I. -I. -o hello.o hello.cc
g++  -o kdeprog hello.o    -L/usr/lib -lQtGui_debug -lQtCore_debug -lpthread
--------------------

--
Jeremiah




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to