Talk:Development/Tutorials/Using KXmlGuiWindow: Difference between revisions

Page contents not supported in other languages.
From KDE TechBase
(Why KXmlGuiWindow???)
Line 6: Line 6:


/Sune
/Sune
== Why KXmlGuiWindow??? ==
Hi! I can't understand why KXmlGuiWindow is used. There are no any xml files. And it's used in the tutorial as KMainWindow.
Also the title is "How To Use KMainWindow".
So, from my point of view it needs to be improved.
--[[User:Powerfox|Powerfox]] 00:29, 29 July 2007 (CEST)

Revision as of 22:29, 28 July 2007

I had a couple of problems:

In order to make cmake find my installed header files, I needed to specify -DCMAKE_INSTALL_PREFIX=/home/kde-devel/kde

and still it wouldn't compile. I had to change it to use KXmlGuiWindow instead of KMainWindow as it didn't seem to be able to use setupGUI();

/Sune

Why KXmlGuiWindow???

Hi! I can't understand why KXmlGuiWindow is used. There are no any xml files. And it's used in the tutorial as KMainWindow. Also the title is "How To Use KMainWindow". So, from my point of view it needs to be improved. --Powerfox 00:29, 29 July 2007 (CEST)