qt5 - 配置: error: Qtenv cannot find qmake in omnet++ installation

标签 qt5 omnet++

我正在尝试在 Windows 10 上安装 omnetpp 5.2.1。但是在执行与 QT 环境相关的 ./configure 命令时出现错误。我尝试更改 omnetpp 包中的 configure.user 文件来更改 QT 的路径,但仍然不起作用。这是错误:

configure:error: Qtenv cannot find qmake--maybe it is not in the path or has some exotic name (tested names were: qmake qmake-qt5 qmake5)- disabling Qtenv. You can try setting QT_PATH variable in configure.user to a valid location.

最佳答案

qt5 可能未安装。
sudo apt install qt5-default 在 Ubuntu 20.04 上安装时对我有用。

关于qt5 - 配置: error: Qtenv cannot find qmake in omnet++ installation,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59073579/

相关文章:

qt - 如何在 QML 的最后一帧暂停视频?

c++ - 如何使用 C++ 从 OMNet++ 中的 cModule 获取 cSimpleModule?

omnet++ - 如何在 t > 0 时开始静脉模拟

c++ - 使用 Qt5 OpenGL 3.3 替换 glSecondaryColorPointerEXT

c++ - 无法将 C++ 类型注册到 QML 系统

c++ - 使用 QDateTimeAxis 时 QChart 不显示任何系列数据

OMNeT++ .ini 文件参数

omnet++ - Veins 4.7.1 中 TrafficLight 节点初始化时出错

c++ - 检查 VEINS 中的重复项

c++ - 在 Qt5 中使用 Phonon——一个简单的视频播放器