forked from neos80/qTrassa
-
Notifications
You must be signed in to change notification settings - Fork 1
/
qTrassa.pro
101 lines (81 loc) · 2.3 KB
/
qTrassa.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#-------------------------------------------------
#
# Project created by QtCreator 2014-11-03T11:55:35
#
#-------------------------------------------------
QT += core gui
CONFIG += static
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
VERSION = 0.52
#QMAKE_TARGET_COMPANY = Kosorukov O.M.
#QMAKE_TARGET_PRODUCT = qTrassa
#QMAKE_TARGET_DESCRIPTION = App qTrassa
#QMAKE_TARGET_COPYRIGHT =Oleg M.Kosorukov 2019
TARGET = qTrassa
TEMPLATE = app
SOURCES += src/main.cpp \
src/mainwindow.cpp \
src/geo.cpp \
src/comboboxdelegate.cpp \
src/qlineeditdelegate.cpp \
src/calcq.cpp \
src/about.cpp
HEADERS += src/mainwindow.h \
src/geo.h \
src/comboboxdelegate.h \
src/qlineeditdelegate.h \
src/calcq.h \
src/about.h
FORMS += form/mainwindow.ui \
form/calcq.ui \
form/about.ui
OTHER_FILES +=
RESOURCES += icon.qrc
RC_FILE = myapp.rc
CONFIG += release
CONFIG += static
#QMAKE_LFLAGS += -static -static-libgcc
#LIBS += -static-libgcc -lz
LIBS += -lz
# Select the build directory of the executable file
# depending on the build mode of the project
CONFIG(debug, debug|release) {
DESTDIR = $$OUT_PWD/debug/
} else {
DESTDIR = $$OUT_PWD/bin/
}
# split all output files of the project into directories
MOC_DIR = common/moc
RCC_DIR = common/rcc
UI_DIR = common/ui
unix:OBJECTS_DIR =common/unix
win32:OBJECTS_DIR = common/win32
macx:OBJECTS_DIR = common/mac
#Сборка библиотек
isEmpty(TARGET_EXT) {
win32 {
TARGET_CUSTOM_EXT = .exe
}
macx {
TARGET_CUSTOM_EXT = .app
}
} else {
TARGET_CUSTOM_EXT = $${TARGET_EXT}
}
win32 {
DEPLOY_COMMAND = $$(QTDIR)/bin/windeployqt
}
macx {
DEPLOY_COMMAND = $$(QTDIR)/bin/macdeployqt
}
CONFIG( debug, debug|release ) {
# debug
DEPLOY_TARGET = $$shell_quote($$shell_path($${OUT_PWD}/debug/$${TARGET}$${TARGET_CUSTOM_EXT}))
} else {
# release
DEPLOY_TARGET = $$shell_quote($$shell_path($${OUT_PWD}/bin/$${TARGET}$${TARGET_CUSTOM_EXT}))
}
# # Uncomment the following line to help debug the deploy command when running qmake
# warning($${DEPLOY_COMMAND} $${DEPLOY_TARGET})
# Use += instead of = if you use multiple QMAKE_POST_LINKs
QMAKE_POST_LINK = $${DEPLOY_COMMAND} $${DEPLOY_TARGET}