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

Annotation of /branches/qtcharts/qspeakers.pro

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26