Skip to content

Commit

Permalink
fix build without QtWebkit (#45893)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec committed Nov 5, 2021
1 parent 3d8fc9d commit c99065f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/gui/testqgsexternalresourcewidgetwrapper.cpp
Expand Up @@ -1258,7 +1258,9 @@ void TestQgsExternalResourceWidgetWrapper::testChangeValueToNullBeforeLoaded()

// content still null, fetching in progress...
QVERIFY( !ww.mQgsWidget->mPixmapLabel->isVisible() );
#ifdef WITH_QTWEBKIT
QVERIFY( !ww.mQgsWidget->mWebView->isVisible() );
#endif
QVERIFY( ww.mQgsWidget->mLoadingLabel->isVisible() );
QVERIFY( ww.mQgsWidget->mLoadingMovie->state() == QMovie::Running );
QVERIFY( !ww.mQgsWidget->mErrorLabel->isVisible() );
Expand Down

0 comments on commit c99065f

Please sign in to comment.