mirror of
https://github.com/Quill-OS/quill.git
synced 2024-10-31 21:33:22 -07:00
80bdeb32ed
This dialog will open if user keeps touch input active on a button from `bookBtnArray` for >= 500 ms. 'Pin' and 'More info' operations are currently not implemented.
134 lines
3.2 KiB
Prolog
134 lines
3.2 KiB
Prolog
QT += core gui network
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
CONFIG += c++11 c++17
|
|
|
|
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)
|
|
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\\\"
|
|
DEFINES += GIT_COMMIT=\\\"$$GIT_COMMIT\\\"
|
|
|
|
# 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 += \
|
|
alert.cpp \
|
|
apps.cpp \
|
|
bookinfodialog.cpp \
|
|
bookoptionsdialog.cpp \
|
|
brightnessdialog.cpp \
|
|
calendarapp.cpp \
|
|
dictionarywidget.cpp \
|
|
encryptionmanager.cpp \
|
|
generaldialog.cpp \
|
|
homepagewidget.cpp \
|
|
hourglassanimationwidget.cpp \
|
|
koboxappsdialog.cpp \
|
|
koboxsettings.cpp \
|
|
librarywidget.cpp \
|
|
locallibrarywidget.cpp \
|
|
main.cpp \
|
|
mainwindow.cpp \
|
|
otamanager.cpp \
|
|
qclickablelabel.cpp \
|
|
qtooltiplabel.cpp \
|
|
quit.cpp \
|
|
reader.cpp \
|
|
savedwords.cpp \
|
|
searchresultswidget.cpp \
|
|
settings.cpp \
|
|
settingschooser.cpp \
|
|
textwidget.cpp \
|
|
toast.cpp \
|
|
usbms_splash.cpp \
|
|
userapps.cpp \
|
|
virtualkeyboard.cpp \
|
|
virtualkeypad.cpp \
|
|
wifidialog.cpp
|
|
|
|
HEADERS += \
|
|
alert.h \
|
|
apps.h \
|
|
bookinfodialog.h \
|
|
bookoptionsdialog.h \
|
|
brightnessdialog.h \
|
|
calendarapp.h \
|
|
dictionarywidget.h \
|
|
encryptionmanager.h \
|
|
functions.h \
|
|
generaldialog.h \
|
|
homepagewidget.h \
|
|
hourglassanimationwidget.h \
|
|
koboxappsdialog.h \
|
|
koboxsettings.h \
|
|
librarywidget.h \
|
|
locallibrarywidget.h \
|
|
mainwindow.h \
|
|
otamanager.h \
|
|
qclickablelabel.h \
|
|
qtooltiplabel.h \
|
|
quit.h \
|
|
reader.h \
|
|
savedwords.h \
|
|
searchresultswidget.h \
|
|
settings.h \
|
|
settingschooser.h \
|
|
textwidget.h \
|
|
toast.h \
|
|
usbms_splash.h \
|
|
userapps.h \
|
|
virtualkeyboard.h \
|
|
virtualkeypad.h \
|
|
wifidialog.h
|
|
|
|
FORMS += \
|
|
alert.ui \
|
|
apps.ui \
|
|
bookinfodialog.ui \
|
|
bookoptionsdialog.ui \
|
|
brightnessdialog.ui \
|
|
calendarapp.ui \
|
|
dictionarywidget.ui \
|
|
encryptionmanager.ui \
|
|
generaldialog.ui \
|
|
homepagewidget.ui \
|
|
hourglassanimationwidget.ui \
|
|
koboxappsdialog.ui \
|
|
koboxsettings.ui \
|
|
librarywidget.ui \
|
|
locallibrarywidget.ui \
|
|
mainwindow.ui \
|
|
otamanager.ui \
|
|
quit.ui \
|
|
reader.ui \
|
|
savedwords.ui \
|
|
searchresultswidget.ui \
|
|
settings.ui \
|
|
settingschooser.ui \
|
|
textwidget.ui \
|
|
toast.ui \
|
|
usbms_splash.ui \
|
|
userapps.ui \
|
|
virtualkeyboard.ui \
|
|
virtualkeypad.ui \
|
|
wifidialog.ui
|
|
|
|
# Default rules for deployment.
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
RESOURCES += \
|
|
eink.qrc
|