@@ -1,10 +1,10 | |||
|
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 |
|
8 | 8 | #} else { |
|
9 | 9 | #SUBDIRS += generator |
|
10 | 10 | #} |
@@ -1,36 +1,63 | |||
|
1 | 1 | # --------- PythonQt profile ------------------- |
|
2 | 2 | # Last changed by $Author: florian $ |
|
3 | 3 | # $Id: PythonQt.pro 35381 2006-03-16 13:05:52Z florian $ |
|
4 | 4 | # $Source$ |
|
5 | 5 | # -------------------------------------------------- |
|
6 | 6 | |
|
7 | 7 | TARGET = PythonQt |
|
8 | 8 | TEMPLATE = lib |
|
9 | 9 | |
|
10 | 10 | |
|
11 | 11 | DESTDIR = ../lib |
|
12 | 12 | |
|
13 | 13 | CONFIG += qt |
|
14 | 14 | CONFIG -= flat |
|
15 | 15 | |
|
16 | 16 | |
|
17 | 17 | # allow to choose static linking through the environment variable PYTHONQT_STATIC |
|
18 | 18 | PYTHONQT_STATIC = $$(PYTHONQT_STATIC) |
|
19 | 19 | isEmpty(PYTHONQT_STATIC) { |
|
20 | 20 | CONFIG += dll |
|
21 | 21 | } else { |
|
22 | 22 | CONFIG += static |
|
23 | 23 | } |
|
24 | 24 | |
|
25 | 25 | contains(QT_MAJOR_VERSION, 5) { |
|
26 | 26 | QT += widgets |
|
27 | 27 | } |
|
28 | 28 | |
|
29 | 29 | mac { |
|
30 | 30 | OTHER_FILES += ../scripts/osx-fix-dylib.sh |
|
31 | 31 | } |
|
32 | 32 | |
|
33 | 33 | 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