thedesk/desktop/desktop.pro
2020-04-11 22:06:34 +10:00

103 lines
3.1 KiB
Prolog

QT += core gui tdesktopenvironment network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = thedesk
CONFIG += c++11
# Include the-libs build tools
include(/usr/share/the-libs/pri/gentranslations.pri)
QMAKE_POST_LINK += $$QMAKE_COPY_DIR $$quote($$PWD/translations) $$shell_quote($$OUT_PWD)
# The following define makes your compiler emit warnings if you use
# any Qt feature that has 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 it uses 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 += \
background/background.cpp \
bar/barwindow.cpp \
bar/chunkcontainer.cpp \
bar/mainbarwidget.cpp \
bar/taskbarwidget.cpp \
cli/commandline.cpp \
common/common.cpp \
gateway/appselectionmodel.cpp \
gateway/appselectionmodellistdelegate.cpp \
gateway/gateway.cpp \
gateway/maingatewaywidget.cpp \
main.cpp \
plugins/pluginmanager.cpp \
server/sessionserver.cpp \
session/endsession.cpp \
session/endsessionbutton.cpp \
statuscenter/statuscenter.cpp \
statuscenter/statuscenterleftpane.cpp \
systemsettings/about/about.cpp \
systemsettings/systemsettings.cpp \
systemsettings/systemsettingsleftpane.cpp \
transparentdialog.cpp
HEADERS += \
background/background.h \
bar/barwindow.h \
bar/chunkcontainer.h \
bar/mainbarwidget.h \
bar/taskbarwidget.h \
cli/commandline.h \
common/common.h \
gateway/appselectionmodel.h \
gateway/appselectionmodellistdelegate.h \
gateway/gateway.h \
gateway/maingatewaywidget.h \
plugins/plugininterface.h \
plugins/pluginmanager.h \
server/sessionserver.h \
session/endsession.h \
session/endsessionbutton.h \
statuscenter/statuscenter.h \
statuscenter/statuscenterleftpane.h \
systemsettings/about/about.h \
systemsettings/systemsettings.h \
systemsettings/systemsettingsleftpane.h \
transparentdialog.h
FORMS += \
background/background.ui \
bar/barwindow.ui \
bar/chunkcontainer.ui \
bar/mainbarwidget.ui \
bar/taskbarwidget.ui \
gateway/gateway.ui \
gateway/maingatewaywidget.ui \
session/endsession.ui \
statuscenter/statuscenter.ui \
statuscenter/statuscenterleftpane.ui \
systemsettings/about/about.ui \
systemsettings/systemsettings.ui \
systemsettings/systemsettingsleftpane.ui \
transparentdialog.ui
unix {
target.path = /usr/bin/
translations.files = translations/*.qm
translations.path = /usr/share/thedesk/translations
INSTALLS += target translations
}
unix:!macx: LIBS += -L$$OUT_PWD/../libthedesk/ -lthedesk
INCLUDEPATH += $$PWD/../libthedesk
DEPENDPATH += $$PWD/../libthedesk
RESOURCES += \
resources.qrc