/[qspeakers]/branches/qtcharts/qspeakers.pro
ViewVC logotype

Annotation of /branches/qtcharts/qspeakers.pro

Parent Directory Parent Directory | Revision Log Revision Log


Revision 263 - (hide annotations)
Fri Oct 9 10:02:17 2020 UTC (11 months, 2 weeks ago) by ben
File size: 3159 byte(s)
version 1.5
1 ben 1 #-------------------------------------------------
2     #
3     # Project created by QtCreator 2014-09-23T08:12:05
4     #
5     #-------------------------------------------------
6    
7 ben 227 QT += core gui xml widgets printsupport charts
8 ben 1
9 ben 263 VERSION = 1.5
10 ben 1 TARGET = qspeakers
11     TEMPLATE = app
12    
13 ben 251 win32-g++:HOST=__mswin
14     unix:HOST=__unix
15 ben 249
16    
17     win32-g++:contains(QMAKE_HOST.arch, x86_64):{
18     message("Host is 64bit")
19     }
20    
21 150 unix {
22 116 isEmpty(PREFIX): PREFIX = /usr/local
23     isEmpty(BINDIR): BINDIR = $$PREFIX/bin
24     isEmpty(DATADIR): DATADIR = $$PREFIX/share
25 ben 55 }
26 ben 1
27 ben 249 win32-g++ {
28 116 isEmpty(PREFIX): PREFIX = "C:/Program Files/QSpeakers"
29     isEmpty(BINDIR): BINDIR = $$PREFIX
30     isEmpty(DATADIR): DATADIR = $$PREFIX
31     }
32    
33 ben 55 config.input = config.h.in
34     config.output = config.h
35     QMAKE_SUBSTITUTES += config
36    
37 ben 219 SOURCES += main.cpp \
38 115 mainwindow.cpp \
39     speakerdialog.cpp \
40 ben 1 speakerdb.cpp \
41     speaker.cpp \
42     importexport.cpp \
43     box.cpp \
44     sealedbox.cpp \
45     portedbox.cpp \
46     bandpassbox.cpp \
47 ben 24 plot.cpp \
48     listdialog.cpp \
49 ben 32 searchdialog.cpp \
50 ben 219 system.cpp \
51 ben 220 optimizer.cpp \
52     bandpassdialog.cpp
53 ben 1
54     HEADERS += mainwindow.h \
55 115 speakerdialog.h \
56 ben 1 speakerdb.h \
57     speaker.h \
58     importexport.h \
59     box.h \
60     sealedbox.h \
61     portedbox.h \
62 ben 5 bandpassbox.h \
63 ben 24 plot.h \
64     listdialog.h \
65 ben 32 searchdialog.h \
66 ben 219 system.h \
67 ben 220 optimizer.h \
68 ben 259 bandpassdialog.h \
69     undocommands.h
70 ben 1
71     FORMS += mainwindow.ui \
72 115 speakerdialog.ui \
73 ben 24 listdialog.ui \
74 ben 220 searchdialog.ui \
75     bandpassdialog.ui
76 ben 1
77 116 isEmpty(QMAKE_LRELEASE):QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
78 ben 34
79     TRANSLATIONS += \
80     qspeakers_en.ts \
81     qspeakers_fr.ts
82    
83 ben 75 LOCALE_DIR = locale
84    
85     updateqm.input = TRANSLATIONS
86     updateqm.output = $$LOCALE_DIR/${QMAKE_FILE_BASE}.qm
87     updateqm.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm $$LOCALE_DIR/${QMAKE_FILE_BASE}.qm
88     updateqm.CONFIG += no_link target_predeps
89     QMAKE_EXTRA_COMPILERS += updateqm
90    
91 150
92     unix {
93 152 MANPAGE = "qspeakers.1"
94 151 manpage.input = MANPAGE
95 166 manpage.output = $${MANPAGE}.gz
96 150 manpage.commands = gzip --to-stdout ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
97     manpage.CONFIG += no_link target_predeps
98     QMAKE_EXTRA_COMPILERS += manpage
99 151 }
100    
101     unix {
102 ben 34 target.path = $$BINDIR
103 151 manual.path = $$DATADIR/man/man1
104     manual.files = $${MANPAGE}.gz
105 152 manual.CONFIG = no_check_exist
106 ben 53 database.path = $$DATADIR/qspeakers
107 152 database.files = "qspeakers_db.xml"
108 ben 75 translations.path = $$DATADIR/$${TARGET}
109 ben 50 translations.files = $${LOCALE_DIR}
110 ben 69 mime.path = $$DATADIR/mime/packages
111 ben 70 mime.files = application-x-$${TARGET}.xml
112 ben 34 desktop.path = $$DATADIR/applications
113 ben 35 desktop.files = $${TARGET}.desktop
114 ben 34 icon.path = $$DATADIR/pixmaps
115 ben 91 icon.files = qspeakers.png
116 ben 34 INSTALLS += target \
117 151 manual \
118 ben 53 database \
119 ben 34 translations \
120 ben 69 mime \
121 ben 34 desktop \
122     icon
123     }
124 116
125 ben 249 win32-g++ {
126 116 target.path = $$BINDIR
127 127 database.path = $$DATADIR
128 116 database.files = qspeakers_db.xml
129     translations.path = $$DATADIR/$${TARGET}
130     translations.files = $${LOCALE_DIR}
131     RC_ICONS += qspeakers.ico
132     INSTALLS += target \
133     database \
134     translations \
135     }

  ViewVC Help
Powered by ViewVC 1.1.26