OpenGL on MAC compile - 6.2.8
-
Hi -
I am building Qt 6.2.8 on MAC M3 using the below cmake to configure:
cmake -DCMAKE_BUILD_TYPE=Debug -DQT_NO_OPENGL=ON —G Ninja -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 -DCMAKE_PREFIX_PATH=“/Users/user1/Documents/my_qt_install:/Users/user1/Document/my_llvm” .
This gave me the below error. I believe this is because the source is using OpenGL. Can you please guide as how I can configure it without using OpenGL?
QOpenGL2PaintEngineEx::beginNativePainting() in qopenglpaintengine.cpp.o ld: symbol(s) not found for architecture arm64
Sincerely,
Student_T101 -
When you build Qt you usually don't call CMake directly. Instead you call:
configure make make install
configure has many parameters, probably also something to disable OpenGL, check that.