/
Alx89
/
OpenCV-Python
Обзор
Документация
Войти
/
Alx89
/
OpenCV-Python
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
4.x
patches/patchQtPlugins
25 строк
1 KB
Alexander Smorkalov
Dependencies update for 4.10.0 release. (#984)
30 май 2024, 15:46
Не верифицирован
30 май 2024, 15:46
542cf06
Код
Авторство
О чём код?
diff --git a/opencv/CMakeLists.txt b/opencv/CMakeLists.txt index 4c0b3880fc..dffa0a4caa 100644 --- a/opencv/CMakeLists.txt +++ b/opencv/CMakeLists.txt @@ -1187,6 +1187,13 @@ if(WITH_QT OR HAVE_QT) if(HAVE_QT) status(" QT:" "YES (ver ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH} ${QT_EDITION})") + if(APPLE) + install(DIRECTORY ${Qt5_DIR}/../../../plugins DESTINATION lib/qt) + endif() + if(UNIX AND NOT APPLE) + install(DIRECTORY /opt/Qt5.15.13/plugins DESTINATION lib/qt) + install(DIRECTORY /usr/share/fonts DESTINATION lib/qt) + endif() if(HAVE_QT_OPENGL) if(Qt${QT_VERSION_MAJOR}OpenGL_LIBRARIES) status(" QT OpenGL support:" HAVE_QT_OPENGL THEN "YES (${Qt${QT_VERSION_MAJOR}OpenGL_LIBRARIES} ${Qt${QT_VERSION_MAJOR}OpenGL_VERSION_STRING})" ELSE NO) else() status(" QT OpenGL support:" HAVE_QT_OPENGL THEN "YES (${QT_QTOPENGL_LIBRARY})" ELSE NO) endif() else() status(" QT OpenGL support:" "NO") endif() else() status(" QT:" "NO")