Let s prove that with a tiny hello world like example.
Marble widget qt.
A widget class that displays a view of the earth.
Let s say it is qtsdk plugins designer.
The user can navigate the globe using either a control widget e g.
Globe and map widget.
The marble widget plugin for qt designer compiling the marblewidget plugin.
But this is probably not necessary.
The marble library is written in c and provides bindings for qt quick qml.
Marble is a generic geographical map widget and framework for kde applications.
I followed the instructions on the marble site to clone build and install from source with i believe the appropriate qt flags.
The mouse and keyboard control is done through a marblewidgetinputhandler.
Maintainers torsten rahn dennis nienhüser supported platforms android linux macos windows community irc.
Qt beginners might want to have a look at the qt widgets tutorial to learn more about the details of the code.
You might also be interested to learn about.
That seemed to go without issue.
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.
The marblenavigator or the mouse.
Qt designer plugins marble widget support in qt designer.
The marble widget shows the earth as a sphere but does not require hardware acceleration.
This widget displays a view of the earth or any other globe depending on which dataset is used.
First you need to locate qt designer plugins directory.
Marble desktop mobile applications build marble desktop mobile applications.
The marble widget is also offered as a qt designer plugin.
Qt 5 5 is installed in my user directory using qt s network installer on a system running osx 10 9 5.
A minimal set of geographical data is included so it can be used without an internet connection.
The api of the marble library allows for a very easy integration of a map widget into your application.
If you compile marble yourself you probably need to enable the compilation of the qt designer plugin.