-
Notifications
You must be signed in to change notification settings - Fork 0
/
movies.pro
56 lines (44 loc) · 1.41 KB
/
movies.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
QT = core widgets qml quick network singleapplication
TEMPLATE = app
DEFINES += QT_DEPRECATED_WARNINGS
TARGET = movies
VERSION = 1.0.0
QMAKE_TARGET_PRODUCT = Movies
QMAKE_TARGET_COMPANY = "Danilo Ferreira"
QMAKE_TARGET_DESCRIPTION = Movies
QMAKE_TARGET_COPYRIGHT = "Copyright (c) 2018, Danilo Ferreira. All rights reserved."
PROJECTPATH = $$PWD
INCLUDEPATH = include
SOURCEPATH = src
RESOURCEPATH = res
BUILDPATH = $$OUT_PWD
HEADERS = \
$${INCLUDEPATH}/File.h \
$${INCLUDEPATH}/Global.h \
$${INCLUDEPATH}/MovieData.h \
$${INCLUDEPATH}/MovieDatabase.h \
$${INCLUDEPATH}/MovieLibrary.h \
$${INCLUDEPATH}/Movies.h \
$${INCLUDEPATH}/Runtime.h
SOURCES = \
$${SOURCEPATH}/File.cpp \
$${SOURCEPATH}/main.cpp \
$${SOURCEPATH}/MovieData.cpp \
$${SOURCEPATH}/MovieDatabase.cpp \
$${SOURCEPATH}/MovieLibrary.cpp \
$${SOURCEPATH}/Runtime.cpp
RESOURCES = $${RESOURCEPATH}/resources.qrc
RC_LANG = en_US.UTF-8
RC_ICONS = $${RESOURCEPATH}/icons/movies.ico
OBJECTS_DIR = $$BUILDPATH
RCC_DIR = $$BUILDPATH
MOC_DIR = $$BUILDPATH
DEPLOYTOOL = windeployqt
INSTALLTOOL = makensis
DEPLOYPATH = $${BUILDPATH}/release
QMLDIR = $${PROJECTPATH}/$${RESOURCEPATH}/ui
INSTALLSCRIPT = $${PROJECTPATH}/$${RESOURCEPATH}/scripts/setup.nsi
CONFIG(release, debug | release) {
QMAKE_POST_LINK = $${DEPLOYTOOL} --release --qmldir $${QMLDIR} $${DEPLOYPATH} &
QMAKE_POST_LINK += $${INSTALLTOOL} $${INSTALLSCRIPT}
}