Standalone qt-dbus in kdesupport

Paulo Moura Guedes moura at kdewebdev.org
Thu Jun 8 20:45:46 BST 2006


On Thursday 08 June 2006 20:17, Alexander Neundorf wrote:
> Hi,
>
> On Thursday 08 June 2006 20:45, Paulo Jorge Guedes wrote:
> ...
>
> > ===================================================================
> > --- CMakeLists.txt    (revision 549165)
> > +++ CMakeLists.txt    (working copy)
> > @@ -1 +1,7 @@
> > +PROJECT(kdesupport)
> > +
> > +if(WIN32)
> > +   ADD_SUBDIRECTORY( kdewin32 )
> > +endif(WIN32)
> > +
> >  ADD_SUBDIRECTORY( qt-dbus )
>
> This looks good.
>
> > ===================================================================
> >
> > FindKDEWIN32.cmake should also be changed. Perhaps it could use the same
> > approach of FindQtDBus on Windows, and first try to find a KDEWIN32_DIR
> > (like the QDBUS_DIR).
>
> Both need some work.
> Instead of
> find_file(QDBUS_IDL2CPP_EXECUTABLE dbusidl2cpp.exe ...)
> find_program(QDBUS_IDL2CPP_EXECUTABLE NAMES dbusidl2cpp PATHS ...)
> should be used.
> But I don't understand why QtDBUS should look for kdesupport.

Because both kdewin32 and qtdbus would be installed by default (on program 
files) under the kdesupport directory, which would be called "kdesupport", 
because it's the name of the project.

Paulo




More information about the kde-core-devel mailing list