trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2011

tqtinterface SVN produces bad tqt.pc with Qt4

From: /dev/ammo42 <mickeytintincolle@...>
Date: Thu, 5 May 2011 20:20:14 +0200
Hello,
When I compile tqtinterface under Slackware64 13.37 (KDE4 is installed,
no Qt3) with Qt4 support, it produces a wrong tqt.pc:
==========
$ cmake ../dependencies/tqtinterface/
-DCMAKE_INSTALL_PREFIX=/opt/trinity     -DCMAKE_VERBOSE_MAKEFILE=ON
-DUSE_QT4=ON     -DQTDIR=/opt/qt     -DQT_LIBRARY_DIRS=/opt/qt/lib
-DBUILD_ALL=ON -DLIB_SUFFIX=64
==========
followed by make -j5 and standard installation (via Slackware packages)
produces the following /usr/lib64/pkgconfig/tqt.pc:
==========
prefix=/opt/trinity
exec_prefix=${prefix}
libdir=${prefix}/lib64
includedir=${prefix}/include/tqt

tmoc_executable=/opt/trinity/bin/tmoc
moc_executable=/usr/bin/moc
uic_executable=

Name: TQt
Description: Interface and abstraction library for Qt and Trinity
Version: 3.5.13
Libs: -L${libdir} -ltqt -L/usr/lib64  -lQtCore -lQtGui
Cflags: -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT
-I/usr/include/qt4 -I${includedir} -include tqt.h
===========
The uic_executable is not defined, causing arts failing to build.
===========
$ which uic
/usr/bin/uic
===========
shows that uic is really installed on my system.