vvave.pro 2.74 KB
Newer Older
1 2 3 4 5 6 7
QT       += quick
QT       += multimedia
QT       += sql
QT       += websockets
QT       += network
QT       += xml
QT       += qml
Camilo Higuita's avatar
Camilo Higuita committed
8
QT       += widgets
9
QT       += quickcontrols2
10
QT       += concurrent
11 12 13 14

TARGET = vvave
TEMPLATE = app

Camilo Higuita's avatar
Camilo Higuita committed
15
CONFIG += ordered
16
CONFIG += c++11
17
QMAKE_LINK += -nostdlib++
18 19 20

linux:unix:!android {
    message(Building for Linux KDE)
21
    include($$PWD/kde/kde.pri)
22
    LIBS += -lMauiKit
23 24 25

} else:android {
    message(Building helpers for Android)
26 27 28 29 30 31 32 33 34 35

#DEFAULT COMPONENTS DEFINITIONS
    DEFINES *= \
        COMPONENT_EDITOR \
        COMPONENT_FM \
        COMPONENT_TERMINAL \
        COMPONENT_TAGGING \
        COMPONENT_SYNCING

    QT *= androidextras webview
36 37
    include($$PWD/3rdparty/taglib.pri)
    include($$PWD/3rdparty/kirigami/kirigami.pri)
38
    include($$PWD/3rdparty/mauikit/mauikit.pri)
39

40
    DEFINES += STATIC_KIRIGAMI
Camilo Higuita's avatar
Camilo Higuita committed
41

42 43 44 45
} else {
    message("Unknown configuration")
}

46
include(pulpo/pulpo.pri)
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += main.cpp \
    db/collectionDB.cpp \
    services/local/taginfo.cpp \
    services/local/player.cpp \
63
#    utils/brain.cpp \
64
#    services/local/socket.cpp \
65
    services/web/youtube.cpp \
66
    vvave.cpp \
67
    services/local/youtubedl.cpp \
68
#    services/local/linking.cpp \
69
    services/web/Spotify/spotify.cpp \
70
    models/tracks/tracksmodel.cpp \
71
    models/playlists/playlistsmodel.cpp \
72
    models/albums/albumsmodel.cpp \
73
#    models/cloud/cloud.cpp
74 75 76 77 78 79 80 81 82 83 84 85 86 87


RESOURCES += qml.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 =


HEADERS += \
    db/collectionDB.h \
    utils/bae.h \
88
    services/local/fileloader.h \
89 90
    services/local/taginfo.h \
    services/local/player.h \
91 92
#    utils/brain.h \
#    services/local/socket.h \
93
    services/web/youtube.h \
94
    vvave.h \
95
    services/local/youtubedl.h \
96
#    services/local/linking.h \
97
    services/web/Spotify/spotify.h \
98
    models/tracks/tracksmodel.h \
99
    models/playlists/playlistsmodel.h \
100
    models/albums/albumsmodel.h \
101
#    models/cloud/cloud.h
102

103
include(install.pri)
104

105
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android_files