##// END OF EJS Templates
Fixed install issue.
jeandet -
r7:f6dfc217ca2f default
parent child
Show More
@@ -1,10 +1,10
1 TEMPLATE = subdirs
1 TEMPLATE = subdirs
2
2
3 CONFIG += ordered
3 CONFIG += ordered
4 SUBDIRS = src extensions tests examples
4 SUBDIRS = src extensions #tests examples
5
5
6 #contains(QT_MAJOR_VERSION, 5) {
6 #contains(QT_MAJOR_VERSION, 5) {
7 #SUBDIRS += generator_50
7 #SUBDIRS += generator_50
8 #} else {
8 #} else {
9 #SUBDIRS += generator
9 #SUBDIRS += generator
10 #}
10 #}
@@ -1,36 +1,63
1 # --------- PythonQt profile -------------------
1 # --------- PythonQt profile -------------------
2 # Last changed by $Author: florian $
2 # Last changed by $Author: florian $
3 # $Id: PythonQt.pro 35381 2006-03-16 13:05:52Z florian $
3 # $Id: PythonQt.pro 35381 2006-03-16 13:05:52Z florian $
4 # $Source$
4 # $Source$
5 # --------------------------------------------------
5 # --------------------------------------------------
6
6
7 TARGET = PythonQt
7 TARGET = PythonQt
8 TEMPLATE = lib
8 TEMPLATE = lib
9
9
10
10
11 DESTDIR = ../lib
11 DESTDIR = ../lib
12
12
13 CONFIG += qt
13 CONFIG += qt
14 CONFIG -= flat
14 CONFIG -= flat
15
15
16
16
17 # allow to choose static linking through the environment variable PYTHONQT_STATIC
17 # allow to choose static linking through the environment variable PYTHONQT_STATIC
18 PYTHONQT_STATIC = $$(PYTHONQT_STATIC)
18 PYTHONQT_STATIC = $$(PYTHONQT_STATIC)
19 isEmpty(PYTHONQT_STATIC) {
19 isEmpty(PYTHONQT_STATIC) {
20 CONFIG += dll
20 CONFIG += dll
21 } else {
21 } else {
22 CONFIG += static
22 CONFIG += static
23 }
23 }
24
24
25 contains(QT_MAJOR_VERSION, 5) {
25 contains(QT_MAJOR_VERSION, 5) {
26 QT += widgets
26 QT += widgets
27 }
27 }
28
28
29 mac {
29 mac {
30 OTHER_FILES += ../scripts/osx-fix-dylib.sh
30 OTHER_FILES += ../scripts/osx-fix-dylib.sh
31 }
31 }
32
32
33 include ( ../build/common.prf )
33 include ( ../build/common.prf )
34 include ( ../build/python.prf )
34 include ( ../build/python.prf )
35
35
36 include ( src.pri )
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