然后在.profile中设置路径。我之前对/home/user/Software/qt-4.7.4- static -build执行了静态构建。由于某些原因,即使在更新了PATH env变量之后,它也不会更改为新的path,并继续提供旧的qmake版本。我尝试了源命令,但它确实有帮助,而且当我尝试qmake -version时,它也显示了旧路径。如果我在qt项目中尝试qmake,显然它会给我
QMAKESPEC has not been set,
find a package configuration file provided by "Qt5Widgets" with any of the following names:
我的qtbase路径在"/media/roroco/disk750/Downloads/qt5/qtbase“中,我已经编译了它,如何在find_package中指定这个路径