|
1 #always install the library |
|
2 win32 { |
|
3 dlltarget.path=$$[QT_INSTALL_BINS] |
|
4 INSTALLS += dlltarget |
|
5 } |
|
6 target.path=$$[QT_INSTALL_LIBS] |
|
7 INSTALLS += target |
|
8 |
|
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 { |
|
18 INSTALL_HEADERS = $$SYNCQT.HEADER_FILES |
|
19 equals(TARGET, QtCore) { |
|
20 #headers generated by configure |
|
21 INSTALL_HEADERS *= $$QT_BUILD_TREE/src/corelib/global/qconfig.h \ |
|
22 $$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 } |
|
33 |
|
34 equals(TARGET, phonon) { |
|
35 class_headers.path = $$HEADER_INSTALL_PATH/$$TARGET/Phonon |
|
36 } else { |
|
37 flat_headers.files = $$INSTALL_HEADERS |
|
38 flat_headers.path = $$HEADER_INSTALL_PATH/Qt |
|
39 INSTALLS += flat_headers |
|
40 |
|
41 class_headers.path = $$HEADER_INSTALL_PATH/$$TARGET |
|
42 } |
|
43 class_headers.files = $$SYNCQT.HEADER_CLASSES |
|
44 INSTALLS += class_headers |
|
45 |
|
46 targ_headers.files = $$INSTALL_HEADERS |
|
47 targ_headers.path = $$HEADER_INSTALL_PATH/$$TARGET |
|
48 INSTALLS += targ_headers |
|
49 } |
|
50 |
|
51 embedded:equals(TARGET, QtGui) { |
|
52 # install fonts for embedded |
|
53 INSTALLS += fonts |
|
54 fonts.path = $$[QT_INSTALL_LIBS]/fonts |
|
55 fonts.files = $$QT_SOURCE_TREE/lib/fonts/* |
|
56 } |