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

Contents of /branches/qtcharts/qspeakers.pro

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26