-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathLibraryMS.pro
More file actions
55 lines (45 loc) · 1.25 KB
/
Copy pathLibraryMS.pro
File metadata and controls
55 lines (45 loc) · 1.25 KB
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
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
admin_page.cpp \
main.cpp \
login.cpp \
student_page.cpp
HEADERS += \
admin.h \
admin_page.h \
book.h \
date.h \
json_parsing.h \
login.h \
student.h \
student_page.h \
user.h
FORMS += \
admin_page.ui \
login.ui \
student_page.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
DISTFILES += \
JSON/admin_data.json \
JSON/book_data.json \
JSON/student_data.json \
img/default_profile.jpg \
img/icon.png
copyjson.commands = $(COPY_DIR) $$PWD/JSON $$OUT_PWD
first.depends = $(first) copyjson
export(first.depends)
export(copyjson.commands)
QMAKE_EXTRA_TARGETS += first copyjson
copyimg.commands = $(COPY_DIR) $$PWD/img $$OUT_PWD
second.depends = $(second) copyimg
export(second.depends)
export(copyimg.commands)
QMAKE_EXTRA_TARGETS += second copyimg