trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2011

Re: [trinity-devel] Building tqtinterface fails

From: Serghei Amelian <serghei@...>
Date: Sun, 6 Mar 2011 10:52:48 +0200
On Sunday 06 March 2011 05:24:47 Darrell Anderson wrote:

[...]

> The wiki says "The current SVN tree is being ported to CMake. You cannot
> build part of the tree with CMake and then start building with autoconf."

Actually this is not really true statement. Few months ago I built kdebase 
(with autotools) against kdelibs (build using cmake). Of course, cmake will 
not build against autotools, because cmake needs few special helper files 
(import files).

> Do I now have to build tqtinterface with cmake? If so, then I according to
> the wiki I cannot build the remaining packages with autotools.

You can try. Building using cmake is really simple (and faster as well):


mkdir /tmp/tqt.build
cd  /tmp/tqt.build
cmake /path/to/tqt/source \
	-DCMAKE_INSTALL_PREFIX=/opt/tqt
	-DWITH_QT3=ON
make
sudo make install


1) Note that out-of-source mode is recommended.
2) Be sure that QTDIR variable environment are set, to avoid troubles while 
detecting path to QT
3) Is required patched QT3 ( 
http://trinity.pearsoncomputing.net/wiki/bin/view/Developers/Qt3 )

Good luck

-- 
Serghei