Changeset View
Changeset View
Standalone View
Standalone View
3rdparty/ext_pyqt/CMakeLists.txt
Context not available. | |||||
5 | message("WARNING: using system python3!") | 5 | message("WARNING: using system python3!") | ||
---|---|---|---|---|---|
6 | SET(PYTHON_EXECUTABLE_PATH python3) | 6 | SET(PYTHON_EXECUTABLE_PATH python3) | ||
7 | endif() | 7 | endif() | ||
8 | | ||||
9 | ExternalProject_Add( ext_pyqt | 8 | ExternalProject_Add( ext_pyqt | ||
10 | DOWNLOAD_DIR ${EXTERNALS_DOWNLOAD_DIR} | 9 | DOWNLOAD_DIR ${EXTERNALS_DOWNLOAD_DIR} | ||
11 | URL http://files.kde.org/krita/build/dependencies/PyQt5_gpl-5.6.tar.gz | 10 | URL http://files.kde.org/krita/build/dependencies/PyQt5_gpl-5.6.tar.gz | ||
Context not available. | |||||
30 | --spec win32-g++ | 29 | --spec win32-g++ | ||
31 | --verbose | 30 | --verbose | ||
32 | --sipdir ${PREFIX_ext_pyqt}/share/sip | 31 | --sipdir ${PREFIX_ext_pyqt}/share/sip | ||
33 | --destdir ${PREFIX_ext_pyqt}/share/krita/pykrita | 32 | --destdir ${PREFIX_ext_pyqt}/lib/krita-python-libs | ||
34 | --stubsdir ${PREFIX_ext_pyqt}/share/krita/pykrita/PyQt5 | 33 | --stubsdir ${PREFIX_ext_pyqt}/lib/krita-python-libs/PyQt5 | ||
35 | --no-qml-plugin --no-python-dbus --no-qsci-api --no-tools | 34 | --no-qml-plugin --no-python-dbus --no-qsci-api --no-tools | ||
36 | --disable QtSql --disable QtTest --disable QtWinExtras | 35 | --disable QtSql --disable QtTest --disable QtWinExtras | ||
37 | ) | 36 | ) | ||
38 | ExternalProject_Add( ext_pyqt | 37 | ExternalProject_Add( ext_pyqt | ||
39 | DOWNLOAD_DIR ${EXTERNALS_DOWNLOAD_DIR} | 38 | DOWNLOAD_DIR ${EXTERNALS_DOWNLOAD_DIR} | ||
40 | URL https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.9/PyQt5_gpl-5.9.zip | 39 | URL https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.9.2/PyQt5_gpl-5.9.2.zip | ||
41 | URL_MD5 d978884753df265896eda436d8f4e07b | 40 | URL_MD5 67eacf2f486f77136c9758e03fe6889e | ||
42 | PATCH_COMMAND ${PATCH_COMMAND} -p1 -i ${CMAKE_CURRENT_SOURCE_DIR}/pyqt-configure-fix.patch | 41 | PATCH_COMMAND ${PATCH_COMMAND} -p1 -i ${CMAKE_CURRENT_SOURCE_DIR}/pyqt-configure-fix.patch | ||
43 | 42 | | |||
44 | CONFIGURE_COMMAND ${PYTHON_EXECUTABLE} <SOURCE_DIR>/configure.py ${_PYQT_conf} | 43 | CONFIGURE_COMMAND ${PYTHON_EXECUTABLE} <SOURCE_DIR>/configure.py ${_PYQT_conf} | ||
Context not available. |