-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.0.0 Beta3
I configure qtbase with
../configure -cmake -debug -xcb -no-warnings-are-errors -no-pch \ -nomake tests -nomake examples \ -prefix /home/cc-runs/install_dir \ -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-avx2 -no-avx512 \ -- -DCMAKE_C_COMPILER=clang-11 -DCMAKE_CXX_COMPILER=clang++-11 -DCMAKE_CXX_FLAGS=-stdlib=libc++
Then I was getting strange linking errors ("symbol not found") in QtSvg module. I configure QtSvg as:
/home/cc-runs/install_dir/bin/qt-configure-module ..
My linking errors were gone after changing the configure line as such:
/home/cc-runs/install_dir/bin/qt-configure-module .. -- -DCMAKE_CXX_FLAGS='-stdlib=libc++'
Shouldn't the CMAKE_CXX_FLAGS be remembered? Please note that CMAKE_CXX_COMPILER is indeed remembered.
- resulted from
-
QTBUG-88411 qtsvg fails to link when configuring with -no-sse3
-
- Closed
-