Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/157.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 将Google Earth嵌入桌面应用程序而不是网站。QT是实物期权吗?_C++_Qt_Embed_Google Earth_Google Earth Plugin - Fatal编程技术网

C++ 将Google Earth嵌入桌面应用程序而不是网站。QT是实物期权吗?

C++ 将Google Earth嵌入桌面应用程序而不是网站。QT是实物期权吗?,c++,qt,embed,google-earth,google-earth-plugin,C++,Qt,Embed,Google Earth,Google Earth Plugin,我打算开发一个桌面应用程序,模拟环绕地球运行的卫星摄像机。我想在桌面应用程序中使用Google Earth,而不是将其嵌入网站。显然,唯一的选择是提供网页 我在一篇文章中读到,使用QT可以将googleearth嵌入到桌面应用程序中,但是引用的网站中的大部分链接都被破坏了,因此缺少了很多关于这个主题的信息。此外,我发现的所有信息都非常陈旧 有人能给我推荐一种在桌面应用程序中嵌入Google Earth的方法吗?我有C++、艾达和Visual Basic的经验,但不知道Qt. 在桌面应用程序中嵌入

我打算开发一个桌面应用程序,模拟环绕地球运行的卫星摄像机。我想在桌面应用程序中使用Google Earth,而不是将其嵌入网站。显然,唯一的选择是提供网页

我在一篇文章中读到,使用QT可以将googleearth嵌入到桌面应用程序中,但是引用的网站中的大部分链接都被破坏了,因此缺少了很多关于这个主题的信息。此外,我发现的所有信息都非常陈旧


有人能给我推荐一种在桌面应用程序中嵌入Google Earth的方法吗?我有C++、艾达和Visual Basic的经验,但不知道Qt. 在桌面应用程序中嵌入Google Earth需要使用,这是一个由JavaScript API控制的浏览器扩展。至少有两个例子(和)是用C#编写的。对于C++来说,最简单的方法是使用一个可以打开“浏览器窗口”的框架。Qt的替代是,它是C++引擎在桌面应用中嵌入铬引擎。< /P>您可以使用Qt的HTML API和WebKIT在WebVIEW中显示谷歌地图。加载页面时,将html/javascript设置为加载插件。当然,您必须同时安装GoogleEarth和插件(正确地安装在Qt/WebKit搜索插件的位置)。