KShare/KShare.pro

112 lines
3.3 KiB
Prolog
Raw Normal View History

2017-04-23 15:05:48 +02:00
#-------------------------------------------------
#
# Project created by QtCreator 2017-04-19T15:47:09
#
#-------------------------------------------------
QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = KShare
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as 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\
mainwindow.cpp \
cropeditor/cropeditor.cpp \
cropeditor/cropview.cpp \
cropeditor/cropscene.cpp \
uploaders/uploadersingleton.cpp \
screenshotter.cpp \
screenshotutil.cpp \
uploaders/default/imguruploader.cpp \
io/ioutils.cpp \
settings.cpp \
2017-04-23 20:29:24 +02:00
uploaders/default/clipboarduploader.cpp \
2017-04-24 23:14:01 +02:00
formatter.cpp \
2017-04-25 22:17:36 +02:00
uploaders/customuploader.cpp \
2017-04-26 22:00:13 +02:00
notifications.cpp \
hotkeying.cpp \
2017-04-29 23:00:32 +02:00
cropeditor/drawing/dotitem.cpp \
2017-05-01 11:28:54 +02:00
cropeditor/settings/brushpenselection.cpp \
cropeditor/drawing/bluritem.cpp \
2017-05-01 18:43:54 +02:00
cropeditor/settings/blurdialog.cpp \
cropeditor/drawing/pathitem.cpp \
2017-05-05 23:59:39 +02:00
cropeditor/drawing/lineitem.cpp \
2017-05-16 15:52:15 +02:00
cropeditor/drawing/textitem.cpp \
colorpicker/colorpickerscene.cpp
2017-04-23 15:05:48 +02:00
HEADERS += mainwindow.hpp \
cropeditor/cropeditor.hpp \
cropeditor/cropview.hpp \
cropeditor/cropscene.hpp \
uploaders/uploader.hpp \
uploaders/uploadersingleton.hpp \
screenshotter.hpp \
screenshotutil.hpp \
uploaders/default/imguruploader.hpp \
io/ioutils.hpp \
settings.hpp \
2017-04-23 20:29:24 +02:00
uploaders/default/clipboarduploader.hpp \
2017-04-24 23:14:01 +02:00
formatter.hpp \
2017-04-25 22:17:36 +02:00
uploaders/customuploader.hpp \
2017-04-26 22:00:13 +02:00
notifications.hpp \
2017-04-29 12:08:02 +02:00
hotkeying.hpp \
cropeditor/drawing/drawitem.hpp \
2017-04-29 23:00:32 +02:00
cropeditor/drawing/dotitem.hpp \
2017-05-01 11:28:54 +02:00
cropeditor/settings/brushpenselection.hpp \
cropeditor/drawing/bluritem.hpp \
2017-05-01 18:43:54 +02:00
cropeditor/settings/blurdialog.hpp \
cropeditor/drawing/pathitem.hpp \
2017-05-05 23:59:39 +02:00
cropeditor/drawing/lineitem.hpp \
2017-05-16 15:52:15 +02:00
cropeditor/drawing/textitem.hpp \
2017-05-17 13:53:30 +02:00
colorpicker/colorpickerscene.hpp \
2017-05-13 11:03:46 +02:00
platformbackend.hpp
mac {
SOURCES += $$PWD/platformspecifics/mac/macbackend.cpp
HEADERS += $$PWD/platformspecifics/mac/macbackend.hpp
LIBS += -framework Carbon
} else:win32 {
SOURCES += $$PWD/platformspecifics/u32/u32backend.cpp
HEADERS += $$PWD/platformspecifics/u32/u32backend.hpp
LIBS += -luser32
QT += winextras
} else:unix {
SOURCES += $$PWD/platformspecifics/x11/x11backend.cpp
HEADERS += $$PWD/platformspecifics/x11/x11backend.hpp
QT += x11extras
LIBS += -lxcb-cursor -lxcb-xfixes
} else {
error(Unsupported platform);
}
2017-04-23 15:05:48 +02:00
2017-04-29 23:00:32 +02:00
FORMS += mainwindow.ui \
2017-05-01 11:28:54 +02:00
cropeditor/settings/brushpenselection.ui \
cropeditor/settings/blurdialog.ui
2017-04-23 15:05:48 +02:00
DISTFILES += \
README.md \
LICENSE
RESOURCES += \
icon.qrc
2017-04-29 23:28:05 +02:00
ICON = icons/icon.ico
2017-04-23 15:05:48 +02:00
# Enable debug symbols
QMAKE_CFLAGS_DEBUG += -g
2017-04-26 22:00:13 +02:00
include(QHotkey/qhotkey.pri)