I followed the instructions on the marble site to clone build and install from source with i believe the appropriate qt flags.
Marble widget qt.
The marble library is written in c and provides bindings for qt quick qml.
Maintainers torsten rahn dennis nienhüser supported platforms android linux macos windows community irc.
Let s prove that with a tiny hello world like example.
Let s say it is qtsdk plugins designer.
You might also be interested to learn about.
Marble desktop mobile applications build marble desktop mobile applications.
The api of the marble library allows for a very easy integration of a map widget into your application.
Qt 5 5 is installed in my user directory using qt s network installer on a system running osx 10 9 5.
The marblenavigator or the mouse.
But this is probably not necessary.
At its heart a software library powers the marble applications also integrated in a wide variety of other projects like digikam or the kde workspaces.
This widget displays a view of the earth or any other globe depending on which dataset is used.
Toggle with build marble apps yes no the following required packages have been found.
Using the marble library in your project requires only c qt and adherence to the lgpl 2 1.
Qt designer plugins marble widget support in qt designer.
Below you find some examples that demonstrate a basic integration of a map widget provided by marble into custom c and qml applications.
If you compile marble yourself you probably need to enable the compilation of the qt designer plugin.
Marble is a generic geographical map widget and framework for kde applications.
Globe and map widget.
First you need to locate qt designer plugins directory.
The mouse and keyboard control is done through a marblewidgetinputhandler.
Qt beginners might want to have a look at the qt widgets tutorial to learn more about the details of the code.
That seemed to go without issue.
The marble widget is also offered as a qt designer plugin.
The user can navigate the globe using either a control widget e g.
The marble widget plugin for qt designer compiling the marblewidget plugin.
A minimal set of geographical data is included so it can be used without an internet connection.