Skip to content
Permalink
Browse files
Fix compilation when WITH_QTWEBKIT=FALSE
  • Loading branch information
troopa81 authored and nyalldawson committed Jun 30, 2021
1 parent 6e83672 commit cb1b8d033b84f1513f97e71560117455d5cd8f0d
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/src/gui/testqgshtmlwidgetwrapper.cpp
@@ -13,7 +13,9 @@
* *
***************************************************************************/

#ifdef WITH_QTWEBKIT
#include <QWebFrame>
#endif

#include "qgstest.h"

@@ -91,7 +93,9 @@ void TestQgsHtmlWidgetWrapper::testExpressionEvaluate()

htmlWrapper->setFeature( f );

#ifdef WITH_QTWEBKIT
QCOMPARE( webView->page()->mainFrame()->toPlainText(), expectedText );
#endif

QgsProject::instance()->removeMapLayer( &layer );
}

0 comments on commit cb1b8d0

Please sign in to comment.