trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2011

Re: [trinity-devel] Converting KDE3 Code to TDE

From: Darrell Anderson <humanreadable@...>
Date: Sat, 3 Dec 2011 10:55:21 -0800 (PST)
> no script needed :)
> here is what I did:
> have the tqt headers installed in /usr/include/tqt (should
> be standard), plus 
> *trinity-dev packages.
> then, for autotools based kde3 programs (most are), add the
> following lines to 
> configure.in.in:
> 
> CFLAGS=-I/usr/include/tqt
> CXXFLAGS=-I/usr/include/tqt
> 
> make a symlink admin -> kde-common/admin in the project
> directory.
> (kde-common is from trinity tarball)
> then do
> make -f Makefile.cvs in project dir, this step creates
> configure.
> then configure&&make&&make install, as
> usual.
> this is what works for me (usually).

I want to convert existing KDE3 code to TDE code that is updated with the tqt layer. For example, convert QString to TQString, SLOT to TQT_SLOT, etc.

That way I can more easily compare the KDE3 code to TDE.

I can create a "cleanup" script, slowly, little by little, but I figure something like that must exist already. Every time an app is added to the source tree the code has to get updated.

Darrell