linux - 当从 Yocto SDK Build 安装时,QtCreator 认为 Qt5 QMake 安装无效

标签 linux qt5 qt-creator yocto qt5.6

我使用 Yocto 通过以下命令成功构建并启动了用于 BeagleBone X15 的德州仪器处理器 SDK:

MACHINE=beagle-x15 bitbake -c populate_sdk arago-core-tisdk-image

现在我在 Ubuntu 主机上安装了 Yocto SDK,这样我就可以使用 QtCreator 从 Ubuntu 进行交叉编译和部署。

我安装了套件,但 Yocto 认为 Qt 安装无效(请看以下屏幕截图):

enter image description here

enter image description here

enter image description here

我该怎么做才能解决这个问题?

最佳答案

原来你需要在启动 qtcreator 之前获取环境设置文件:

[linux-devkit]:/usr/local/arago-2016.12> ls
environment-setup  site-config-armv7ahf-neon-linux-gnueabi  sysroots  version-armv7ahf-neon-linux-gnueabi
[linux-devkit]:/usr/local/arago-2016.12> pwd
/usr/local/arago-2016.12

关于linux - 当从 Yocto SDK Build 安装时,QtCreator 认为 Qt5 QMake 安装无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52579080/

相关文章:

.net - Qt Creator + .NET 框架

linux - Bash 自定义

mysql - 恢复数据库备份导致坏字符

linux - 从 bash 中的给定日期减去月份

linux - 如何在 exit() 系统调用中调用我自己的系统调用

qt - 如何使用诺基亚 Qt SDK 为桌面环境开发 Qt 应用程序?

qt - QGraphicsProxyWidget 在 QGraphicsScene 中剪切了上下文菜单

c++ - 用什么代替 `qt5_use_modules` ?

Qt5 QML模块未安装

gdb - 配置 Qt Creator 以使用 GDB