-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsp_demo.pro
More file actions
73 lines (60 loc) · 1.91 KB
/
Copy pathsp_demo.pro
File metadata and controls
73 lines (60 loc) · 1.91 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
TEMPLATE = app
QT += qml quick widgets multimedia sql
CONFIG += c++11
include(Programmer.pri)
include(Deployment.pri)
include($$PWD/../sp_qt_libs/sp_qt_libs.pri)
INCLUDEPATH += Include
HEADERS += \
Include/SpApplication.h \
Include/JniSetup.h \
Include/Consts.h \
Include/JournalDb.h \
Include/ArticlesPreviewModel.h \
Include/ArticleBlocksModel.h \
Include/BlocksModel.h
SOURCES += Source/Main.cpp \
Source/SpApplication.cpp \
Source/JniSetup.cpp \
Source/ArticlesPreviewModel.cpp \
Source/ArticleBlocksModel.cpp \
Source/BlocksModel.cpp
RESOURCES += \
$$PWD/Qml/Qml.qrc \
Images/Images.qrc \
Fonts/Fonts.qrc \
Qml/Camera/Camera.qrc \
Qml/Journal/Journal.qrc \
Qml/Contacts/Contacts.qrc \
Qml/Components/Components.qrc
android {
QT += androidextras
DISTFILES += \
Android/AndroidManifest.xml \
Android/gradle/wrapper/gradle-wrapper.jar \
Android/gradlew \
Android/res/values/libs.xml \
Android/build.gradle \
Android/gradle/wrapper/gradle-wrapper.properties \
Android/gradlew.bat \
Android/src/com/sp/demo/SplashActivity.java \
Android/res/drawable/splash.xml
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/../sp_demo/Android
}
mac {
SQLiteDb.files = $$PWD/sp_demo.db
SQLiteDb.path = Contents/MacOS
QMAKE_BUNDLE_DATA += SQLiteDb
}
!mac {
# Копирование БД в папку с билдом. БД нельзя вставить в ресурсы.
# using shell_path() to correct path depending on platform
# escaping quotes and backslashes for file paths
copydata.commands = $(COPY_FILE) \"$$shell_path($$PWD\\sp_demo.db)\" \"$$shell_path($$OUT_PWD)\"
first.depends = $(first) copydata
export(first.depends)
export(copydata.commands)
QMAKE_EXTRA_TARGETS += first copydata
}
DISTFILES += \
Android/src/com/sp/demo/SpProjectPrototypeActivity.java