vvave.pro 3.14 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 10 11 12

TARGET = vvave
TEMPLATE = app

Camilo Higuita's avatar
Camilo Higuita committed
13
CONFIG += ordered
14 15
CONFIG += c++11

Camilo Higuita's avatar
Camilo Higuita committed
16 17
DESTDIR = $$OUT_PWD/../

18 19 20 21 22 23 24
linux:unix:!android {
    message(Building for Linux KDE)
    include(kde/kde.pri)

} else:android {
    message(Building helpers for Android)
    include(android/android.pri)
25
    include(3rdparty/taglib.pri)
26 27 28
    include(android-openssl.pri)
    include(3rdparty/kirigami/kirigami.pri)

29
    DEFINES += STATIC_KIRIGAMI        
30 31 32 33 34

} else {
    message("Unknown configuration")
}

35
include(mauikit/mauikit.pri)
36
include(pulpo/pulpo.pri)
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53

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


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 =

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target


DISTFILES += \
82
    db/script.sql
83 84 85 86 87 88 89 90 91


HEADERS += \
    db/collectionDB.h \
    utils/bae.h \
    settings/fileloader.h \
    services/local/taginfo.h \
    services/local/player.h \
    utils/brain.h \
92 93
    services/local/socket.h \ 
    services/web/youtube.h \   
94 95 96 97 98 99 100
    babe.h \
    settings/BabeSettings.h \
    db/conthread.h \
    services/web/babeit.h \
    utils/babeconsole.h \
    utils/singleton.h \
    services/local/youtubedl.h \
101 102
    services/local/linking.h \
    services/web/Spotify/spotify.h
103 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)
#}