I would be grateful if somebody would share any scripts to convert KDE3 code to TDE. Basically something that quickly adds the tqt layer.
Thanks.
Darrell
On Saturday 03 December 2011 16:29:58 Darrell Anderson wrote:
I would be grateful if somebody would share any scripts to convert KDE3 code to TDE. Basically something that quickly adds the tqt layer.
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).
werner
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