[Marble-devel] Review Request: QtDeclarative bindings
Dennis Nienhüser
earthwings at gentoo.org
Thu Nov 11 21:26:00 CET 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/5829/
-----------------------------------------------------------
Review request for marble and Torsten Rahn.
Summary
-------
This adds a plugin which exposes MarbleWidget, MapThemeManager and MarbleRunnerManager (placemark search only) to QML.
Please speak up soon if you have objections against committing, otherwise I'll add it in time for the freeze (i.e. in some hours).
Diffs
-----
/trunk/KDE/kdeedu/marble/MarbleMacros.cmake 1195334
/trunk/KDE/kdeedu/marble/examples/qml/explore/FloatButton.qml PRE-CREATION
/trunk/KDE/kdeedu/marble/examples/qml/explore/explore.qml PRE-CREATION
/trunk/KDE/kdeedu/marble/examples/qml/google-search/Button.qml PRE-CREATION
/trunk/KDE/kdeedu/marble/examples/qml/google-search/google-search.qml PRE-CREATION
/trunk/KDE/kdeedu/marble/examples/qml/google-search/search.js PRE-CREATION
/trunk/KDE/kdeedu/marble/examples/qml/google-search/searchresult.qml PRE-CREATION
/trunk/KDE/kdeedu/marble/examples/qml/where-is-that/FloatButton.qml PRE-CREATION
/trunk/KDE/kdeedu/marble/examples/qml/where-is-that/where-is-that.qml PRE-CREATION
/trunk/KDE/kdeedu/marble/src/plugins/CMakeLists.txt 1195334
/trunk/KDE/kdeedu/marble/src/plugins/declarative/CMakeLists.txt PRE-CREATION
/trunk/KDE/kdeedu/marble/src/plugins/declarative/DeclarativeMapThemeManager.h PRE-CREATION
/trunk/KDE/kdeedu/marble/src/plugins/declarative/DeclarativeMapThemeManager.cpp PRE-CREATION
/trunk/KDE/kdeedu/marble/src/plugins/declarative/MapTheme.h PRE-CREATION
/trunk/KDE/kdeedu/marble/src/plugins/declarative/MapTheme.cpp PRE-CREATION
/trunk/KDE/kdeedu/marble/src/plugins/declarative/MarbleDeclarativePlugin.h PRE-CREATION
/trunk/KDE/kdeedu/marble/src/plugins/declarative/MarbleDeclarativePlugin.cpp PRE-CREATION
/trunk/KDE/kdeedu/marble/src/plugins/declarative/MarbleDeclarativeRunnerManager.h PRE-CREATION
/trunk/KDE/kdeedu/marble/src/plugins/declarative/MarbleDeclarativeRunnerManager.cpp PRE-CREATION
/trunk/KDE/kdeedu/marble/src/plugins/declarative/MarbleDeclarativeWidget.h PRE-CREATION
/trunk/KDE/kdeedu/marble/src/plugins/declarative/MarbleDeclarativeWidget.cpp PRE-CREATION
/trunk/KDE/kdeedu/marble/src/plugins/declarative/Placemark.h PRE-CREATION
/trunk/KDE/kdeedu/marble/src/plugins/declarative/Placemark.cpp PRE-CREATION
/trunk/KDE/kdeedu/marble/src/plugins/declarative/qmldir PRE-CREATION
Diff: http://svn.reviewboard.kde.org/r/5829/diff
Testing
-------
There are three examples -- see http://nienhueser.de/blog/?p=121 -- attached (without the artwork) that make use of the plugin.
To run them, do
export QML_IMPORT_PATH=/path/to/marble/installation/lib/marble/plugins
export LD_LIBRARY_PATH=/path/to/marble/installation/lib/
once in a shell and then run them:
qmlviewer examples/qml/explore/explore.qml
qmlviewer examples/qml/google-search/google-search.qml
qmlviewer examples/qml/where-is-that/where-is-that.qml
from your marble source dir. The plugin gets installed, the examples not.
Thanks,
Dennis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/marble-devel/attachments/20101111/babed765/attachment.htm
More information about the Marble-devel
mailing list