[Gambas-user] Gambas 2 -> Gambas 3

Benoît Minisini gambas at ...1...
Thu Feb 19 02:43:34 CET 2009


> On Thursday 19 February 2009, Benoît Minisini wrote:
> > $ pkg-config --cflags qt-mt
> > $ pkg-config --libs-only-l qt-mt
> > $ pkg-config --libs-only-L qt-mt
> > $ pkg-config --libs-only-other qt-mt
> >
> > If, of course, your qt development package uses the pkg-config system!
> >
> > Thanks in advance.
>
> root at ...1311...:~# pkg-config --cflags qt-mt
> -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/include/qt3
>
> root at ...1311...:~# pkg-config --libs-only-l qt-mt
> -lqt-mt -laudio -lXt -ljpeg -lpng -lz -lXi -lXrender -lXrandr -lXcursor
> -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl
> -lpthread (^^^all on one line^^^)
>
> root at ...1311...:~# pkg-config --libs-only-L qt-mt
> -L/usr/X11R6/lib
>
> root at ...1311...:~# pkg-config --libs-only-other qt-mt
>
> (^^^ empty^^^)
>
>
> /usr/include/qt3 exists and contains theqt3  *.h files
>
>
> Best regards,
>
> Ron_1st

Here is the result on my Mandriva:

$ pkg-config --libs-only-L qt-mt
# nothing
$ pkg-config --libs-only-other qt-mt
# nothing
$ pkg-config --libs-only-l qt-mt
-lqt-mt -lmng -ljpeg -lpng -lz -lXrender -lXrandr -lXcursor -lXinerama -lXft 
-lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread
$ pkg-config --cflags qt-mt
-DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT 
-I/usr/lib/qt3//include

There is no "-L" flag because on Mandriva /usr/X11R6/lib is in 
/etc/ld.so.conf.

I'm currently downloading the Kubuntu 8.10 32 bits ISO. I will try to compile 
Gambas on it, thanks to VirtualBox.

Regards,

-- 
Benoît




More information about the User mailing list