/[svn]/qsampler/trunk/src/src.pro
ViewVC logotype

Contents of /qsampler/trunk/src/src.pro

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2415 - (show annotations) (download)
Thu Feb 14 14:57:43 2013 UTC (11 years, 1 month ago) by capela
File size: 2241 byte(s)
- Yet another Qt5 preparations fix.
1 # qsampler.pro
2 #
3 TARGET = qsampler
4
5 TEMPLATE = app
6 DEPENDPATH += .
7 INCLUDEPATH += .
8
9 include(src.pri)
10
11 #DEFINES += DEBUG
12
13 HEADERS += config.h \
14 qsamplerAbout.h \
15 qsamplerOptions.h \
16 qsamplerChannel.h \
17 qsamplerMessages.h \
18 qsamplerInstrument.h \
19 qsamplerInstrumentList.h \
20 qsamplerDevice.h \
21 qsamplerFxSend.h \
22 qsamplerFxSendsModel.h \
23 qsamplerUtilities.h \
24 qsamplerInstrumentForm.h \
25 qsamplerInstrumentListForm.h \
26 qsamplerDeviceForm.h \
27 qsamplerDeviceStatusForm.h \
28 qsamplerChannelStrip.h \
29 qsamplerChannelForm.h \
30 qsamplerChannelFxForm.h \
31 qsamplerOptionsForm.h \
32 qsamplerMainForm.h
33
34 SOURCES += \
35 qsampler.cpp \
36 qsamplerOptions.cpp \
37 qsamplerChannel.cpp \
38 qsamplerMessages.cpp \
39 qsamplerInstrument.cpp \
40 qsamplerInstrumentList.cpp \
41 qsamplerDevice.cpp \
42 qsamplerFxSend.cpp \
43 qsamplerFxSendsModel.cpp \
44 qsamplerUtilities.cpp \
45 qsamplerInstrumentForm.cpp \
46 qsamplerInstrumentListForm.cpp \
47 qsamplerDeviceForm.cpp \
48 qsamplerDeviceStatusForm.cpp \
49 qsamplerChannelStrip.cpp \
50 qsamplerChannelForm.cpp \
51 qsamplerChannelFxForm.cpp \
52 qsamplerOptionsForm.cpp \
53 qsamplerMainForm.cpp
54
55 FORMS += \
56 qsamplerInstrumentForm.ui \
57 qsamplerInstrumentListForm.ui \
58 qsamplerDeviceForm.ui \
59 qsamplerChannelStrip.ui \
60 qsamplerChannelForm.ui \
61 qsamplerChannelFxForm.ui \
62 qsamplerOptionsForm.ui \
63 qsamplerMainForm.ui
64
65 RESOURCES += \
66 qsampler.qrc
67
68 TRANSLATIONS += \
69 translations/qsampler_cs.ts \
70 translations/qsampler_ru.ts
71
72 unix {
73
74 # variables
75 OBJECTS_DIR = .obj
76 MOC_DIR = .moc
77 UI_DIR = .ui
78
79 isEmpty(PREFIX) {
80 PREFIX = /usr/local
81 }
82
83 BINDIR = $$PREFIX/bin
84 DATADIR = $$PREFIX/share
85 LOCALEDIR = $(localedir)
86
87 DEFINES += DATADIR=\"$$DATADIR\"
88
89 !isEmpty(LOCALEDIR) {
90 DEFINES += LOCALEDIR=\"$$LOCALEDIR\"
91 }
92
93 # make install
94 INSTALLS += target desktop icon
95
96 target.path = $$BINDIR
97
98 desktop.path = $$DATADIR/applications
99 desktop.files += $${TARGET}.desktop
100
101 icon.path = $$DATADIR/icons/hicolor/32x32/apps
102 icon.files += images/$${TARGET}.png
103 }
104
105 win32 {
106
107 CONFIG(debug, debug|release): CONFIG += console
108 INSTALLS += target
109 target.path = $$PREFIX/bin
110 }
111
112 macx {
113
114 QMAKE_MAC_SDK = $$(SDKROOT)
115 CONFIG += $$(QMAKE_ARCHS)
116 }
117
118
119 # QT5 support
120 !lessThan(QT_MAJOR_VERSION, 5) {
121 QT += widgets
122 }

  ViewVC Help
Powered by ViewVC