95
« Last post by Dave Yeo on January 04, 2025, 04:13:56 am »
Anyways, it appeared I was building the wrong versions, though successfully. Now building qt6-base-os2 with branch 6.2.x, "cmake install ." fails with,
-- The ASM compiler identification is unknown
-- Found assembler: W:/USR/BIN/cc.exe
-- Warning: Did not find file Compiler/-ASM
-- Could NOT find md4c (missing: md4c_DIR)
-- Could NOT find md4c (missing: md4c_DIR)
Note: When linking against OpenSSL, you can override the default library names through OPENSSL_LIBS. For example: OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked
-- Could NOT find Qt6OpenGL (missing: Qt6OpenGL_DIR)
CMake Warning at examples/widgets/graphicsview/chip/CMakeLists.txt:21 (find_package):
Found package configuration file:
C:/work/qt6-os2/qt6-base-os2/build/lib/cmake/Qt6/Qt6Config.cmake
but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
FOUND. Reason given by package:
Failed to find Qt component "OpenGL".
Expected Config file at
"C:/work/qt6-os2/qt6-base-os2/build/lib/cmake/Qt6OpenGL/Qt6OpenGLConfig.cmake"
does NOT exist
-- Could NOT find Qt6OpenGL (missing: Qt6OpenGL_DIR)
CMake Warning at build/lib/cmake/Qt6/Qt6Config.cmake:207 (message):
Failed to find Qt component "OpenGL".
Expected Config file at
"C:/work/qt6-os2/qt6-base-os2/build/lib/cmake/Qt6OpenGL/Qt6OpenGLConfig.cmake"
does NOT exist
Call Stack (most recent call first):
examples/widgets/painting/shared/use_lib.cmake:10 (find_package)
examples/widgets/painting/affine/CMakeLists.txt:42 (include)
-- Configuring done
-- Generating done
-- Build files have been written to: C:/work/qt6-os2/qt6-base-os2/build
My configure.cmd,
set BEGINLIBPATH=C:\work\qt6-os2\qt6-base-os2\build\lib
dash ../configure -prefix /qt6-6.2.x -release -no-opengl -system-sqlite -openssl-linked -no-pch -- -DQT_BUILD_EXAMPLES=ON -DQT_BUILD_TESTS=OFF 2>&1 | tee configure.log