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

Annotation of /branches/qtcharts/qspeakers.pro

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26