[app] HarbourImageProvider needs HarbourTheme

This commit is contained in:
Slava Monich 2020-02-04 19:51:12 +02:00
parent 7ba8a502b3
commit 902569313a
2 changed files with 6 additions and 2 deletions

View file

@ -185,7 +185,8 @@ HEADERS += \
$$HARBOUR_INCLUDE_DIR/HarbourImageProvider.h \
$$HARBOUR_INCLUDE_DIR/HarbourJson.h \
$$HARBOUR_INCLUDE_DIR/HarbourPluginLoader.h \
$$HARBOUR_INCLUDE_DIR/HarbourTask.h
$$HARBOUR_INCLUDE_DIR/HarbourTask.h \
$$HARBOUR_INCLUDE_DIR/HarbourTheme.h
HEADERS += \
$$HARBOUR_SRC_DIR/HarbourMce.h
@ -196,7 +197,8 @@ SOURCES += \
$$HARBOUR_SRC_DIR/HarbourJson.cpp \
$$HARBOUR_SRC_DIR/HarbourMce.cpp \
$$HARBOUR_SRC_DIR/HarbourPluginLoader.cpp \
$$HARBOUR_SRC_DIR/HarbourTask.cpp
$$HARBOUR_SRC_DIR/HarbourTask.cpp \
$$HARBOUR_SRC_DIR/HarbourTheme.cpp
HARBOUR_QML_COMPONENTS = \
$$HARBOUR_LIB_QML/HarbourFitLabel.qml \

View file

@ -51,6 +51,7 @@
#include "HarbourDisplayBlanking.h"
#include "HarbourDebug.h"
#include "HarbourTheme.h"
#include "ZLibrary.h"
@ -85,6 +86,7 @@ Q_DECL_EXPORT int main(int argc, char **argv)
BOOKS_QML_REGISTER(BooksCoverWidget, "BookCover");
BOOKS_QML_REGISTER(BooksSettings, "BooksSettings");
BOOKS_QML_REGISTER(HarbourDisplayBlanking, "DisplayBlanking");
BOOKS_QML_REGISTER_SINGLETON(HarbourTheme, "HarbourTheme");
BOOKS_QML_REGISTER_SINGLETON(BooksHints, "BooksHints");
BOOKS_QML_REGISTER_SINGLETON(BooksFeedback, "BooksFeedback");