解决方案是:
./configure --prefix="/usr/local/Qt6.2.0-linux-static-amd64" -platform linux-clang -confirm-license -release -opensource -static -no-gui -no-icu -no-glib -no-openssl -nomake tests -nomake examples -- -DQT_FORCE_MIN_CMAKE_VERSION_FOR_BUILDING_QT=3.17
./cmake --build . --parallel
【 在 hgoldfish (老鱼) 的大作中提到: 】
: 前几个月刚发布的 openSUSE Leap 15.3 已经不支持了。
: 报 cmake 版本太低。
: '/usr/bin/cmake' '-DBUILD_SHARED_LIBS=OFF' '-DCMAKE_INSTALL_PREFIX=/usr/local/Qt6.2.0-linux-static-amd64' '-DQT_BUILD_TESTS=FALSE' '-DQT_BUILD_EXAMPLES=FALSE' '-DCMAKE_BUILD_TYPE=Release' '-DQT_EXTRA_DEFINES=QT_FORCE_MIN_CMAKE_VERSION_FOR_BUILDING_QT
: ...................
--
修改:hgoldfish FROM 110.81.43.*
FROM 110.81.43.*