[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#357136: libqt4-dev sould depend on libqt4-debug-dev



"Jeremiah Savage" <jeremiahsavage@hotmail.com> writes:

> 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:

Well, OK, but then the correct fix would be to make qmake not link
against the debug libs by default.  Having libqt4-dev depend on
libqt4-debug-dev doesn't make any sense.

-- 
Captain Logic is not steering this tugboat.



Reply to: