Message: previous - next
Month: February 2014

Re: [trinity-devel] SOLVED : Re: [trinity-devel] R: [trinity-devel] KXMLedit is MISSING from TDE - Slavek can you convert/add?

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 22 Feb 2014 14:53:21 -0600
On 02/22/2014 02:39 PM, David C. Rankin wrote:
> On 02/22/2014 02:13 PM, Fran�ois Andriot wrote:
>> Le 22/02/2014 20:46, David C. Rankin a �crit :
>>> On 02/22/2014 01:31 PM, Fran�ois Andriot wrote:
>>>> It's really common with these old programes that there are missing linker flags
>>>> in the Makefile.
>>>> It looks like nowaday's compiler are much stricter, we must specify every
>>>> library to link, there is no auto-detection at all.
>>>> On some distribution (like Mageia :-) ) the error message that I get from the
>>>> linker tells exactly what library is required, whereas yours only shows the
>>>> missing symbol, which is not really helpful.
>>>> I'll try to build this tool and see what is wrong here.
>>>> Francois
>>> Thank you Francios!
>>  Bug report 1955 updated.
> These are the changes that allowed kxmleditor to build:
> # ~/tde/tde/experimental/qt3-tqt3/convert_existing_qt3_app_to_tqt3
> # ~/tde/tde/experimental/kde-tde/convert_existing_kde3_app_to_tde
> # cp -r ~/tde/tde/main/common/admin .
> # sed -i 's/LIB_KFILE/LIB_TDEFILE/' kxmleditor/kxmleditor/
> # sed -i 's/LIB_KFILE/LIB_TDEFILE/' kxmleditor/part/
> # sed -i 's/LIB_KFILE/LIB_TDEFILE/' kxmleditor/part/
> # kxmleditor/ kxmleditor_LDFLAGS = $(all_libraries) $(KDE_RPATH)
> $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx
> Basically, I copied the libraries from kdiff3. I think the only one that was
> missing was -lDCOP.  I'm just glad it builds. I'll test Francios patch too.
> I have the diff if you want it, but just following the steps above work.

Updated bug 1955:

Works Great!

When you push the source to the git-tree, we will need to update the kmenu
location. It currently installs to:


  we need to patch it to install at


  We should also move or duplicate




  That way ALL of the editors (text, hex and xml) are all available under

David C. Rankin, J.D.,P.E.