Commit a2357a26 authored by Laurent Montel's avatar Laurent Montel 😁

Move about html file to qrc

parent 6d32863f
......@@ -9,7 +9,6 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/frame/
)
add_subdirectory(about)
add_subdirectory(icons)
......@@ -100,6 +99,8 @@ set(akregatorprivate_LIB_SRCS
actions/actions.cpp
)
qt5_add_resources(akregatorprivate_LIB_SRCS akregator.qrc)
add_library(akregatorprivate ${akregatorprivate_LIB_SRCS})
generate_export_header(akregatorprivate BASE_NAME akregator)
......
install(FILES
introduction_akregator.html
DESTINATION ${KDE_INSTALL_DATADIR}/messageviewer/about/default
)
<RCC>
<qresource prefix="/">
<file>about/introduction_akregator.html</file>
</qresource>
</RCC>
......@@ -128,7 +128,7 @@ QVariantHash ArticleViewerWebEngine::introductionData() const
void ArticleViewerWebEngine::showAboutPage()
{
paintAboutScreen(QStringLiteral("introduction_akregator.html"), introductionData());
paintAboutScreen(QStringLiteral(":/about/introduction_akregator.html"), introductionData());
}
void ArticleViewerWebEngine::paintAboutScreen(const QString &templateName, const QVariantHash &data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment