Toolbar Icons in gideon's QEditor - fixed

Milo Hoffman Milo at NG-Projekt.ORG
Mon Jan 20 20:27:04 UTC 2003


Hi everybody,

i just fixed the problem of toolbar icons not appearing in gideon's qeditor.

Digging deep into the kdelibs/kdeui/kxml* files. First, i thought there was 
something wrong with the merging - but it's okay. Then, i noticed that some 
parts of the xml file slightly disappeared. After a while of digging, i still 
could not explain this. Later on, I found the document was not read 
completely at all.

A "xmllint -valid qeditor_part.rc" showed, tag nesting in the .rc file was not 
correct. After fixing tag nesting of qeditor_part.rc the XML-GUI of QEditor 
appeared immediately correct.

I CC'ed also David Faure and Simon Hausmann (authors of the XML-GUI Builder) 
for discussing this suggestion:
Considering how much time Falk and me (and probably others) spent on this 
issue, we should add a validation call (via xmllint) prior to installing the 
.rc-file.

I could imagine doing this by renaming xxxui.rc to xxxui.rc.src and adding a 
rule to make, that would copy the xxxui.rc.src to xxxui.rc after/if it 
verified that the .rc.src file is valid XML.

cheers
Sascha "Milo" Cunz

P.S.: Biggest problems always got simplest solutions :-) It was just a missing 
slash...




More information about the KDevelop-devel mailing list