5 } |
5 } |
6 target.path=$$[QT_INSTALL_LIBS] |
6 target.path=$$[QT_INSTALL_LIBS] |
7 INSTALLS += target |
7 INSTALLS += target |
8 |
8 |
9 #headers |
9 #headers |
10 !symbian: { |
|
11 HEADER_INSTALL_PATH = $$[QT_INSTALL_HEADERS] |
|
12 } else { |
|
13 # QT_BOOTSTRAPPED qmake doesn't seem to take care of -headedir |
|
14 HEADER_INSTALL_PATH = /epoc32/include/mw |
|
15 } |
|
16 |
|
17 qt_install_headers { |
10 qt_install_headers { |
18 INSTALL_HEADERS = $$SYNCQT.HEADER_FILES |
11 INSTALL_HEADERS = $$SYNCQT.HEADER_FILES |
19 equals(TARGET, QtCore) { |
12 equals(TARGET, QtCore) { |
20 #headers generated by configure |
13 #headers generated by configure |
21 INSTALL_HEADERS *= $$QT_BUILD_TREE/src/corelib/global/qconfig.h \ |
14 INSTALL_HEADERS *= $$QT_BUILD_TREE/src/corelib/global/qconfig.h \ |
22 $$QT_SOURCE_TREE/src/corelib/arch/$$QT_ARCH/arch |
15 $$QT_SOURCE_TREE/src/corelib/arch/$$QT_ARCH/arch |
23 } |
|
24 # :QTP: avoid duplicate exports for qconfig.h and qxmlstream.h |
|
25 symbian: { |
|
26 equals(TARGET, QtXml) { |
|
27 INSTALL_HEADERS -= ../xml/stream/qxmlstream.h |
|
28 } |
|
29 equals(TARGET, QtCore) { |
|
30 INSTALL_HEADERS -= $$QT_BUILD_TREE/src/corelib/global/qconfig.h |
|
31 } |
|
32 equals(TARGET, phonon) { |
|
33 INSTALL_HEADERS -= ../../include/phonon_compat/phonon/phonon \ |
|
34 ../../include/phonon/Phonon/Phonon |
|
35 } |
|
36 } |
16 } |
37 |
17 |
38 equals(TARGET, phonon) { |
18 equals(TARGET, phonon) { |
39 class_headers.path = $$HEADER_INSTALL_PATH/$$TARGET/Phonon |
19 class_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET |
40 } else { |
20 } else { |
41 flat_headers.files = $$INSTALL_HEADERS |
21 flat_headers.files = $$INSTALL_HEADERS |
42 flat_headers.path = $$HEADER_INSTALL_PATH/Qt |
22 flat_headers.path = $$[QT_INSTALL_HEADERS]/Qt |
43 INSTALLS += flat_headers |
23 INSTALLS += flat_headers |
44 |
24 |
45 class_headers.path = $$HEADER_INSTALL_PATH/$$TARGET |
25 class_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET |
46 } |
26 } |
47 class_headers.files = $$SYNCQT.HEADER_CLASSES |
27 class_headers.files = $$SYNCQT.HEADER_CLASSES |
48 INSTALLS += class_headers |
28 INSTALLS += class_headers |
49 |
29 |
50 targ_headers.files = $$INSTALL_HEADERS |
30 targ_headers.files = $$INSTALL_HEADERS |
51 targ_headers.path = $$HEADER_INSTALL_PATH/$$TARGET |
31 targ_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET |
52 INSTALLS += targ_headers |
32 INSTALLS += targ_headers |
53 |
33 |
54 contains(QT_CONFIG,private_tests) { |
34 contains(QT_CONFIG,private_tests) { |
55 private_headers.files = $$SYNCQT.PRIVATE_HEADER_FILES |
35 private_headers.files = $$SYNCQT.PRIVATE_HEADER_FILES |
56 private_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET/private |
36 private_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET/private |