How to open another application inside a Qt GUI
-
If you want to embed Earth view into your app, take a look at KDE's Marble. Alternatively, you could probably run Google Earth using QAX, but that would work on Windows only.
If you do not need to embed the view, then you can simply execute Google Earth application using QProcess.
-
That really depends on how you do it. If you just embed a registered container using QAX* classes, then it can still fail on another computer if Earth is not installed there. So, if you want to be sure that the application is available, you need to force your users to install it together with your application, or bundle the package together with your app (but be careful about licensing!).
-
QAX* set of classes == Qt ActiveX. It works only on Windows. But even there it is not guaranteed to "just work". You need to test yourself ;)
Maybe Google provides some cross-platform library solution that would work on all platforms, I don't know. That is why I have recommended taking a look at Marble: it's Qt-based, powerful and cross-platform.
-
You are welcome.
There seems to be a JS API for Google Earth: "link":https://developers.google.com/earth/.