This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] Linux/AM4378:qmake 错误

Guru**** 2975280 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/677376/linux-am4378-qmake-error

器件型号:AM4378

工具/软件:Linux

目前正在使用/home/jsp/ti-processor-sdk-linux-am335x-evm-04.01.00.06/linux-devkit 并尝试在(很多)旧版 SDK 上移植 QT 应用程序构建。  qmake 失败、出现"Cannot find feature spec_pre.prf"。  我已将环境变量与正在运行的编译进行比较、并检查了 qmake -query、各种变量似乎指向了合理的位置。  在我的整个生命周期中、我无法确定 qmake 正在寻找 SPI_PRE.PRF 的位置。   SDK 中有具有此名称的文件。

有人知道该如何引用此文件?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 James、

    在加载 qmakespec 之前、该文件由 qmake 加载。 您可以在以下位置找到它: /linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/lib/qt5/mkspecs/features/spec_pre.prf

    此致、
    Kemal