Commit 780d21e1 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

fix example installs


Change-Id: Ib34795f10b1d7120b28958127ced049af3b4f72b
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@theqtcompany.com>
Showing with 25 additions and 11 deletions
...@@ -4,5 +4,5 @@ SOURCES = main.cpp \ ...@@ -4,5 +4,5 @@ SOURCES = main.cpp \
QT += widgets QT += widgets
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/corelib/tools/customcompleter target.path = $$[QT_INSTALL_EXAMPLES]/corelib/tools/customtype
INSTALLS += target INSTALLS += target
...@@ -6,5 +6,5 @@ SOURCES = main.cpp \ ...@@ -6,5 +6,5 @@ SOURCES = main.cpp \
QT += widgets QT += widgets
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/corelib/tools/customcompleter target.path = $$[QT_INSTALL_EXAMPLES]/corelib/tools/customtypesending
INSTALLS += target INSTALLS += target
...@@ -7,3 +7,7 @@ SOURCES += main.cpp \ ...@@ -7,3 +7,7 @@ SOURCES += main.cpp \
HEADERS += widget.h \ HEADERS += widget.h \
renderwindow.h renderwindow.h
# install
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/contextinfo
INSTALLS += target
...@@ -5,3 +5,7 @@ SOURCES += storagemodel.cpp \ ...@@ -5,3 +5,7 @@ SOURCES += storagemodel.cpp \
main.cpp main.cpp
HEADERS += \ HEADERS += \
storagemodel.h storagemodel.h
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/storageview
INSTALLS += target
...@@ -3,7 +3,3 @@ TEMPLATE = subdirs ...@@ -3,7 +3,3 @@ TEMPLATE = subdirs
SUBDIRS = echowindow \ SUBDIRS = echowindow \
plugin plugin
#! [0] #! [0]
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/echoplugin
INSTALLS += target
...@@ -17,3 +17,5 @@ win32 { ...@@ -17,3 +17,5 @@ win32 {
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/echoplugin target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/echoplugin
INSTALLS += target INSTALLS += target
CONFIG += install_ok # Do not cargo-cult this!
...@@ -12,5 +12,7 @@ DESTDIR = ../plugins ...@@ -12,5 +12,7 @@ DESTDIR = ../plugins
EXAMPLE_FILES = echoplugin.json EXAMPLE_FILES = echoplugin.json
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/echoplugin/plugin target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/echoplugin/plugins
INSTALLS += target INSTALLS += target
CONFIG += install_ok # Do not cargo-cult this!
...@@ -24,3 +24,5 @@ if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { ...@@ -24,3 +24,5 @@ if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/plugandpaint target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/plugandpaint
INSTALLS += target INSTALLS += target
CONFIG += install_ok # Do not cargo-cult this!
...@@ -12,3 +12,5 @@ DESTDIR = ../../plugins ...@@ -12,3 +12,5 @@ DESTDIR = ../../plugins
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/plugandpaint/plugins target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/plugandpaint/plugins
INSTALLS += target INSTALLS += target
CONFIG += install_ok # Do not cargo-cult this!
...@@ -12,3 +12,5 @@ DESTDIR = ../../plugins ...@@ -12,3 +12,5 @@ DESTDIR = ../../plugins
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/plugandpaint/plugins target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/plugandpaint/plugins
INSTALLS += target INSTALLS += target
CONFIG += install_ok # Do not cargo-cult this!
...@@ -20,3 +20,5 @@ EXAMPLE_FILES += simplestyle.json ...@@ -20,3 +20,5 @@ EXAMPLE_FILES += simplestyle.json
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/styleplugin/styles target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/styleplugin/styles
INSTALLS += target INSTALLS += target
CONFIG += install_ok # Do not cargo-cult this!
TEMPLATE = subdirs TEMPLATE = subdirs
SUBDIRS = stylewindow \ SUBDIRS = stylewindow \
plugin plugin
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/styleplugin
INSTALLS += target
...@@ -15,3 +15,5 @@ win32 { ...@@ -15,3 +15,5 @@ win32 {
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/styleplugin target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/styleplugin
INSTALLS += target INSTALLS += target
CONFIG += install_ok # Do not cargo-cult this!
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment