问题现象描述
运行
./configure --prefix=/usr --disable-gui --with-libgeoip=system CXXFLAGS=-std=c++11
无法生成makefile
报错
checking for Qt5 qmake >= 5.15.2... not found
configure: error: Could not find qmake
运行
qmake -v
输出
QMake version 3.1
Using Qt version 5.15.8 in /opt/Qt5.15.8/lib
环境信息
Centos 7.9.2009
x86_64
qt 5.15.8