【问题标题】:Can not remote Run QT Camera Example on i.Mx6Q无法在 i.Mx6Q 上远程运行 QT 相机示例
【发布时间】:2018-08-03 06:23:41
【问题描述】:

这是应用程序的输出,当我运行应用程序时:

sh: /root/camera: not found
Application finished with exit code 127.

如何解决这个问题?谢谢

环境

我正在使用 Buildroot 'imx6-sabresd_qt5_defconfig' 并添加 'openssh'、'gdb'

以下是我为 i.Mx6Q 设置的 Qt Creator:

工具 > 选项 > 构建和运行 > 编译器 名称:imx6 buildroot GCC buildroot/输出/主机/usr/bin/arm-buildroot-linux-uclibcgnueabihf-g++

工具 > 选项 > 构建和运行 > 调试器 名称:IMX6 buildroot gdb buildroot/输出/主机/usr/bin/arm-buildroot-linux-uclibcgnueabihf-gdb

工具 > 选项 > 构建和运行 > Qt 版本 版本名称:Qt %{Qt:Version} (buildroot) buildroot/输出/主机/usr/bin/qmake

camera.pro

+ target.path = /root
+ INSTALLS += target
- target.path = $$[QT_INSTALL_EXAMPLES]/multimediawidgets/camera
- INSTALLS += target

【问题讨论】:

    标签: qt qt-creator embedded-linux imx6


    【解决方案1】:

    最初,我在 VMware Ubuntu 上运行。 当我不使用VMware时,qt app远程运行调试成功。 没有更改任何环境设置。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-07-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-04-17
      • 2016-08-03
      • 1970-01-01
      相关资源
      最近更新 更多