Apple silicon supports opengl

This commit is contained in:
Luis Ángel San Martín Rodríguez 2022-09-10 11:04:45 +02:00 committed by Luis Ángel San Martín
parent 3b01e993c0
commit bbe79cc27a

View File

@ -46,8 +46,10 @@ isEmpty(QMAKE_TARGET.arch) {
QMAKE_TARGET.arch = $$QMAKE_HOST.arch
}
contains(QMAKE_TARGET.arch, arm.*)|contains(QMAKE_TARGET.arch, aarch.*) {
message("Building for ARM architecture. Disabling OpenGL coverflow ...")
CONFIG += no_opengl
!macx { # Apple silicon supports opengl
CONFIG += no_opengl
message("Building for ARM architecture. Disabling OpenGL coverflow. If you know that your ARM arquitecture supports opengl, please edit config.pri to enable it.")
}
}
# build without opengl widget support