summaryrefslogtreecommitdiffstats
path: root/examples/widgets/draganddrop
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/draganddrop')
-rw-r--r--examples/widgets/draganddrop/draganddrop.pro1
-rw-r--r--examples/widgets/draganddrop/draggableicons/draggableicons.pro4
-rw-r--r--examples/widgets/draganddrop/draggabletext/draggabletext.pro5
-rw-r--r--examples/widgets/draganddrop/dropsite/dropsite.pro3
-rw-r--r--examples/widgets/draganddrop/fridgemagnets/fridgemagnets.pro5
-rw-r--r--examples/widgets/draganddrop/puzzle/puzzle.pro3
6 files changed, 10 insertions, 11 deletions
diff --git a/examples/widgets/draganddrop/draganddrop.pro b/examples/widgets/draganddrop/draganddrop.pro
index 3f2691a516..098651d2f6 100644
--- a/examples/widgets/draganddrop/draganddrop.pro
+++ b/examples/widgets/draganddrop/draganddrop.pro
@@ -6,4 +6,3 @@ SUBDIRS = draggableicons \
puzzle
wince*: SUBDIRS -= dropsite
-QT += widgets
diff --git a/examples/widgets/draganddrop/draggableicons/draggableicons.pro b/examples/widgets/draganddrop/draggableicons/draggableicons.pro
index 194814a8c8..f87ec4ad60 100644
--- a/examples/widgets/draganddrop/draggableicons/draggableicons.pro
+++ b/examples/widgets/draganddrop/draggableicons/draggableicons.pro
@@ -1,3 +1,5 @@
+QT += widgets
+
HEADERS = dragwidget.h
RESOURCES = draggableicons.qrc
SOURCES = dragwidget.cpp \
@@ -6,5 +8,3 @@ SOURCES = dragwidget.cpp \
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/draganddrop/draggableicons
INSTALLS += target
-
-QT += widgets
diff --git a/examples/widgets/draganddrop/draggabletext/draggabletext.pro b/examples/widgets/draganddrop/draggabletext/draggabletext.pro
index 1eb579a2bd..2815be1613 100644
--- a/examples/widgets/draganddrop/draggabletext/draggabletext.pro
+++ b/examples/widgets/draganddrop/draggabletext/draggabletext.pro
@@ -1,3 +1,5 @@
+QT += widgets
+
HEADERS = draglabel.h \
dragwidget.h
RESOURCES = draggabletext.qrc
@@ -8,6 +10,3 @@ SOURCES = draglabel.cpp \
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/draganddrop/draggabletext
INSTALLS += target
-
-QT += widgets
-
diff --git a/examples/widgets/draganddrop/dropsite/dropsite.pro b/examples/widgets/draganddrop/dropsite/dropsite.pro
index 008030be85..9496cc4940 100644
--- a/examples/widgets/draganddrop/dropsite/dropsite.pro
+++ b/examples/widgets/draganddrop/dropsite/dropsite.pro
@@ -1,3 +1,5 @@
+QT += widgets
+
HEADERS = droparea.h \
dropsitewindow.h
SOURCES = droparea.cpp \
@@ -8,5 +10,4 @@ SOURCES = droparea.cpp \
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/draganddrop/dropsite
INSTALLS += target
-QT += widgets
simulator: warning(This example might not fully work on Simulator platform)
diff --git a/examples/widgets/draganddrop/fridgemagnets/fridgemagnets.pro b/examples/widgets/draganddrop/fridgemagnets/fridgemagnets.pro
index 350dee6561..2c3165d1c5 100644
--- a/examples/widgets/draganddrop/fridgemagnets/fridgemagnets.pro
+++ b/examples/widgets/draganddrop/fridgemagnets/fridgemagnets.pro
@@ -1,3 +1,5 @@
+QT += widgets
+
HEADERS = draglabel.h \
dragwidget.h
RESOURCES = fridgemagnets.qrc
@@ -8,6 +10,3 @@ SOURCES = draglabel.cpp \
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/draganddrop/fridgemagnets
INSTALLS += target
-
-QT += widgets
-
diff --git a/examples/widgets/draganddrop/puzzle/puzzle.pro b/examples/widgets/draganddrop/puzzle/puzzle.pro
index 4d85778073..95008fc29b 100644
--- a/examples/widgets/draganddrop/puzzle/puzzle.pro
+++ b/examples/widgets/draganddrop/puzzle/puzzle.pro
@@ -1,3 +1,5 @@
+QT += widgets
+
HEADERS = mainwindow.h \
pieceslist.h \
puzzlewidget.h
@@ -18,4 +20,3 @@ wince*: {
addFile.path = .
DEPLOYMENT += addFile
}
-QT += widgets