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

Annotation of /branches/qtcharts/qspeakers.pro

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26