trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: November 2012

Porting from KDE 3.5.10

From: russell@... (Russell Brown)
Date: Fri, 2 Nov 2012 12:01:44 +0000 (GMT)
Are there any notes on porting code from KDE 3.5.10 to Trinity?  I've
looked but can't find anything.

I have a KDE 3.5.10 package (a heavily modified version of konsole)
that I'm trying to build on a Wheezy/Trinity system.

I can see that I have to change things like QT_VERSION to TQT_VERSION
and some, but not all of the include files need prefixing with a 't'
and my include path needs altering but I'm still running into
configuration issues like so:

./configure --with-qt-dir=/usr/share/tqt3  \
        --with-qt-includes=/usr/include/tqt3 \
		        --prefix=/usr

fails with.....

configure:23451: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -INO -I.  -DQT_THREAD_SUPPORT  -D_REENTRANT -L/usr/share/tqt3/lib -L/usr/lib   conftest.cc  -lqt-mt -lpng -lz -lm
-ljpeg -ldl  -lXext -lX11 -lSM -lICE  -lpthread 1>&5
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
conftest.cc:2:22: fatal error: tqglobal.h: No such file or directory
compilation terminated.
configure:23454: $? = 1

If I change the configure line to use /usr/include/tqt instead of tqt3
like so:

./configure --with-qt-dir=/usr/share/tqt --with-qt-includes=/usr/include/tqt --prefix=/usr

then I get similar errors:

configure:23451: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -I/usr/include/tqt -I.  -DQT_THREAD_SUPPORT  -D_REENTRANT -L/usr/share/tqt/lib -L/usr/lib   conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE  -lpthread 1>&5
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
In file included from /usr/include/tqt/tqglobal.h:25:0,
                 from conftest.cc:2:
				 /usr/include/tqt/tqt.h:54:23: fatal error: ntqglobal.h:
				 No such file or directory
compilation terminated.
configure:23454: $? = 1

Can anyone point me in the right direction here?  (or even the right
list if trinityusers isn't the appropriate one).

TIA.

-- 
 Regards,
     Russell
 --------------------------------------------------------------------
| Russell Brown          | MAIL: russell@... PHONE: 01780 471800 |
| Lady Lodge Systems     | WWW Work: http://www.lls.com              |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk         |
 --------------------------------------------------------------------