diff options
Diffstat (limited to 'examples/tutorials/modelview/2_formatting')
-rwxr-xr-x | examples/tutorials/modelview/2_formatting/2_formatting.pro | 1 | ||||
-rwxr-xr-x | examples/tutorials/modelview/2_formatting/main.cpp | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/tutorials/modelview/2_formatting/2_formatting.pro b/examples/tutorials/modelview/2_formatting/2_formatting.pro index c6416dc415..9065100a3c 100755 --- a/examples/tutorials/modelview/2_formatting/2_formatting.pro +++ b/examples/tutorials/modelview/2_formatting/2_formatting.pro @@ -14,6 +14,7 @@ sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/modelview/2_formatting 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/2_formatting/main.cpp b/examples/tutorials/modelview/2_formatting/main.cpp index fdde141b4c..fb1b670896 100755 --- a/examples/tutorials/modelview/2_formatting/main.cpp +++ b/examples/tutorials/modelview/2_formatting/main.cpp @@ -40,8 +40,8 @@ //! [Quoting ModelView Tutorial] // main.cpp -#include <QtGui/QApplication> -#include <QtGui/QTableView> +#include <QtWidgets/QApplication> +#include <QtWidgets/QTableView> #include "mymodel.h" int main(int argc, char *argv[]) |