diff options
Diffstat (limited to 'examples/draganddrop')
-rw-r--r-- | examples/draganddrop/draganddrop.pro | 1 | ||||
-rw-r--r-- | examples/draganddrop/draggableicons/draggableicons.pro | 1 | ||||
-rw-r--r-- | examples/draganddrop/draggableicons/dragwidget.cpp | 2 | ||||
-rw-r--r-- | examples/draganddrop/draggabletext/draggabletext.pro | 1 | ||||
-rw-r--r-- | examples/draganddrop/draggabletext/draglabel.cpp | 2 | ||||
-rw-r--r-- | examples/draganddrop/draggabletext/dragwidget.cpp | 2 | ||||
-rw-r--r-- | examples/draganddrop/dropsite/droparea.cpp | 2 | ||||
-rw-r--r-- | examples/draganddrop/dropsite/dropsite.pro | 1 | ||||
-rw-r--r-- | examples/draganddrop/dropsite/dropsitewindow.cpp | 2 | ||||
-rw-r--r-- | examples/draganddrop/fridgemagnets/draglabel.cpp | 2 | ||||
-rw-r--r-- | examples/draganddrop/fridgemagnets/dragwidget.cpp | 2 | ||||
-rw-r--r-- | examples/draganddrop/fridgemagnets/fridgemagnets.pro | 3 | ||||
-rw-r--r-- | examples/draganddrop/puzzle/mainwindow.cpp | 2 | ||||
-rw-r--r-- | examples/draganddrop/puzzle/pieceslist.cpp | 2 | ||||
-rw-r--r-- | examples/draganddrop/puzzle/puzzle.pro | 1 | ||||
-rw-r--r-- | examples/draganddrop/puzzle/puzzlewidget.cpp | 2 |
16 files changed, 18 insertions, 10 deletions
diff --git a/examples/draganddrop/draganddrop.pro b/examples/draganddrop/draganddrop.pro index 8f737f1918..6759520ddc 100644 --- a/examples/draganddrop/draganddrop.pro +++ b/examples/draganddrop/draganddrop.pro @@ -11,3 +11,4 @@ symbian: SUBDIRS -= dropsite sources.files = README *.pro sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/draganddrop INSTALLS += sources +QT += widgets diff --git a/examples/draganddrop/draggableicons/draggableicons.pro b/examples/draganddrop/draggableicons/draggableicons.pro index 691c270e81..941e817462 100644 --- a/examples/draganddrop/draggableicons/draggableicons.pro +++ b/examples/draganddrop/draggableicons/draggableicons.pro @@ -13,4 +13,5 @@ symbian { TARGET.UID3 = 0xA000C615 CONFIG += qt_example } +QT += widgets maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri) diff --git a/examples/draganddrop/draggableicons/dragwidget.cpp b/examples/draganddrop/draggableicons/dragwidget.cpp index 46bfff9330..e465e8ada5 100644 --- a/examples/draganddrop/draggableicons/dragwidget.cpp +++ b/examples/draganddrop/draggableicons/dragwidget.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "dragwidget.h" diff --git a/examples/draganddrop/draggabletext/draggabletext.pro b/examples/draganddrop/draggabletext/draggabletext.pro index 33885f906f..cec6651629 100644 --- a/examples/draganddrop/draggabletext/draggabletext.pro +++ b/examples/draganddrop/draggabletext/draggabletext.pro @@ -15,5 +15,6 @@ symbian { TARGET.UID3 = 0xA000CF64 CONFIG += qt_example } +QT += widgets maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri) simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/draganddrop/draggabletext/draglabel.cpp b/examples/draganddrop/draggabletext/draglabel.cpp index dff09da14f..9eb5dfac0b 100644 --- a/examples/draganddrop/draggabletext/draglabel.cpp +++ b/examples/draganddrop/draggabletext/draglabel.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "draglabel.h" diff --git a/examples/draganddrop/draggabletext/dragwidget.cpp b/examples/draganddrop/draggabletext/dragwidget.cpp index 060d41de2d..5287c998a3 100644 --- a/examples/draganddrop/draggabletext/dragwidget.cpp +++ b/examples/draganddrop/draggabletext/dragwidget.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "draglabel.h" #include "dragwidget.h" diff --git a/examples/draganddrop/dropsite/droparea.cpp b/examples/draganddrop/dropsite/droparea.cpp index 2a83de888e..c3cac7bf45 100644 --- a/examples/draganddrop/dropsite/droparea.cpp +++ b/examples/draganddrop/dropsite/droparea.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "droparea.h" diff --git a/examples/draganddrop/dropsite/dropsite.pro b/examples/draganddrop/dropsite/dropsite.pro index b3be1b64cb..c725992f26 100644 --- a/examples/draganddrop/dropsite/dropsite.pro +++ b/examples/draganddrop/dropsite/dropsite.pro @@ -11,6 +11,7 @@ sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/draganddrop/dropsite INSTALLS += target sources symbian: CONFIG += qt_example +QT += widgets maemo5: CONFIG += qt_example symbian: warning(This example might not fully work on Symbian platform) maemo5: warning(This example might not fully work on Maemo platform) diff --git a/examples/draganddrop/dropsite/dropsitewindow.cpp b/examples/draganddrop/dropsite/dropsitewindow.cpp index db7d6e3566..191470207e 100644 --- a/examples/draganddrop/dropsite/dropsitewindow.cpp +++ b/examples/draganddrop/dropsite/dropsitewindow.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "droparea.h" #include "dropsitewindow.h" diff --git a/examples/draganddrop/fridgemagnets/draglabel.cpp b/examples/draganddrop/fridgemagnets/draglabel.cpp index 986f0b28c8..dd5ddb57d9 100644 --- a/examples/draganddrop/fridgemagnets/draglabel.cpp +++ b/examples/draganddrop/fridgemagnets/draglabel.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "draglabel.h" diff --git a/examples/draganddrop/fridgemagnets/dragwidget.cpp b/examples/draganddrop/fridgemagnets/dragwidget.cpp index 19abfb6976..3dcd406174 100644 --- a/examples/draganddrop/fridgemagnets/dragwidget.cpp +++ b/examples/draganddrop/fridgemagnets/dragwidget.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "draglabel.h" #include "dragwidget.h" diff --git a/examples/draganddrop/fridgemagnets/fridgemagnets.pro b/examples/draganddrop/fridgemagnets/fridgemagnets.pro index 5fb7379dd1..7cdb9591d6 100644 --- a/examples/draganddrop/fridgemagnets/fridgemagnets.pro +++ b/examples/draganddrop/fridgemagnets/fridgemagnets.pro @@ -16,4 +16,7 @@ symbian { CONFIG += qt_example } + +QT += widgets + maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri) diff --git a/examples/draganddrop/puzzle/mainwindow.cpp b/examples/draganddrop/puzzle/mainwindow.cpp index 09fcaf7c59..c00892a098 100644 --- a/examples/draganddrop/puzzle/mainwindow.cpp +++ b/examples/draganddrop/puzzle/mainwindow.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include <stdlib.h> #include "mainwindow.h" diff --git a/examples/draganddrop/puzzle/pieceslist.cpp b/examples/draganddrop/puzzle/pieceslist.cpp index 5eb4984146..181cd56427 100644 --- a/examples/draganddrop/puzzle/pieceslist.cpp +++ b/examples/draganddrop/puzzle/pieceslist.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "pieceslist.h" diff --git a/examples/draganddrop/puzzle/puzzle.pro b/examples/draganddrop/puzzle/puzzle.pro index 2682032e87..8c81c49b73 100644 --- a/examples/draganddrop/puzzle/puzzle.pro +++ b/examples/draganddrop/puzzle/puzzle.pro @@ -27,4 +27,5 @@ wince*: { addFile.path = . DEPLOYMENT += addFile } +QT += widgets maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri) diff --git a/examples/draganddrop/puzzle/puzzlewidget.cpp b/examples/draganddrop/puzzle/puzzlewidget.cpp index e83f248112..cee2596a61 100644 --- a/examples/draganddrop/puzzle/puzzlewidget.cpp +++ b/examples/draganddrop/puzzle/puzzlewidget.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "puzzlewidget.h" |