mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Qt5MacExtras is required on a Mac; report the version of Qt5
This commit is contained in:
parent
5af8238700
commit
1e1c2ed1d1
@ -555,7 +555,7 @@ if(LYX_USE_QT MATCHES "QT5")
|
||||
if (Qt5Core_FOUND)
|
||||
find_package(Qt5Widgets REQUIRED)
|
||||
if(APPLE)
|
||||
find_package(Qt5MacExtras)
|
||||
find_package(Qt5MacExtras REQUIRED)
|
||||
endif()
|
||||
find_package(Qt5X11Extras QUIET)
|
||||
set(QTVERSION ${Qt5Core_VERSION})
|
||||
@ -568,6 +568,7 @@ if(LYX_USE_QT MATCHES "QT5")
|
||||
macro (qt_wrap_uifiles)
|
||||
qt5_wrap_ui(${ARGN})
|
||||
endmacro()
|
||||
message(STATUS "Found Qt-Version ${QTVERSION}")
|
||||
endif()
|
||||
elseif(LYX_USE_QT MATCHES "QT4")
|
||||
find_package(Qt4 "4.5.0" REQUIRED)
|
||||
|
Loading…
Reference in New Issue
Block a user