diff options
Diffstat (limited to 'examples/tutorials/widgets/toplevel')
-rw-r--r-- | examples/tutorials/widgets/toplevel/main.cpp | 2 | ||||
-rw-r--r-- | examples/tutorials/widgets/toplevel/toplevel.pro | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/tutorials/widgets/toplevel/main.cpp b/examples/tutorials/widgets/toplevel/main.cpp index f7baf0610e..6b84037ab2 100644 --- a/examples/tutorials/widgets/toplevel/main.cpp +++ b/examples/tutorials/widgets/toplevel/main.cpp @@ -39,7 +39,7 @@ ****************************************************************************/ //! [main program] -#include <QtGui> +#include <QtWidgets> int main(int argc, char *argv[]) { diff --git a/examples/tutorials/widgets/toplevel/toplevel.pro b/examples/tutorials/widgets/toplevel/toplevel.pro index d4ea441cc9..a86d05b46c 100644 --- a/examples/tutorials/widgets/toplevel/toplevel.pro +++ b/examples/tutorials/widgets/toplevel/toplevel.pro @@ -5,6 +5,7 @@ target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/widgets/toplevel sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS toplevel.pro sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/widgets/toplevel INSTALLS += target sources +QT += widgets symbian: CONFIG += qt_example maemo5: CONFIG += qt_example |