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

Annotation of /branches/qtcharts/qspeakers.pro

Parent Directory Parent Directory | Revision Log Revision Log


Revision 236 - (hide annotations)
Fri Dec 6 22:51:43 2019 UTC (19 months, 3 weeks ago) by ben
File size: 3012 byte(s)
update all with all T/S parameters (except xml db)
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 236 VERSION = 1.2.1
10 ben 1 TARGET = qspeakers
11     TEMPLATE = app
12    
13 150 unix {
14 116 isEmpty(PREFIX): PREFIX = /usr/local
15     isEmpty(BINDIR): BINDIR = $$PREFIX/bin
16     isEmpty(DATADIR): DATADIR = $$PREFIX/share
17 ben 55 }
18 ben 1
19 150 win32 {
20 116 isEmpty(PREFIX): PREFIX = "C:/Program Files/QSpeakers"
21     isEmpty(BINDIR): BINDIR = $$PREFIX
22     isEmpty(DATADIR): DATADIR = $$PREFIX
23     }
24    
25 ben 55 config.input = config.h.in
26     config.output = config.h
27     QMAKE_SUBSTITUTES += config
28    
29 ben 219 SOURCES += main.cpp \
30 115 mainwindow.cpp \
31     speakerdialog.cpp \
32 ben 1 speakerdb.cpp \
33     speaker.cpp \
34     importexport.cpp \
35     box.cpp \
36     sealedbox.cpp \
37     portedbox.cpp \
38     bandpassbox.cpp \
39 ben 24 plot.cpp \
40     listdialog.cpp \
41 ben 32 searchdialog.cpp \
42 ben 219 system.cpp \
43 ben 220 optimizer.cpp \
44     bandpassdialog.cpp
45 ben 1
46     HEADERS += mainwindow.h \
47 115 speakerdialog.h \
48 ben 1 speakerdb.h \
49     speaker.h \
50     importexport.h \
51     box.h \
52     sealedbox.h \
53     portedbox.h \
54 ben 5 bandpassbox.h \
55 ben 24 plot.h \
56     listdialog.h \
57 ben 32 searchdialog.h \
58 ben 219 system.h \
59 ben 220 optimizer.h \
60     bandpassdialog.h
61 ben 1
62     FORMS += mainwindow.ui \
63 115 speakerdialog.ui \
64 ben 24 listdialog.ui \
65 ben 220 searchdialog.ui \
66     bandpassdialog.ui
67 ben 1
68 116 isEmpty(QMAKE_LRELEASE):QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
69 ben 34
70     TRANSLATIONS += \
71     qspeakers_en.ts \
72     qspeakers_fr.ts
73    
74 ben 75 LOCALE_DIR = locale
75    
76     updateqm.input = TRANSLATIONS
77     updateqm.output = $$LOCALE_DIR/${QMAKE_FILE_BASE}.qm
78     updateqm.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm $$LOCALE_DIR/${QMAKE_FILE_BASE}.qm
79     updateqm.CONFIG += no_link target_predeps
80     QMAKE_EXTRA_COMPILERS += updateqm
81    
82 150
83     unix {
84 152 MANPAGE = "qspeakers.1"
85 151 manpage.input = MANPAGE
86 166 manpage.output = $${MANPAGE}.gz
87 150 manpage.commands = gzip --to-stdout ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
88     manpage.CONFIG += no_link target_predeps
89     QMAKE_EXTRA_COMPILERS += manpage
90 151 }
91    
92     unix {
93 ben 34 target.path = $$BINDIR
94 151 manual.path = $$DATADIR/man/man1
95     manual.files = $${MANPAGE}.gz
96 152 manual.CONFIG = no_check_exist
97 ben 53 database.path = $$DATADIR/qspeakers
98 152 database.files = "qspeakers_db.xml"
99 ben 75 translations.path = $$DATADIR/$${TARGET}
100 ben 50 translations.files = $${LOCALE_DIR}
101 ben 69 mime.path = $$DATADIR/mime/packages
102 ben 70 mime.files = application-x-$${TARGET}.xml
103 ben 34 desktop.path = $$DATADIR/applications
104 ben 35 desktop.files = $${TARGET}.desktop
105 ben 34 icon.path = $$DATADIR/pixmaps
106 ben 91 icon.files = qspeakers.png
107 ben 34 INSTALLS += target \
108 151 manual \
109 ben 53 database \
110 ben 34 translations \
111 ben 69 mime \
112 ben 34 desktop \
113     icon
114     }
115 116
116 150 win32 {
117 116 target.path = $$BINDIR
118 127 database.path = $$DATADIR
119 116 database.files = qspeakers_db.xml
120     translations.path = $$DATADIR/$${TARGET}
121     translations.files = $${LOCALE_DIR}
122     RC_ICONS += qspeakers.ico
123     INSTALLS += target \
124     database \
125     translations \
126     }

  ViewVC Help
Powered by ViewVC 1.1.26