我正在尝试在 Fedora 上使用 Qt 编译 osgearth 库。我通过以下命令安装 osgEarth:
dnf install osgearth-devel
在终端中输入osgearth
,会显示一个中间有一个圆圈的黑屏。我认为 osgEarth 已安装并正常工作。我想在 Qt 中使用 osgEarth 库,但我不能。有谁能帮助我吗?
我正在尝试在 Fedora 上使用 Qt 编译 osgearth 库。我通过以下命令安装 osgEarth:
dnf install osgearth-devel
在终端中输入osgearth
,会显示一个中间有一个圆圈的黑屏。我认为 osgEarth 已安装并正常工作。我想在 Qt 中使用 osgEarth 库,但我不能。有谁能帮助我吗?
安装 osgearth 后,我们可以osgearth viewer file.earth
在终端中使用来运行 osgearth。要在 Qt 中使用 osgearth,我们必须首先将 osgearth 库添加到我的项目中。这个简单的例子可以帮助你。