在Raspberry Pi 3:E上建造QT:无法满足Libqt5Gui5的构建依赖性
Building Qt on Raspberry Pi 3: E: Build-dependencies for libqt5gui5 could not be satisfied
我正在尝试安装QT以在Raspberry Pi上进行交叉编译。我正在遵循QT Wiki的说明。
我在新的Raspberry Pi 3型B。
上有新的Raspbian Jessie安装我的问题是在上面链接的Wiki页面的步骤3上:sudo apt-get build-dep libqt5gui5
pi@raspberrypi:~ $ sudo apt-get build-dep libqt5gui5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Picking 'qtbase-opensource-src' as source package instead of 'libqt5gui5'
The following packages have unmet dependencies:
libgles2-mesa-dev : Depends: libegl1-mesa-dev but it is not going to be installed
libopenvg1-mesa-dev : Depends: libegl1-mesa-dev but it is not going to be installed
E: Build-dependencies for libqt5gui5 could not be satisfied.
我尝试手动安装这些依赖项,但与其他依赖关系遇到了更多的问题。
我想你可以替换:
sudo apt-get build-dep qt4-x11 libqt5gui5
:
apt-get build-dep -y qt4-x11 qtbase-opensource-src
这是我们在开源项目中的操作方式:QTRPI设置Raspberry Pi sysroot以进行QT交叉补偿。
还检查项目ITSEFT,它"为Raspberry Pi上的跨编译QT应用程序提供了易于使用的环境。此回购包含准备Sysroot,跨编译QT和部署QT库所需的所有脚本到你的覆盆子。"也许这对您有用。官方网站上的更多信息:www.qtrpi.com
相关文章:
- Qt VTK交互风格的信号到小部件
- QT在错误的班级中寻找空位
- 如何在选项卡视图Qt中设置一个新项目,并保存以前的项目
- 如何在Qt窗口小部件中使用QStringView(或QStringRef)
- 如何在Qt C++中更改光标
- 如何在MS Visual Studio 2019中运行QT UI
- QT通过C++添加映射QML项目
- libssh 的函数在构建 libssh 时无法在 Qt 和 cmake 错误中找到
- 如何将点击的信号和插槽添加到qt中的自定义按钮中
- Qt C++静态thread_local QNetworkAccessManager是线程应用程序的好选择吗
- 使用Qt C++计算类似Git的SHA1哈希
- Qt focusObjectChanged example?
- 如何在cpp文件之间切换窗口?在Qt中
- Qt和C++:将QLineEdit添加到QTabWidget中
- 从数据库实时显示QT c++中的数据
- Qt Quick-如何仅从c++代码与qml属性交互
- 无法使用Qt Creator在Windows中构建yaml-cpp
- 如何在Qt中取消捕获字符串
- Qt SQLite没有查询或参数计数不匹配
- 在Raspberry Pi 3:E上建造QT:无法满足Libqt5Gui5的构建依赖性