Googling have shouwn me that I can try replacing a lib and then it will
magically be compiled, another approach is to install
freetype1-dev libgtk2.0-dev
but I have the first already installed and the second brings a lot of
dependencies, and, because I use KDE environment I do not have a so
many GTK packages - rather I would decline using of qmake/make and will
continue using g++ directly.
So, may You know a better solution for my problem?
Thank You for Your time.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4d6b3cf1.0707cc0a.2fce.0bee@mx.google.com">http://lists.debian.org/4d6b3cf1.0707cc0a.2fce.0bee@mx.google.com
02-28-2011, 08:19 AM
Thilo Six
/usr/bin/ld: cannot find -lQtGui
Sthu Deus wrote the following on 28.02.2011 07:12
Hello
> Good day.
>
>
> I try to compile a program w/ the help of qmake and make and on make
> running stage I get:
>
> $ make
> g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -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. -o 1.o 1.cpp g++ -Wl,-O1 -o atry 1.o -L/usr/lib -lQtGui
> -lQtCore -lpthread
> /usr/bin/ld: cannot find -lQtGui
> collect2: ld returned 1 exit status make: *** [atry] Error 1
>
> Googling have shouwn me that I can try replacing a lib and then it will
> magically be compiled, another approach is to install
>
> freetype1-dev libgtk2.0-dev
>
> but I have the first already installed and the second brings a lot of
> dependencies, and, because I use KDE environment I do not have a so
> many GTK packages - rather I would decline using of qmake/make and will
> continue using g++ directly.
>
> So, may You know a better solution for my problem?
>
>
> Thank You for Your time.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: ikfpah$2n4$1@dough.gmane.org">http://lists.debian.org/ikfpah$2n4$1@dough.gmane.org