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

Annotation of /branches/qtcharts/qspeakers.pro

Parent Directory Parent Directory | Revision Log Revision Log


Revision 299 - (hide annotations)
Wed Nov 25 20:05:12 2020 UTC (8 months ago) by ben
File size: 3540 byte(s)
Display SPL value
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 296 CONFIG += c++11
9 ben 299 VERSION = 1.6.1
10 ben 281 REVISION = $$system(svnversion|grep '[[:digit:]]' || git describe --long --tags 2>/dev/null || 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 ben 287 translations.files = $${LOCALE_DIR}
104     database.files = "qspeakers_db.xml"
105 ben 293 scad.files = sealedbox_template.scad portedbox_template.scad bandpassbox_template.scad \
106     sealedbox_cutting_template.scad portedbox_cutting_template.scad bandpassbox_cutting_template.scad
107 ben 287
108 151 unix {
109 ben 34 target.path = $$BINDIR
110 151 manual.path = $$DATADIR/man/man1
111     manual.files = $${MANPAGE}.gz
112 152 manual.CONFIG = no_check_exist
113 ben 53 database.path = $$DATADIR/qspeakers
114 ben 75 translations.path = $$DATADIR/$${TARGET}
115 ben 69 mime.path = $$DATADIR/mime/packages
116 ben 70 mime.files = application-x-$${TARGET}.xml
117 ben 34 desktop.path = $$DATADIR/applications
118 ben 35 desktop.files = $${TARGET}.desktop
119 ben 34 icon.path = $$DATADIR/pixmaps
120 ben 91 icon.files = qspeakers.png
121 ben 287 scad.path = $$DATADIR/$${TARGET}
122 ben 34 INSTALLS += target \
123 ben 284 icon \
124 151 manual \
125 ben 53 database \
126 ben 34 translations \
127 ben 69 mime \
128 ben 287 desktop \
129     scad
130 ben 34 }
131 116
132 ben 249 win32-g++ {
133 116 target.path = $$BINDIR
134 127 database.path = $$DATADIR
135 116 translations.path = $$DATADIR/$${TARGET}
136 ben 287 scad.path = $$DATADIR/$${TARGET}
137 116 RC_ICONS += qspeakers.ico
138     INSTALLS += target \
139     database \
140     translations \
141 ben 287 scad
142 116 }

  ViewVC Help
Powered by ViewVC 1.1.26