On 06/24/2012 04:14 PM, Timothy Pearson wrote:
On 06/24/2012
12:46 PM, David C. Rankin wrote:
>
> So somewhere something is not getting the proper directory set to
> allow TQt to
> be found. How can I hack ./configure to force it to find TQt in the
> proper location?
>
Do you set QTDIR for your builds? I need to know because the
autodetection logic is pretty much split into two parts, one path for if
QTDIR is set and a different path if it is not.
Thanks!
Tim
Damnit!
Found it! It is the pkgconfig file installed by TQt3 that is FUBAR!
16:34 archangel:/dat_e/ch47/david/build> cat ../opt/tqt3/lib/pkgconfig/tqt-mt.pc
prefix=/opt/tqt3
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 inputmethod network canvas table xml
opengl sql release dll thread system-mng system-jpeg system-png gif system-zlib
nis cups bigcodecs x11sm xshape xinerama xcursor xrandr xrender xftfreetype xkb
inputmethod dylib create_prl link_prl qt warn_on depend_includepath qmake_cache
x11 x11inc create_libtool create_pc moc x11lib
Name: TQt
Description: Libtqt-mt.so.3.3.8 Library
Version: 3.3.8
Libs: -L${libdir} -ltqt-mt -L/usr/lib/mysql -L/usr/X11R6/lib64 -lpq
-lmysqlclient -lz -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype
-lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread
Cflags: -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I${includedir}
Whatever logic writes the pkgconfig for TQt3 is borked. It is writing that there
is a -L/usr/X11R6/lib64 when that is just 'wrong'.
--
David C. Rankin, J.D.,P.E.