##// END OF EJS Templates
fix PythonQt*Config.cmake _again_
fix PythonQt*Config.cmake _again_

File last commit:

r208:1476f2d2cf46
r214:10ef09a17283 master
Show More
PythonQt_Qt_5x.cmake
19 lines | 374 B | text/x-cmake | CMakeLexer
/ cmake / PythonQt_Qt_5x.cmake
find_package(Qt5Core REQUIRED)
# aliases
macro(qt_use_modules)
qt5_use_modules(${ARGN})
endmacro()
macro(qt_wrap_cpp)
qt5_wrap_cpp(${ARGN})
endmacro()
macro(qt_add_resources)
qt5_add_resources(${ARGN})
endmacro()
# version
set(QT_VERSION_MAJOR ${Qt5Core_VERSION_MAJOR})
set(QT_VERSION_MINOR ${Qt5Core_VERSION_MINOR})
set(QT_VERSION_PATCH ${Qt5Core_VERSION_PATCH})