Le Thu, 5 May 2011 20:20:14 +0200,
/dev/ammo42 <mickeytintincolle(a)yahoo.fr> a écrit :
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 uicopt/trinity/include/tqt/Qt/qglobal.h
/usr/bin/uic
===========
shows that uic is really installed on my system.
Also, it installs includes in
locations such as
/opt/trinity/include/tqt/Qt/qglobal.h
while /opt/trinity/include/tqt/tqt.h #include's such headers as
<tqt4/Qt/qglobal.h> (the tqt/Qt/*.h installed headers are Qt4-related
ones for sure since there are Qt3-compatibility headers such
as /opt/trinity/include/tqt/Qt/q3cstring.h).
TQt4 has not even reached alpha yet; these kinds of (relatively minor)
problems are fully expected.
The primary focus at the moment is on the CMake conversion and getting the
Trinity modules to build against the TQt4 packages that are automatically
built under Ubuntu.
Tim