vvave.pro 3.06 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
Camilo Higuita's avatar
Camilo Higuita committed
9
QT       += quickcontrols2
10 11 12 13

TARGET = vvave
TEMPLATE = app

Camilo Higuita's avatar
Camilo Higuita committed
14
CONFIG += ordered
15 16 17 18
CONFIG += c++11

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

} else:android {
    message(Building helpers for Android)
24
    QT += androidextras webview
25

26
    include($$PWD/3rdparty/taglib.pri)
Camilo Higuita's avatar
Camilo Higuita committed
27
    include($$PWD/mauikit/mauikit.pri)
28 29

    include($$PWD/3rdparty/kirigami/kirigami.pri)
Camilo Higuita's avatar
Camilo Higuita committed
30
    include($$PWD/android-openssl.pri)
31

Camilo Higuita's avatar
Camilo Higuita committed
32
    DEFINES += STATIC_KIRIGAMI
Camilo Higuita's avatar
Camilo Higuita committed
33

34 35 36 37
} else {
    message("Unknown configuration")
}

38
include(pulpo/pulpo.pri)
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55

# 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 \
    utils/brain.cpp \
Camilo Higuita's avatar
Camilo Higuita committed
56 57
    services/local/socket.cpp \
    services/web/youtube.cpp \
58 59 60 61 62 63
    babe.cpp \
    settings/BabeSettings.cpp \
    db/conthread.cpp \
    services/web/babeit.cpp \
    utils/babeconsole.cpp \
    services/local/youtubedl.cpp \
64
    services/local/linking.cpp \
65 66
    settings/fileloader.cpp \
    services/web/Spotify/spotify.cpp
67 68 69 70 71 72 73 74 75 76 77 78 79


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 =



DISTFILES += \
80 81
    db/script.sql \
    CMakeLists.txt
82 83 84 85 86 87 88 89 90


HEADERS += \
    db/collectionDB.h \
    utils/bae.h \
    settings/fileloader.h \
    services/local/taginfo.h \
    services/local/player.h \
    utils/brain.h \
Camilo Higuita's avatar
Camilo Higuita committed
91 92
    services/local/socket.h \
    services/web/youtube.h \
93 94 95 96 97 98 99
    babe.h \
    settings/BabeSettings.h \
    db/conthread.h \
    services/web/babeit.h \
    utils/babeconsole.h \
    utils/singleton.h \
    services/local/youtubedl.h \
100 101
    services/local/linking.h \
    services/web/Spotify/spotify.h
102

103
include(install.pri)
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130

#TAGLIB


#INCLUDEPATH += /usr/include/python3.6m

#LIBS += -lpython3.6m
#defineReplace(copyToDir) {
#    files = $$1
#    DIR = $$2
#    LINK =

#    for(FILE, files) {
#        LINK += $$QMAKE_COPY $$shell_path($$FILE) $$shell_path($$DIR) $$escape_expand(\\n\\t)
#    }
#    return($$LINK)
#}

#defineReplace(copyToBuilddir) {
#    return($$copyToDir($$1, $$OUT_PWD))
#}

## Copy the binary files dependent on the system architecture
#unix:!macx {
#    message("Linux")
#    QMAKE_POST_LINK += $$copyToBuilddir($$PWD/library/cat)
#}
Camilo Higuita's avatar
Camilo Higuita committed
131 132