File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
extensions/PythonQt_QtAll Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,22 @@ HEADERS += \
41
41
SOURCES += \
42
42
PythonQt_QtAll.cpp
43
43
44
+ # TODO: add these only when needed by configuration below
44
45
QT += gui svg sql network xml xmlpatterns opengl
45
46
QT += widgets printsupport multimedia multimediawidgets
46
47
QT += quick qml quickwidgets uitools
47
48
49
+ unix {
50
+ CONFIG += create_pc create_prl no_install_prl
51
+ QMAKE_PKGCONFIG_NAME = PythonQt_QtAll-Qt $${QT_MAJOR_VERSION }-Python $${PYTHON_VERSION }
52
+ QMAKE_PKGCONFIG_DESCRIPTION = Dynamic Python binding for the Qt framework
53
+ QMAKE_PKGCONFIG_PREFIX = $$INSTALLBASE
54
+ QMAKE_PKGCONFIG_LIBDIR = $$target.path
55
+ QMAKE_PKGCONFIG_INCDIR = $$headers.path
56
+ QMAKE_PKGCONFIG_INCDIR += $$PREFIX /include/PythonQt5
57
+ QMAKE_PKGCONFIG_VERSION = $$VERSION
58
+ }
59
+
48
60
unix : target.path = /lib
49
61
win32 : target.path = /
50
62
Original file line number Diff line number Diff line change @@ -42,6 +42,16 @@ include ( src.pri )
42
42
include ($${PYTHONQT_GENERATED_PATH}/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri )
43
43
include ($${PYTHONQT_GENERATED_PATH}/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri )
44
44
45
+ unix {
46
+ CONFIG += create_pc create_prl no_install_prl
47
+ QMAKE_PKGCONFIG_NAME = PythonQt-Qt $${QT_MAJOR_VERSION }-Python $${PYTHON_VERSION }
48
+ QMAKE_PKGCONFIG_DESCRIPTION = Dynamic Python binding for the Qt framework
49
+ QMAKE_PKGCONFIG_PREFIX = $$INSTALLBASE
50
+ QMAKE_PKGCONFIG_LIBDIR = $$target.path
51
+ QMAKE_PKGCONFIG_INCDIR = $$headers.path
52
+ QMAKE_PKGCONFIG_INCDIR += $$PREFIX /include/PythonQt5
53
+ QMAKE_PKGCONFIG_VERSION = $$VERSION
54
+ }
45
55
46
56
unix : target.path = /lib
47
57
win32 : target.path = /
You can’t perform that action at this time.
0 commit comments