Fix building of examples.

- Correct install path of widget examples to contain widgets
  directory in target tree.
- Add missing resources.

Task-number: QTBUG-27977

Change-Id: If4cb117998892b0b165d7678367553d3a7553b91
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
Friedemann Kleint 2012-11-21 14:04:34 +01:00 committed by The Qt Project
parent 23e44afe7a
commit 626283740f
182 changed files with 385 additions and 355 deletions

View File

@ -10,7 +10,7 @@ DBUS_INTERFACES += org.example.chat.xml
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dbus/chat
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro *.xml
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dbus/chat
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dbus/dbus-chat
INSTALLS += target sources
simulator: warning(This example does not work on Simulator platform)

View File

@ -11,7 +11,7 @@ DESTDIR = ../plugins
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/echoplugin/plugin
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS plugin.pro
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS plugin.pro echoplugin.json
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/echoplugin/plugin
INSTALLS += target sources

View File

@ -11,7 +11,7 @@ DESTDIR = ../../plugandpaint/plugins
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/plugandpaint/plugins
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS basictools.pro
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS basictools.pro basictools.json
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/plugandpaintplugins/basictools
INSTALLS += target sources

View File

@ -11,7 +11,7 @@ DESTDIR = ../../plugandpaint/plugins
#! [0]
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/plugandpaint/plugins
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS extrafilters.pro
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS extrafilters.pro extrafilters.json
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/plugandpaintplugins/extrafilters
INSTALLS += target sources

View File

@ -1,2 +1,8 @@
TEMPLATE = subdirs
SUBDIRS = pinchzoom fingerpaint knobs dials
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/touch
sources.files = touch.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/touch
INSTALLS += target sources

View File

@ -2,9 +2,9 @@ SOURCES = main.cpp
RESOURCES = animatedtiles.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/animatedtiles
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation/animatedtiles
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS animatedtiles.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/animatedtiles
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation/animatedtiles
INSTALLS += target sources
QT += widgets

View File

@ -10,8 +10,8 @@ SUBDIRS += \
sub-attaq \
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS animation.pro README
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation
INSTALLS += target sources
QT += widgets

View File

@ -2,9 +2,9 @@ SOURCES = main.cpp
RESOURCES = appchooser.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/appchooser
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS appchooser.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/appchooser
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation/appchooser
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS appchooser.pro *.png
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation/appchooser
INSTALLS += target sources
QT += widgets

View File

@ -8,9 +8,9 @@ FORMS = form.ui
RESOURCES = easing.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/easing
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation/easing
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS easing.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/easing
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation/easing
INSTALLS += target sources
QT += widgets

View File

@ -1,9 +1,9 @@
SOURCES = main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/moveblocks
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation/moveblocks
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS moveblocks.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/moveblocks
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation/moveblocks
INSTALLS += target sources
QT += widgets

View File

@ -2,9 +2,9 @@ SOURCES += main.cpp
RESOURCES += states.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/states
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS states.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/states
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation/states
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS states.pro *.png
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation/states
INSTALLS += target sources
QT += widgets

View File

@ -15,9 +15,9 @@ SOURCES += main.cpp \
RESOURCES += stickman.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/stickman
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS stickman.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/stickman
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation/stickman
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS stickman.pro animations
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation/stickman
INSTALLS += target sources
QT += widgets

View File

@ -30,13 +30,14 @@ SOURCES += boat.cpp \
RESOURCES += subattaq.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/sub-attaq
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation/sub-attaq
sources.files = $$SOURCES \
$$HEADERS \
$$RESOURCES \
$$FORMS \
sub-attaq.pro \
pics
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation/sub-attaq
pics \
data.xml
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/animation/sub-attaq
INSTALLS += target \
sources

View File

@ -3,9 +3,9 @@ CONFIG += ordered
SUBDIRS = screenshot systray
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/desktop
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/desktop
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS desktop.pro README
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/desktop
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/desktop
INSTALLS += target sources
QT += widgets

View File

@ -3,9 +3,9 @@ SOURCES = main.cpp \
screenshot.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/desktop/screenshot
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/desktop/screenshot
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS screenshot.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/desktop/screenshot
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/desktop/screenshot
INSTALLS += target sources
QT += widgets

View File

@ -6,9 +6,9 @@ RESOURCES = systray.qrc
QT += widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/desktop/systray
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS systray.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/desktop/systray
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/desktop/systray
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS systray.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/desktop/systray
INSTALLS += target sources
simulator: warning(This example might not fully work on Simulator platform)

