Fix define-check for QtQuickWidgets.

wilder
Stephen Kelly 11 years ago
parent db3d255922
commit dd4fe5eef6
  1. 4
      autotests/proxymodeltestapp/mainwindow.cpp

@ -42,7 +42,7 @@
#include "lessthanwidget.h"
#include "matchcheckingwidget.h"
#include "kidentityproxymodelwidget.h"
#ifdef QT_QUICK_LIB
#ifdef QT_QUICKWIDGETS_LIB
#include "selectioninqmlwidget.h"
#endif
@ -54,7 +54,7 @@ MainWindow::MainWindow() : QMainWindow()
tabWidget->addTab(new MatchCheckingWidget(), "Match Checking PM");
tabWidget->addTab(new DescendantProxyModelWidget(), "descendant PM");
tabWidget->addTab(new SelectionProxyWidget(), "selection PM");
#ifdef QT_QUICK_LIB
#ifdef QT_QUICKWIDGETS_LIB
tabWidget->addTab(new SelectionInQmlWidget(), "selection PM in QML");
#endif
tabWidget->addTab(new KIdentityProxyModelWidget(), "Identity PM");

Loading…
Cancel
Save