@@ -1,7 +1,7 | |||
|
1 | 1 | TEMPLATE = subdirs |
|
2 | 2 | |
|
3 | 3 | CONFIG += ordered |
|
4 | SUBDIRS = src extensions tests examples | |
|
4 | SUBDIRS = src extensions #tests examples | |
|
5 | 5 | |
|
6 | 6 | #contains(QT_MAJOR_VERSION, 5) { |
|
7 | 7 | #SUBDIRS += generator_50 |
@@ -34,3 +34,30 include ( ../build/common.prf ) | |||
|
34 | 34 | include ( ../build/python.prf ) |
|
35 | 35 | |
|
36 | 36 | include ( src.pri ) |
|
37 | ||
|
38 | #added by Aje for install QT dirs. | |
|
39 | #Copyed from Qscintilla config ;). | |
|
40 | ||
|
41 | ||
|
42 | pythoncfg.path = $$[QT_INSTALL_PREFIX]/mkspecs/features | |
|
43 | pythoncfg.files = ../build/pythonqt.prf | |
|
44 | ||
|
45 | target.path = $$[QT_INSTALL_LIBS] | |
|
46 | isEmpty(target.path) { | |
|
47 | target.path = $(QTDIR)/lib | |
|
48 | } | |
|
49 | ||
|
50 | header.path = $$[QT_INSTALL_HEADERS]/PythonQt | |
|
51 | header.files = *.h | |
|
52 | isEmpty(header.path) { | |
|
53 | header.path = $(QTDIR)/include/PythonQt | |
|
54 | header.files = *.h | |
|
55 | } | |
|
56 | guiheader.path = $$[QT_INSTALL_HEADERS]/PythonQt/gui | |
|
57 | guiheader.files = gui/*.h | |
|
58 | isEmpty(guiheader.path) { | |
|
59 | guiheader.path = $(QTDIR)/include/PythonQt/gui | |
|
60 | guiheader.files = gui/*.h | |
|
61 | } | |
|
62 | INSTALLS += header target guiheader pythoncfg | |
|
63 |
General Comments 0
You need to be logged in to leave comments.
Login now