我正在尝试在 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/