On Friday, 2013-06-07, Pali Rohár wrote:
> On Thursday 06 June 2013 10:42:26 Kevin Krammer wrote:

> Ok, it is possible to use current Trojita qmake build system for
> new target which needs KDE libraries?

Sure, KDE libraries are just like any other Qt library.
qmake is notorisouly bad at finding libraries though.

> > More like the central widget than the main window, the main
> > window is provided by the Part shell, Kontact.
> > A good example is KAddressBook, which has both a KPart for
> > Kontact integration as well a stand-alone main window
> > application version. Both use the same MainWidget class for
> > the actual content.
> 
> I will look at KAddressBook application.
> 
> Central widget is without menubar and toolbar?

Yes. In the case of KAddressBook those are providided by the MainWindow class 
in the stand-alone case and by the KPart host in the other case.
The application used KDE's XML GUI technology for merging actions into the 
host's UI, see
http://techbase.kde.org/Development/Architecture/KDE4/XMLGUI_Technology

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to