quill/inkbox.pro
Nicolas Mailloux 763279f1f1 Half-working setup
Huge thanks to @Szybet for writing at least 95% of the code in this commit
2022-06-17 23:59:21 -04:00

121 lines
2.9 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 \
brightnessdialog.cpp \
calendarapp.cpp \
dictionarywidget.cpp \
encryptionmanager.cpp \
generaldialog.cpp \
hourglassanimationwidget.cpp \
koboxappsdialog.cpp \
koboxsettings.cpp \
librarywidget.cpp \
main.cpp \
mainwindow.cpp \
otamanager.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 \
brightnessdialog.h \
calendarapp.h \
dictionarywidget.h \
encryptionmanager.h \
functions.h \
generaldialog.h \
hourglassanimationwidget.h \
koboxappsdialog.h \
koboxsettings.h \
librarywidget.h \
mainwindow.h \
otamanager.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 \
brightnessdialog.ui \
calendarapp.ui \
dictionarywidget.ui \
encryptionmanager.ui \
generaldialog.ui \
hourglassanimationwidget.ui \
koboxappsdialog.ui \
koboxsettings.ui \
librarywidget.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