View File

@ -4,9 +4,9 @@ SOURCES = classwizard.cpp \
RESOURCES = classwizard.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/classwizard
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/classwizard
sources.files = $$SOURCES $$HEADERS $$FORMS $$RESOURCES *.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/classwizard
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/classwizard
INSTALLS += target sources
QT += widgets

View File

@ -6,9 +6,9 @@ SOURCES = configdialog.cpp \
RESOURCES += configdialog.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/configdialog
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/configdialog
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/configdialog
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/configdialog
INSTALLS += target sources
wince50standard-x86-msvc2005: LIBS += libcmt.lib corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib ws2.lib

View File

@ -13,7 +13,7 @@ wince*: SUBDIRS += sipdialog
# install
sources.files = README *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs
INSTALLS += sources
QT += widgets

View File

@ -3,9 +3,9 @@ SOURCES = finddialog.cpp \
main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/extension
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/extension
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/extension
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/extension
INSTALLS += target sources
QT += widgets

View File

@ -3,9 +3,9 @@ SOURCES = main.cpp \
window.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/findfiles
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/findfiles
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/findfiles
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/findfiles
INSTALLS += target sources
QT += widgets

View File

@ -4,9 +4,9 @@ SOURCES = licensewizard.cpp \
RESOURCES = licensewizard.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/licensewizard
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/licensewizard
sources.files = $$SOURCES $$HEADERS $$FORMS $$RESOURCES *.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/licensewizard
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/licensewizard
INSTALLS += target sources
QT += widgets printsupport

View File

@ -3,9 +3,9 @@ SOURCES = main.cpp \
dialog.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/sipdialog
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/sipdialog
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/sipdialog
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/sipdialog
INSTALLS += target sources
wince50standard-x86-msvc2005: LIBS += libcmt.lib corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib ws2.lib

View File

@ -3,9 +3,9 @@ SOURCES = dialog.cpp \
main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/standarddialogs
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/standarddialogs
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/standarddialogs
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/standarddialogs
INSTALLS += target sources
wince50standard-x86-msvc2005: LIBS += libcmt.lib corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib ws2.lib

View File

@ -3,9 +3,9 @@ SOURCES = main.cpp \
tabdialog.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/tabdialog
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/tabdialog
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/tabdialog
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/tabdialog
INSTALLS += target sources
wince50standard-x86-msvc2005: LIBS += libcmt.lib corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib ws2.lib

View File

@ -1,9 +1,9 @@
SOURCES = trivialwizard.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/trivialwizard
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/trivialwizard
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dialogs/trivialwizard
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/dialogs/trivialwizard
INSTALLS += target sources
QT += widgets

View File

@ -8,6 +8,6 @@ SUBDIRS = draggableicons \
wince*: SUBDIRS -= dropsite
# install
sources.files = README *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/draganddrop
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/draganddrop
INSTALLS += sources
QT += widgets

View File

@ -4,9 +4,9 @@ SOURCES = dragwidget.cpp \
main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/draganddrop/draggableicons
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/draganddrop/draggableicons
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/draganddrop/draggableicons
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/draganddrop/draggableicons
INSTALLS += target sources
QT += widgets

View File

@ -6,9 +6,9 @@ SOURCES = draglabel.cpp \
main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/draganddrop/draggabletext
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/draganddrop/draggabletext
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.txt *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/draganddrop/draggabletext
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/draganddrop/draggabletext
INSTALLS += target sources
QT += widgets

View File

@ -5,9 +5,9 @@ SOURCES = droparea.cpp \
main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/draganddrop/dropsite
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/draganddrop/dropsite
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/draganddrop/dropsite
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/draganddrop/dropsite
INSTALLS += target sources
QT += widgets

View File

@ -6,9 +6,9 @@ SOURCES = draglabel.cpp \
main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/draganddrop/fridgemagnets
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/draganddrop/fridgemagnets
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.txt
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/draganddrop/fridgemagnets
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/draganddrop/fridgemagnets
INSTALLS += target sources
QT += widgets

View File

