diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-05-07 22:57:49 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-05-07 22:57:49 +0200 |
commit | e510b6e4661f256a736b1eff42b4b7586acef788 (patch) | |
tree | e727e3df4ac98feb4fe6ef550ae39492c2843b66 /examples/tutorials/modelview/5_edit | |
parent | 9474f82f8a4ca4abfc349c17debd84f26148fc20 (diff) |
include fixes
Fixed the include statements
added QT+=widgets in examples/network to
get them to compile. Will need something better
than doing it manually.
Diffstat (limited to 'examples/tutorials/modelview/5_edit')
-rwxr-xr-x | examples/tutorials/modelview/5_edit/main.cpp | 2 | ||||
-rwxr-xr-x | examples/tutorials/modelview/5_edit/mainwindow.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/tutorials/modelview/5_edit/main.cpp b/examples/tutorials/modelview/5_edit/main.cpp index 75246f7dc7..2a78dd09e9 100755 --- a/examples/tutorials/modelview/5_edit/main.cpp +++ b/examples/tutorials/modelview/5_edit/main.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui/QApplication> +#include <QtWidgets/QApplication> #include "mainwindow.h" int main(int argc, char *argv[]) diff --git a/examples/tutorials/modelview/5_edit/mainwindow.h b/examples/tutorials/modelview/5_edit/mainwindow.h index 37303f8293..7db37919e3 100755 --- a/examples/tutorials/modelview/5_edit/mainwindow.h +++ b/examples/tutorials/modelview/5_edit/mainwindow.h @@ -41,7 +41,7 @@ #ifndef MAINWINDOW_H #define MAINWINDOW_H -#include <QtGui/QMainWindow> +#include <QtWidgets/QMainWindow> QT_BEGIN_NAMESPACE // QT_BEGIN_NAMESPACE / QT_END_NAMESPACE are not needed in Qt user code class QTableView; //forward declaration |