[Marble-devel] splitting marble and marblewidget

Kishore kitts.mailinglists at gmail.com
Mon Feb 15 18:18:31 CET 2010


On Monday 15 February 2010 06:30:29 pm Torsten Rahn wrote:
> Hi,
> 
> Any news on this topic? :)

Sorry about the lack of updates. The last couple of weeks have been pretty 
busy and had little time for the topic. I should have some time after this 
week and hope to have this issue thought out and resolved during the next 
week. :)

> 
> On Freitag 29 Januar 2010 17:39:21 Kishore wrote:
> > While attempting to split marble and marblewidget so that the widget
> > could go into kdesupport I experienced a few issues.
> > 
> > Most issues were related to marblewidget in its current CMakeLists.txt,
> > installing header files being used by marble application. This i work
> > around by installing them.
> > 
> > Header files in marblewidget, used by marble in turn include the UIC
> > generated headers. This breaks the build. I have worked around this by
> > moving the inclusion into the respective cpp file and  only forward
> > declaring in the header.
> > 
> > Here is now where i am stuck. There are some UIC generated files of
> > marblewidget (code inside src/lib) that are being included directly by
> > code in marble. For example, marble_part.cpp includes
> > ui_MarbleViewSettingsWidget.h. Does anybody have a suggestion for working
> > around such requirements?
> > 
> > It seems to me that marble application has intimate knowledge about
> > marblewidget and this bond would need to be broken for a proper split.
> > Necessary functionality would have to be added to the widget to make it
> > usable by marble.
> > 
> > Any suggestions?

-- 
Cheers!
Kishore


More information about the Marble-devel mailing list