quill/inkbox.pro

163 lines
6.1 KiB
Prolog
Raw Permalink Normal View History

QT += core gui network
2021-03-25 05:00:19 -07:00
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
2021-04-22 07:10:47 -07:00
CONFIG += c++11 c++17
2021-03-25 05:00:19 -07:00
QMAKE_CXXFLAGS += -Wno-unused-function -Wno-unused-parameter
# Thanks to https://github.com/mrbindraw/TestVersion/blob/master/TestVersion.pro
GIT_VERSION = $$system(git describe --always --tags)
2022-02-21 20:38:09 -08:00
GIT_COMMIT = $$system(git rev-parse HEAD)
COMMAND_REMOVE_MAKEFILES=$$quote(rm $$system_path($$OUT_PWD\Makefile*))
PRE_BUILD_TARGET = .dummyfile
updatemakefiles.target = $$PRE_BUILD_TARGET
updatemakefiles.commands = $$COMMAND_REMOVE_MAKEFILES
updatemakefiles.depends = FORCE
PRE_TARGETDEPS += $$PRE_BUILD_TARGET
QMAKE_EXTRA_TARGETS += updatemakefiles
DEFINES += GIT_VERSION=\\\"$$GIT_VERSION\\\"
2022-02-21 20:38:09 -08:00
DEFINES += GIT_COMMIT=\\\"$$GIT_COMMIT\\\"
2022-10-11 19:31:11 -07:00
2021-03-25 05:00:19 -07:00
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
2022-09-13 05:20:37 -07:00
src/apps/todo.cpp \
src/splash/alert.cpp \
src/apps/apps.cpp \
src/widgets/dialogs/library/bookinfodialog.cpp \
src/widgets/dialogs/library/bookoptionsdialog.cpp \
src/widgets/dialogs/brightnessdialog.cpp \
src/apps/calendarapp.cpp \
2022-08-09 19:31:29 -07:00
src/widgets/dialogs/reader/highlightslistdialog.cpp \
2022-08-08 16:57:45 -07:00
src/widgets/dialogs/reader/textdialog.cpp \
2022-08-18 12:47:08 -07:00
src/widgets/dialogs/wifi/connectiondialog.cpp \
src/widgets/dialogs/wifi/network.cpp \
src/widgets/dialogs/wifi/wifilogger.cpp \
src/widgets/reader/dictionarywidget.cpp \
src/encfs/encryptionmanager.cpp \
src/widgets/dialogs/generaldialog.cpp \
src/homeWidget/homepagewidget.cpp \
src/widgets/misc/hourglassanimationwidget.cpp \
src/widgets/dialogs/kobox/koboxappsdialog.cpp \
src/settings/koboxsettings.cpp \
src/onlineLibrary/librarywidget.cpp \
src/localLibrary/locallibrarywidget.cpp \
src/main.cpp \
src/homeWidget/mainwindow.cpp \
src/otaUpdate/otamanager.cpp \
src/widgets/interfaceWidgets/qclickablelabel.cpp \
src/widgets/interfaceWidgets/qtooltiplabel.cpp \
src/quit/quit.cpp \
src/reader/reader.cpp \
src/apps/savedwords.cpp \
src/widgets/text/searchresultswidget.cpp \
src/settings/settings.cpp \
src/settings/settingschooser.cpp \
src/widgets/text/textwidget.cpp \
src/widgets/interfaceWidgets/toast.cpp \
2022-08-23 08:43:25 -07:00
src/splash/usbmsSplash.cpp \
src/apps/userapps.cpp \
src/widgets/virtualKeyboard/virtualkeyboard.cpp \
src/widgets/virtualKeyboard/virtualkeypad.cpp \
src/widgets/dialogs/wifi/wifidialog.cpp \
src/widgets/dialogs/powerDaemon/sleepdialog.cpp \
src/powerDaemon/sleepthread.cpp \
2022-08-06 18:36:13 -07:00
src/settings/powerdaemonsettings.cpp
2021-03-25 05:00:19 -07:00
HEADERS += \
2022-09-13 05:20:37 -07:00
src/apps/todo.h \
src/splash/alert.h \
src/apps/apps.h \
src/widgets/dialogs/library/bookinfodialog.h \
src/widgets/dialogs/library/bookoptionsdialog.h \
src/widgets/dialogs/brightnessdialog.h \
src/apps/calendarapp.h \
2022-08-09 19:31:29 -07:00
src/widgets/dialogs/reader/highlightslistdialog.h \
2022-08-08 16:57:45 -07:00
src/widgets/dialogs/reader/textdialog.h \
2022-08-18 12:47:08 -07:00
src/widgets/dialogs/wifi/connectiondialog.h \
src/widgets/dialogs/wifi/network.h \
src/widgets/dialogs/wifi/wifilogger.h \
src/widgets/reader/dictionarywidget.h \
src/encfs/encryptionmanager.h \
src/functions.h \
src/widgets/dialogs/generaldialog.h \
src/homeWidget/homepagewidget.h \
src/widgets/misc/hourglassanimationwidget.h \
src/widgets/dialogs/kobox/koboxappsdialog.h \
src/settings/koboxsettings.h \
src/onlineLibrary/librarywidget.h \
src/localLibrary/locallibrarywidget.h \
src/homeWidget/mainwindow.h \
src/otaUpdate/otamanager.h \
src/widgets/interfaceWidgets/qclickablelabel.h \
src/widgets/interfaceWidgets/qtooltiplabel.h \
src/quit/quit.h \
src/reader/reader.h \
src/apps/savedwords.h \
src/widgets/text/searchresultswidget.h \
src/settings/settings.h \
src/settings/settingschooser.h \
src/widgets/text/textwidget.h \
src/widgets/interfaceWidgets/toast.h \
2022-08-23 08:43:25 -07:00
src/splash/usbmsSplash.h \
src/apps/userapps.h \
src/widgets/virtualKeyboard/virtualkeyboard.h \
src/widgets/virtualKeyboard/virtualkeypad.h \
src/widgets/dialogs/wifi/wifidialog.h \
src/widgets/dialogs/powerDaemon/sleepdialog.h \
src/powerDaemon/sleepthread.h \
src/settings/powerdaemonsettings.h
2021-03-25 05:00:19 -07:00
FORMS += \
2022-09-13 05:20:37 -07:00
src/apps/todo.ui \
src/splash/alert.ui \
src/apps/apps.ui \
src/widgets/dialogs/library/bookinfodialog.ui \
src/widgets/dialogs/library/bookoptionsdialog.ui \
src/widgets/dialogs/brightnessdialog.ui \
src/apps/calendarapp.ui \
2022-08-09 19:31:29 -07:00
src/widgets/dialogs/reader/highlightslistdialog.ui \
2022-08-08 16:57:45 -07:00
src/widgets/dialogs/reader/textdialog.ui \
2022-08-18 12:47:08 -07:00
src/widgets/dialogs/wifi/connectiondialog.ui \
src/widgets/dialogs/wifi/network.ui \
src/widgets/dialogs/wifi/wifilogger.ui \
src/widgets/reader/dictionarywidget.ui \
src/encfs/encryptionmanager.ui \
src/widgets/dialogs/generaldialog.ui \
src/homeWidget/homepagewidget.ui \
src/widgets/misc/hourglassanimationwidget.ui \
src/widgets/dialogs/kobox/koboxappsdialog.ui \
src/settings/koboxsettings.ui \
src/onlineLibrary/librarywidget.ui \
src/localLibrary/locallibrarywidget.ui \
src/homeWidget/mainwindow.ui \
src/otaUpdate/otamanager.ui \
src/quit/quit.ui \
src/reader/reader.ui \
src/apps/savedwords.ui \
src/widgets/text/searchresultswidget.ui \
src/settings/settings.ui \
src/settings/settingschooser.ui \
src/widgets/text/textwidget.ui \
src/widgets/interfaceWidgets/toast.ui \
2022-08-23 08:43:25 -07:00
src/splash/usbmsSplash.ui \
src/apps/userapps.ui \
src/widgets/virtualKeyboard/virtualkeyboard.ui \
src/widgets/virtualKeyboard/virtualkeypad.ui \
src/widgets/dialogs/wifi/wifidialog.ui \
src/widgets/dialogs/powerDaemon/sleepdialog.ui \
src/settings/powerdaemonsettings.ui
2021-03-25 05:00:19 -07:00
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
src/eink.qrc
2022-08-08 16:57:45 -07:00
INCLUDEPATH += $$system(find ./ -type d -print -path ./.git -prune | grep -v "./.git")