-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmyplayer.pro
116 lines (86 loc) · 2.66 KB
/
myplayer.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
101
102
103
104
105
106
107
QT += quick multimedia quickcontrols2 sql
CONFIG += c++17
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += TAGLIB_STATIC
TARGET = "MusiQ"
SOURCES += \
appsetting.cpp \
backend.cpp \
dataprovider.cpp \
dbmanager.cpp \
liveimageprovider.cpp \
main.cpp \
mostplayedlist.cpp \
roundedrect.cpp \
simpleqabstractlist.cpp \
songitemmodeler.cpp \
tools.cpp
RESOURCES += qml.qrc \
files.qrc
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
HEADERS += \
appsetting.h \
backend.h \
backend2.h \
dataprovider.h \
dbmanager.h \
liveimageprovider.h \
mostplayedlist.h \
roundedrect.h \
simpleqabstractlist.h \
songitemmodeler.h \
tools.h
DISTFILES += \
CMakeLists.txt \
android/AndroidManifest.xml \
android/AndroidManifest.xml \
android/build.gradle \
android/build.gradle \
android/gradle/wrapper/gradle-wrapper.jar \
android/gradle/wrapper/gradle-wrapper.jar \
android/gradle/wrapper/gradle-wrapper.properties \
android/gradle/wrapper/gradle-wrapper.properties \
android/gradlew \
android/gradlew \
android/gradlew.bat \
android/gradlew.bat \
android/res/values/libs.xml \
android/res/values/libs.xml
contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
ANDROID_PACKAGE_SOURCE_DIR = \
$$PWD/android
}
#ANDROID_EXTRA_LIBS=\
# /home/sub/Documents/Projects/MusiQ/musix/Dependencies/TagLib/lib/Android/libtag.a
PRO_PATH=$$PWD
INCLUDEPATH+= $${PRO_PATH}/Dependencies/TagLib/include/ $${PRO_PATH}/Dependencies/zlib/include/ $${PRO_PATH}/Dependencies/TagLib/include/mpeg/id3v1 $${PRO_PATH}/Dependencies/TagLib/include/mpeg/id3v2
linux:!android{
LIBS+=-L/usr/local/lib -ltag -lz
}
windows{
LIBS+=-L$${PRO_PATH}/Dependencies/TagLib/lib/ -ltag
LIBS+=-L$${PRO_PATH}/Dependencies/zlib/lib/ -lzlib
# LIBS+=-L"F:/Qt/5.15.0/msvc2019/lib/Qt5Sqld.lib"
debug
{
LIBS+=-L$${PRO_PATH}/Dependencies/zlib/lib/ -lzlibd
LIBS+=-L$${PRO_PATH}/Dependencies/TagLib/lib/ -ltagd
}
}
android{
QT+=androidextras
message("compiling for android")
LIBS+=-L/home/sub/Documents/Projects/MusiQ/musix/Dependencies/TagLib/lib/Android -ltag
}
message($${PRO_PATH})
contains(ANDROID_TARGET_ARCH,arm64-v8a) {
ANDROID_PACKAGE_SOURCE_DIR = \
$$PWD/android
}