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

Make it compiles

parent 32453441
......@@ -14,7 +14,7 @@ add_test(adblockpluginurlinterceptortest adblockpluginurlinterceptortest)
ecm_mark_as_test(adblockpluginurlinterceptortest)
target_link_libraries( adblockpluginurlinterceptortest Qt5::Test Qt5::Widgets adblocklibprivate KF5::MessageViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::ItemViews KF5::KIOWidgets KF5::XmlGui)
set( adblockpluginurlinterceptorconfigurewidgettest_SRCS ${messageviewer_adblock_test_common_SRCS} adblockpluginurlinterceptorconfigurewidgettest.cpp )
set( adblockpluginurlinterceptorconfigurewidgettest_SRCS ${messageviewer_adblock_test_common_SRCS} adblockpluginurlinterceptorconfigurewidgettest.cpp ../adblockpluginurlinterceptorconfigurewidget.cpp)
add_executable( adblockpluginurlinterceptorconfigurewidgettest ${adblockpluginurlinterceptorconfigurewidgettest_SRCS})
add_test(adblockpluginurlinterceptorconfigurewidgettest adblockpluginurlinterceptorconfigurewidgettest)
ecm_mark_as_test(adblockpluginurlinterceptorconfigurewidgettest)
......
......@@ -16,8 +16,8 @@
*/
#include "adblockblockableitemsdialogtest.h"
#include "../adblockblockableitemsdialog.h"
#include "../adblockblockableitemswidget.h"
#include "../lib/adblockblockableitemsdialog.h"
#include "../lib/adblockblockableitemswidget.h"
#include <QDialogButtonBox>
#include <QTest>
......
set(messageviewer_adblock_lib_common_SRCS)
ecm_qt_declare_logging_category(messageviewer_adblock_lib_common_SRCS HEADER adblockinterceptor_debug.h IDENTIFIER ADBLOCKINTERCEPTOR_LOG CATEGORY_NAME log_adblockinterceptor)
set(adblocklibprivate_widget_SRCS
adblockblockableitemsdialog.cpp
adblockblockableitemswidget.cpp
......@@ -11,6 +14,7 @@ set(adblocklibprivate_SRCS
adblockmatcher.cpp
adblocksubscription.cpp
${adblocklibprivate_widget_SRCS}
${messageviewer_adblock_lib_common_SRCS}
)
add_library(adblocklibprivate ${adblocklibprivate_SRCS})
......@@ -23,6 +27,10 @@ PRIVATE
Qt5::WebEngineWidgets
KF5::I18n
KF5::ItemViews
KF5::ConfigCore
KF5::PimCommon
KF5::MessageViewer
KF5::KIOWidgets
)
set_target_properties(adblocklibprivate
......
......@@ -17,7 +17,7 @@
#include "adblockblockableelementgui.h"
#include "../adblockblockableitemsdialog.h"
#include "../lib/adblockblockableitemsdialog.h"
#include <QVBoxLayout>
#include <QPushButton>
#include <QWebEngineView>
......
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