summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/modelview/3_changingmodel
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorials/modelview/3_changingmodel')
-rwxr-xr-xexamples/tutorials/modelview/3_changingmodel/3_changingmodel.pro1
-rwxr-xr-xexamples/tutorials/modelview/3_changingmodel/main.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/tutorials/modelview/3_changingmodel/3_changingmodel.pro b/examples/tutorials/modelview/3_changingmodel/3_changingmodel.pro
index e5a61fca0f..58070a5b57 100755
--- a/examples/tutorials/modelview/3_changingmodel/3_changingmodel.pro
+++ b/examples/tutorials/modelview/3_changingmodel/3_changingmodel.pro
@@ -14,6 +14,7 @@ sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/modelview/3_changingmode
INSTALLS += target sources
symbian: CONFIG += qt_example
+QT += widgets
maemo5: CONFIG += qt_example
symbian: warning(This example might not fully work on Symbian platform)
diff --git a/examples/tutorials/modelview/3_changingmodel/main.cpp b/examples/tutorials/modelview/3_changingmodel/main.cpp
index 8a4ab8f6ab..424c1dc438 100755
--- a/examples/tutorials/modelview/3_changingmodel/main.cpp
+++ b/examples/tutorials/modelview/3_changingmodel/main.cpp
@@ -38,8 +38,8 @@
**
****************************************************************************/
-#include <QtGui/QApplication>
-#include <QtGui/QTableView>
+#include <QtWidgets/QApplication>
+#include <QtWidgets/QTableView>
#include "mymodel.h"
int main(int argc, char *argv[])