#------------------------------------------------- # # Project created by Dharkael 2017-04-21T00:42:49 # #------------------------------------------------- QT += core gui QT += dbus greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 CONFIG += link_pkgconfig TARGET = flameshot TEMPLATE = app TRANSLATIONS = translation/Internationalization_es.ts # 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 include(src/singleapplication/singleapplication.pri) include(src/Qt-Color-Widgets//color_widgets.pri) DEFINES += QAPPLICATION_CLASS=QApplication SOURCES += src/main.cpp\ src/controller.cpp \ src/capture/button.cpp \ src/capture/buttonhandler.cpp \ src/infowindow.cpp \ src/config/configwindow.cpp \ src/capture/screenshot.cpp \ src/capture/capturewidget.cpp \ src/capture/capturemodification.cpp \ src/capture/colorpicker.cpp \ src/config/buttonlistview.cpp \ src/config/uicoloreditor.cpp \ src/config/geneneralconf.cpp \ src/flameshotdbusadapter.cpp \ src/config/clickablelabel.cpp HEADERS += \ src/controller.h \ src/capture/button.h \ src/capture/buttonhandler.h \ src/infowindow.h \ src/config/configwindow.h \ src/capture/screenshot.h \ src/capture/capturewidget.h \ src/capture/capturemodification.h \ src/capture/colorpicker.h \ src/config/buttonlistview.h \ src/config/uicoloreditor.h \ src/config/geneneralconf.h \ src/flameshotdbusadapter.h \ src/config/clickablelabel.h RESOURCES += \ graphics.qrc # installs unix: { target.path = /usr/local/bin/ qmfile.path = /usr/share/flameshot/translations/ qmfile.files = translation/Internationalization_es.qm servicedbus.path = /usr/share/dbus-1/services/ servicedbus.files = dbus/org.dharkael.Flameshot.service dbus.path = /usr/share/dbus-1/interfaces/ dbus.files = dbus/org.dharkael.Flameshot.xml icon.path = /usr/local/share/icons/ icon.files = img/flameshot.png desktopentry.path = /usr/local/share/applications desktopentry.files = docs/desktopEntry/make/flameshot.desktop INSTALLS += target \ icon \ desktopentry \ qmfile \ servicedbus \ dbus }