diff --git a/examples/demos/coffee/coffee.pro b/examples/demos/coffee/coffee.pro index 0c9dce00b..369b8be4e 100644 --- a/examples/demos/coffee/coffee.pro +++ b/examples/demos/coffee/coffee.pro @@ -23,9 +23,8 @@ DEFINES += QT_DEPRECATED_WARNINGS # You can also select to disable deprecated APIs only up to a certain version of Qt. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 -# Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin -else: unix:!android: target.path = /opt/$${TARGET}/bin +else: win32|if(unix:!android): target.path = $$[QT_INSTALL_EXAMPLES]/demos/$${TARGET} !isEmpty(target.path): INSTALLS += target DISTFILES += \ diff --git a/examples/demos/demos.pro b/examples/demos/demos.pro new file mode 100644 index 000000000..ded286f0e --- /dev/null +++ b/examples/demos/demos.pro @@ -0,0 +1,6 @@ +TEMPLATE = subdirs + +qtHaveModule(quick) { + SUBDIRS += coffee +} + diff --git a/examples/examples.pro b/examples/examples.pro new file mode 100644 index 000000000..e959b132d --- /dev/null +++ b/examples/examples.pro @@ -0,0 +1,4 @@ +TEMPLATE = subdirs + +SUBDIRS = demos + diff --git a/qtdoc.pro b/qtdoc.pro index d00124423..14c8c21de 100644 --- a/qtdoc.pro +++ b/qtdoc.pro @@ -1,2 +1,3 @@ -TEMPLATE = subdirs -SUBDIRS = doc +load(qt_parts) + +SUBDIRS += doc