trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2011

Re: [trinity-devel] Arch - poppler-qt3, anybody got a PKGBUILD working? My Qt3 gives no qt-mt.pc

From: "David C. Rankin" <drankinatty@...>
Date: Mon, 02 May 2011 12:29:41 -0500
On 05/02/2011 02:55 AM, /dev/ammo42 wrote:
>> Guys,
>> >
>> >      I am having problems with poppler-qt3 on arch. I suspect I have
>> >  missed something in Qt3. Basically, I think the build fails due to a
>> >  lack of qt-mc.pc package config information:
> Did you:
> -properly configure your PKG_CONFIG_PATH ?
> -compile Qt with threads ?

Umm...

   The short answer is "I don't know" :p  I am no familiar with package config 
at all. I know it just defines the build parameters for the package so they can 
be used in subsequent builds, but as for the specifics -- it looks like it's 
time to learn...

   On the Trinity 3.5.12 build by Albert Vaca, the Qt3 package provides:

/opt/qt/lib/pkgconfig/qt-mt.pc

which contains:

12:27 archangel:~> cat /opt/qt/lib/pkgconfig/qt-mt.pc
prefix=/opt/qt
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
qt_config=qt warn_on release incremental link_prl nocrosscompiler dlopen_opengl 
minimal-config small-config medium-config large-config full-config styles tools 
kernel widgets dialogs iconview workspace network canvas table xml opengl sql 
release dll thread largefile stl system-mng system-jpeg system-png gif 
system-zlib nis cups bigcodecs x11sm xshape xinerama xcursor xrandr xrender 
xftfreetype tablet xkb dylib create_prl link_prl qt warn_on depend_includepath 
qmake_cache x11 x11inc create_libtool create_pc moc x11lib

Name: Qt
Description: Libqt-mt.so.3.3.8 Library
Version: 3.3.8
Libs: -L${libdir} -lqt-mt -L/usr/X11R6/lib64 -lz -lXi -lXrender -lXrandr 
-lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE 
-ldl -lpthread
Cflags: -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT 
-D_REENTRANT -I${includedir}

   What I don't know is how to generate this file so I can install it? How do 
you create a pkgconfig file? Once I figure that out, I'll add it to the Qt3 
PKGBUILD and fix the issue. Is there anything in particular needed for Qt3 or 
will the general Howto info I'll find via google work?

-- 
David C. Rankin, J.D.,P.E.