@ -10,9 +10,9 @@ SOURCES = main.cpp \
QMAKE_PROJECT_NAME = dndpuzzle
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/draganddrop/puzzle
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/draganddrop/puzzle
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.jpg
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/draganddrop/puzzle
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/draganddrop/puzzle
INSTALLS += target sources
wince*: {

View File

@ -3,9 +3,9 @@ HEADERS += blurpicker.h blureffect.h
RESOURCES += blurpicker.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/effects/blurpicker
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS blurpicker.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/effects/blurpicker
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/effects/blurpicker
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS blurpicker.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/effects/blurpicker
INSTALLS += target sources
QT += widgets

View File

@ -6,9 +6,9 @@ SUBDIRS = \
fademessage
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/effects
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/effects
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS effects.pro README
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/effects
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/effects
INSTALLS += target sources
QT += widgets

View File

@ -4,14 +4,14 @@ RESOURCES += fademessage.qrc
INSTALLS += target sources
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/effects/fademessage
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/effects/fademessage
sources.files = $$SOURCES \
$$HEADERS \
$$RESOURCES \
$$FORMS \
fademessage.pro \
background.jpg
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/effects/fademessage
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/effects/fademessage
QT += widgets

View File

@ -2,9 +2,9 @@ SOURCES += main.cpp lighting.cpp
HEADERS += lighting.h
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/effects/lighting
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/effects/lighting
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS lighting.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/effects/lighting
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/effects/lighting
INSTALLS += target sources
QT += widgets

View File

@ -1,9 +1,9 @@
SOURCES = main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/anchorlayout
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/anchorlayout
sources.files = $$SOURCES $$HEADERS $$RESOURCES anchorlayout.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/anchorlayout
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/anchorlayout
INSTALLS += target sources
TARGET = anchorlayout

View File

@ -6,9 +6,9 @@ SOURCES = layoutitem.cpp \
RESOURCES = basicgraphicslayouts.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/basicgraphicslayouts
sources.files = $$SOURCES $$HEADERS $$RESOURCES basicgraphicslayouts.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/basicgraphicslayouts
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/basicgraphicslayouts
sources.files = $$SOURCES $$HEADERS $$RESOURCES basicgraphicslayouts.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/basicgraphicslayouts
INSTALLS += target sources
QT += widgets

View File

@ -20,11 +20,11 @@ SOURCES += 3rdparty/fbm.c \
RESOURCES += boxes.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/boxes
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/boxes
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html *.jpg *.png *.fsh *.vsh *.par
sources.files -= 3rdparty/fbm.h 3rdparty/fbm.c
sources.files += 3rdparty
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/boxes
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/boxes
INSTALLS += target sources
wince*: {

View File

@ -14,8 +14,8 @@ build_all:!build_pass {
}
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/chip
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/chip
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.png *.pro *.html *.doc images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/chip
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/chip
INSTALLS += target sources

View File

@ -8,9 +8,9 @@ RESOURCES += \
mice.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/collidingmice
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/collidingmice
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS collidingmice.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/collidingmice
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/collidingmice
INSTALLS += target sources
QT += widgets

View File

@ -13,9 +13,9 @@ RESOURCES = diagramscene.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/diagramscene
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/diagramscene
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS diagramscene.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/diagramscene
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/diagramscene
INSTALLS += target sources

View File

@ -12,9 +12,9 @@ RESOURCES += \
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/dragdroprobot
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/dragdroprobot
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS dragdroprobot.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/dragdroprobot
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/dragdroprobot
INSTALLS += target sources
QT += widgets

View File

@ -12,9 +12,9 @@ SOURCES += \
TARGET.EPOCHEAPSIZE = 0x200000 0xA00000
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/elasticnodes
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/elasticnodes
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS elasticnodes.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/elasticnodes
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/elasticnodes
INSTALLS += target sources
QT += widgets

View File

@ -11,9 +11,9 @@ build_all:!build_pass {
}
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/embeddeddialogs
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/embeddeddialogs
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.png *.jpg *.plist *.icns *.ico *.rc *.pro *.html *.doc images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/embeddeddialogs
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/embeddeddialogs
INSTALLS += target sources
QT += widgets

View File

@ -6,9 +6,9 @@ HEADERS += flowlayout.h window.h
SOURCES += flowlayout.cpp main.cpp window.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/flowlayout
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/flowlayout
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/flowlayout
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/flowlayout
INSTALLS += target sources
simulator: warning(This example might not fully work on Simulator platform)

View File

@ -20,9 +20,9 @@ contains(QT_CONFIG, opengl):!contains(QT_CONFIG, opengles1):!contains(QT_CONFIG,
}
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS graphicsview.pro README
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview
INSTALLS += target sources
QT += widgets

View File

@ -20,9 +20,9 @@ QT += widgets
contains(QT_CONFIG, opengl):QT += opengl
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/padnavigator
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/padnavigator
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS padnavigator.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/padnavigator
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/padnavigator
INSTALLS += target sources
CONFIG += console

View File

@ -1,9 +1,9 @@
SOURCES = main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/simpleanchorlayout
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/simpleanchorlayout
sources.files = $$SOURCES $$HEADERS $$RESOURCES simpleanchorlayout.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/simpleanchorlayout
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/simpleanchorlayout
INSTALLS += target sources
TARGET = simpleanchorlayout

View File

@ -4,9 +4,9 @@ SOURCES += main.cpp
RESOURCES += weatheranchorlayout.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/weatheranchorlayout
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/weatheranchorlayout
sources.files = $$SOURCES $$HEADERS $$RESOURCES weatheranchorlayout.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/weatheranchorlayout
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/weatheranchorlayout
INSTALLS += target sources
simulator: warning(This example might not fully work on Simulator platform)

View File

@ -11,9 +11,9 @@ HEADERS = adddialog.h \
tablemodel.h
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/addressbook
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/addressbook
sources.files = $$SOURCES $$HEADERS $$RESOURCES addressbook.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/addressbook
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/addressbook
INSTALLS += target sources
QT += widgets

View File

@ -4,9 +4,9 @@ SOURCES = main.cpp \
CONFIG += qt
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/basicsortfiltermodel
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/basicsortfiltermodel
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/basicsortfiltermodel
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/basicsortfiltermodel
INSTALLS += target sources
QT += widgets

View File

@ -9,9 +9,9 @@ unix:!mac:!vxworks:!integrity:LIBS+= -lm
TARGET.EPOCHEAPSIZE = 0x200000 0x800000
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/chart
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/chart
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.cht
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/chart
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/chart
INSTALLS += target sources
QT += widgets

View File

@ -5,9 +5,9 @@ SOURCES = colorlisteditor.cpp \
main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/coloreditorfactory
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/coloreditorfactory
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/coloreditorfactory
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/coloreditorfactory
INSTALLS += target sources
QT += widgets

View File

@ -3,9 +3,9 @@ SOURCES = main.cpp \
window.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/combowidgetmapper
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/combowidgetmapper
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/combowidgetmapper
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/combowidgetmapper
INSTALLS += target sources
QT += widgets

View File

@ -6,9 +6,9 @@ SOURCES = main.cpp \
CONFIG += qt
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/customsortfiltermodel
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/customsortfiltermodel
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/customsortfiltermodel
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/customsortfiltermodel
INSTALLS += target sources
QT += widgets

View File

@ -1,9 +1,9 @@
SOURCES = main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/dirview
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/dirview
sources.files = $$SOURCES *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/dirview
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/dirview
INSTALLS += target sources
QT += widgets

View File

@ -10,9 +10,9 @@ SOURCES = mainwindow.cpp \
CONFIG += qt
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/editabletreemodel
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/editabletreemodel
sources.files = $$FORMS $$HEADERS $$RESOURCES $$SOURCES *.pro *.txt
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/editabletreemodel
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/editabletreemodel
INSTALLS += target sources
QT += widgets

View File

@ -5,9 +5,9 @@ SOURCES = filelistmodel.cpp \
window.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/fetchmore
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/fetchmore
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/fetchmore
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/fetchmore
INSTALLS += target sources
QT += widgets

View File

@ -3,9 +3,9 @@ SOURCES += main.cpp freezetablewidget.cpp
RESOURCES += grades.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/frozencolumn
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/frozencolumn
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/frozencolumn
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro grades.txt
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/frozencolumn
INSTALLS += target sources
QT += widgets

View File

@ -11,9 +11,9 @@ build_all:!build_pass {
}
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/interview
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/interview
sources.files = $$SOURCES $$HEADERS $$RESOURCES README *.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/interview
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/interview
INSTALLS += target sources
QT += widgets

View File

@ -19,7 +19,7 @@ SUBDIRS = addressbook \
# install
sources.files = README *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews
INSTALLS += sources
QT += widgets

View File

@ -8,9 +8,9 @@ SOURCES = imagemodel.cpp \
RESOURCES += images.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/pixelator
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/pixelator
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/pixelator
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/pixelator
INSTALLS += target sources
QT += widgets

View File

@ -8,9 +8,9 @@ SOURCES = main.cpp \
puzzlewidget.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/puzzle
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/puzzle
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.jpg
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/puzzle
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/puzzle
INSTALLS += target sources

View File

@ -9,8 +9,8 @@ CONFIG += qt
QT += xml widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/simpledommodel
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/simpledommodel
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/simpledommodel
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/simpledommodel
INSTALLS += target sources

View File

@ -7,9 +7,9 @@ SOURCES = treeitem.cpp \
CONFIG += qt
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/simpletreemodel
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/simpletreemodel
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.txt
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/simpletreemodel
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/simpletreemodel
INSTALLS += target sources
QT += widgets

View File

@ -3,9 +3,9 @@ SOURCES = main.cpp \
window.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/simplewidgetmapper
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/simplewidgetmapper
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/simplewidgetmapper
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/simplewidgetmapper
INSTALLS += target sources
QT += widgets

View File

@ -3,9 +3,9 @@ SOURCES = delegate.cpp \
main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/spinboxdelegate
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/spinboxdelegate
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/spinboxdelegate
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/spinboxdelegate
INSTALLS += target sources
QT += widgets

View File

@ -16,8 +16,8 @@ build_all:!build_pass {
}
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/spreadsheet
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/spreadsheet
sources.files = $$SOURCES $$RESOURCES *.pro images $$HEADERS
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/spreadsheet
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/spreadsheet
INSTALLS += target sources

View File

@ -7,9 +7,9 @@ SOURCES = main.cpp \
starrating.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/stardelegate
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/stardelegate
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/stardelegate
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/itemviews/stardelegate
INSTALLS += target sources

View File

@ -3,9 +3,9 @@ SOURCES = dialog.cpp \
main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/layouts/basiclayouts
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/layouts/basiclayouts
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/layouts/basiclayouts
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/layouts/basiclayouts
INSTALLS += target sources
QT += widgets

View File

@ -5,9 +5,9 @@ SOURCES = borderlayout.cpp \
window.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/layouts/borderlayout
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/layouts/borderlayout
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/layouts/borderlayout
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/layouts/borderlayout
INSTALLS += target sources
QT += widgets

View File

@ -3,9 +3,9 @@ SOURCES = dialog.cpp \
main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/layouts/dynamiclayouts
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/layouts/dynamiclayouts
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/layouts/dynamiclayouts
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/layouts/dynamiclayouts
INSTALLS += target sources
QT += widgets

View File

@ -5,9 +5,9 @@ SOURCES = flowlayout.cpp \
window.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/layouts/flowlayout
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/layouts/flowlayout
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/layouts/flowlayout
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/layouts/flowlayout
INSTALLS += target sources
QT += widgets

View File

@ -6,7 +6,7 @@ SUBDIRS = basiclayouts \
# install
sources.files = README *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/layouts
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/layouts
INSTALLS += sources
QT += widgets

View File

@ -6,9 +6,9 @@ RESOURCES = application.qrc
#! [0]
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/application
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows/application
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS application.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/application
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows/application
INSTALLS += target sources
QT += widgets

View File

@ -4,9 +4,9 @@ SOURCES = main.cpp \
RESOURCES = dockwidgets.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/dockwidgets
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows/dockwidgets
sources.files = $$SOURCES $$HEADERS $$RESOURCES dockwidgets.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/dockwidgets
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows/dockwidgets
INSTALLS += target sources
QT += widgets

View File

@ -9,9 +9,9 @@ build_all:!build_pass {
RESOURCES += mainwindow.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/mainwindow
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows/mainwindow
sources.files = $$SOURCES $$HEADERS $$FORMS $$RESOURCES *.png *.jpg *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/mainwindow
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows/mainwindow
INSTALLS += target sources
QT += widgets

View File

@ -8,9 +8,9 @@ SUBDIRS = application \
sdi
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS mainwindows.pro README
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows
INSTALLS += target sources
QT += widgets

View File

@ -6,9 +6,9 @@ SOURCES = main.cpp \
RESOURCES = mdi.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/mdi
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows/mdi
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS mdi.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/mdi
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows/mdi
INSTALLS += target sources
QT += widgets

View File

@ -3,9 +3,9 @@ SOURCES = mainwindow.cpp \
main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/menus
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows/menus
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS menus.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/menus
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows/menus
INSTALLS += target sources
QT += widgets

View File

@ -3,9 +3,9 @@ SOURCES = main.cpp \
mainwindow.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/recentfiles
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows/recentfiles
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS recentfiles.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/recentfiles
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows/recentfiles
INSTALLS += target sources
QT += widgets

View File

@ -4,9 +4,9 @@ SOURCES = main.cpp \
RESOURCES = sdi.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/sdi
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows/sdi
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS sdi.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/sdi
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/mainwindows/sdi
INSTALLS += target sources
QT += widgets

View File

@ -14,9 +14,9 @@ include($$SHARED_FOLDER/shared.pri)
RESOURCES += affine.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/affine
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/affine
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html *.jpg
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/affine
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/affine
INSTALLS += target sources
wince*: {

View File

@ -6,9 +6,9 @@ SOURCES = main.cpp \
RESOURCES = basicdrawing.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/basicdrawing
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/basicdrawing
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS basicdrawing.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/basicdrawing
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/basicdrawing
INSTALLS += target sources
QT += widgets

View File

@ -13,9 +13,9 @@ contains(QT_CONFIG, opengl) {
QT += widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/composition
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/composition
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.png *.jpg *.pro *.html
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/composition
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/composition
INSTALLS += target sources

View File

@ -5,9 +5,9 @@ SOURCES = circlewidget.cpp \
window.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/concentriccircles
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/concentriccircles
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS concentriccircles.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/concentriccircles
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/concentriccircles
INSTALLS += target sources
QT += widgets

View File

@ -14,7 +14,7 @@ contains(QT_CONFIG, opengl) {
QT += widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/deform
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/deform
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/deform
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/deform
INSTALLS += target sources

View File

@ -4,9 +4,9 @@ SOURCES = main.cpp \
mainwindow.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/fontsampler
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/fontsampler
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS fontsampler.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/fontsampler
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/fontsampler
INSTALLS += target sources
QT += widgets

View File

@ -13,8 +13,8 @@ contains(QT_CONFIG, opengl) {
QT += widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/gradients
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/gradients
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/gradients
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/gradients
INSTALLS += target sources

View File

@ -4,9 +4,9 @@ SOURCES = imagecomposer.cpp \
RESOURCES = imagecomposition.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/imagecomposition
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/imagecomposition
sources.files = $$SOURCES $$HEADERS $$RESOURCES images *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/imagecomposition
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/imagecomposition
INSTALLS += target sources
QT += widgets

View File

@ -6,9 +6,9 @@ SOURCES = main.cpp \
unix:!mac:!vxworks:!integrity:LIBS += -lm
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/painterpaths
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/painterpaths
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS painterpaths.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/painterpaths
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/painterpaths
INSTALLS += target sources
QT += widgets

View File

@ -13,9 +13,9 @@ SUBDIRS = basicdrawing \
fontsampler
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS painting.pro README
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting
INSTALLS += target sources
QT += widgets

View File

@ -14,8 +14,8 @@ contains(QT_CONFIG, opengl) {
QT += widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/pathstroke
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/pathstroke
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/pathstroke
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/pathstroke
INSTALLS += target sources

View File

@ -26,9 +26,9 @@ HEADERS += \
RESOURCES += shared.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/shared
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/shared
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.pri images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/shared
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/shared
INSTALLS += sources
!cross_compile:INSTALLS += target

View File

@ -5,9 +5,9 @@ SOURCES = main.cpp \
window.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/transformations
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/transformations
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS transformations.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/transformations
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/painting/transformations
INSTALLS += target sources
QT += widgets

View File

@ -3,9 +3,9 @@ SOURCES = main.cpp \
mainwindow.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/richtext/calendar
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/richtext/calendar
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS calendar.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/richtext/calendar
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/richtext/calendar
INSTALLS += target sources
QT += widgets

View File

@ -5,9 +5,9 @@ SOURCES = detailsdialog.cpp \
mainwindow.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/richtext/orderform
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/richtext/orderform
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS orderform.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/richtext/orderform
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/richtext/orderform
INSTALLS += target sources
QT += widgets

View File

@ -5,7 +5,7 @@ SUBDIRS = calendar \
textedit
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/richtext
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/richtext
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS richtext.pro README
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/richtext
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/richtext
INSTALLS += target sources

View File

@ -5,9 +5,9 @@ SOURCES = highlighter.cpp \
main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/richtext/syntaxhighlighter
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/richtext/syntaxhighlighter
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS syntaxhighlighter.pro examples
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/richtext/syntaxhighlighter
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/richtext/syntaxhighlighter
INSTALLS += target sources

Some files were not shown because too many files have changed in this diff Show More