From 3d68f8eafab67622bdfd7a9c9e795e0e6c7173fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Fri, 27 Sep 2024 15:54:56 +0200 Subject: [PATCH] Examples: Disable QtC junction points for examples using 'shared' directory To work around path length limiations, Qt Creator optionally uses junction points to shorten the build directories. This however breaks examples that require sources outside their 'root' directory. QUIP 13 states that examples should be self-contained. Anyhow, fixing this is a larger effort, so for now just disable junction points in Qt Creator for these examples. Task-number: QTBUG-128914 Change-Id: Ifb5e6944d936c82b1dba9fe3b81bebc1c8320168 Reviewed-by: Cristian Adam (cherry picked from commit ced47a590aeb85953a16eaf362887f14c2815c45) Reviewed-by: Qt Cherry-pick Bot --- .../multistreamclient/CMakeLists.txt.shared | 21 +++++++++++++++++++ .../multistreamserver/CMakeLists.txt.shared | 21 +++++++++++++++++++ .../hellovulkancubes/CMakeLists.txt.shared | 21 +++++++++++++++++++ .../hellovulkantriangle/CMakeLists.txt.shared | 21 +++++++++++++++++++ .../hellovulkanwidget/CMakeLists.txt.shared | 21 +++++++++++++++++++ .../painting/affine/CMakeLists.txt.shared | 21 +++++++++++++++++++ .../composition/CMakeLists.txt.shared | 21 +++++++++++++++++++ .../painting/deform/CMakeLists.txt.shared | 21 +++++++++++++++++++ .../painting/gradients/CMakeLists.txt.shared | 21 +++++++++++++++++++ .../painting/pathstroke/CMakeLists.txt.shared | 21 +++++++++++++++++++ 10 files changed, 210 insertions(+) create mode 100644 examples/network/multistreamclient/CMakeLists.txt.shared create mode 100644 examples/network/multistreamserver/CMakeLists.txt.shared create mode 100644 examples/vulkan/hellovulkancubes/CMakeLists.txt.shared create mode 100644 examples/vulkan/hellovulkantriangle/CMakeLists.txt.shared create mode 100644 examples/vulkan/hellovulkanwidget/CMakeLists.txt.shared create mode 100644 examples/widgets/painting/affine/CMakeLists.txt.shared create mode 100644 examples/widgets/painting/composition/CMakeLists.txt.shared create mode 100644 examples/widgets/painting/deform/CMakeLists.txt.shared create mode 100644 examples/widgets/painting/gradients/CMakeLists.txt.shared create mode 100644 examples/widgets/painting/pathstroke/CMakeLists.txt.shared diff --git a/examples/network/multistreamclient/CMakeLists.txt.shared b/examples/network/multistreamclient/CMakeLists.txt.shared new file mode 100644 index 00000000000..c373e48e400 --- /dev/null +++ b/examples/network/multistreamclient/CMakeLists.txt.shared @@ -0,0 +1,21 @@ + + + + + + ProjectExplorer.Project.PluginSettings + + + false + false + + + + + Version + 22 + + diff --git a/examples/network/multistreamserver/CMakeLists.txt.shared b/examples/network/multistreamserver/CMakeLists.txt.shared new file mode 100644 index 00000000000..c373e48e400 --- /dev/null +++ b/examples/network/multistreamserver/CMakeLists.txt.shared @@ -0,0 +1,21 @@ + + + + + + ProjectExplorer.Project.PluginSettings + + + false + false + + + + + Version + 22 + + diff --git a/examples/vulkan/hellovulkancubes/CMakeLists.txt.shared b/examples/vulkan/hellovulkancubes/CMakeLists.txt.shared new file mode 100644 index 00000000000..c373e48e400 --- /dev/null +++ b/examples/vulkan/hellovulkancubes/CMakeLists.txt.shared @@ -0,0 +1,21 @@ + + + + + + ProjectExplorer.Project.PluginSettings + + + false + false + + + + + Version + 22 + + diff --git a/examples/vulkan/hellovulkantriangle/CMakeLists.txt.shared b/examples/vulkan/hellovulkantriangle/CMakeLists.txt.shared new file mode 100644 index 00000000000..c373e48e400 --- /dev/null +++ b/examples/vulkan/hellovulkantriangle/CMakeLists.txt.shared @@ -0,0 +1,21 @@ + + + + + + ProjectExplorer.Project.PluginSettings + + + false + false + + + + + Version + 22 + + diff --git a/examples/vulkan/hellovulkanwidget/CMakeLists.txt.shared b/examples/vulkan/hellovulkanwidget/CMakeLists.txt.shared new file mode 100644 index 00000000000..c373e48e400 --- /dev/null +++ b/examples/vulkan/hellovulkanwidget/CMakeLists.txt.shared @@ -0,0 +1,21 @@ + + + + + + ProjectExplorer.Project.PluginSettings + + + false + false + + + + + Version + 22 + + diff --git a/examples/widgets/painting/affine/CMakeLists.txt.shared b/examples/widgets/painting/affine/CMakeLists.txt.shared new file mode 100644 index 00000000000..c373e48e400 --- /dev/null +++ b/examples/widgets/painting/affine/CMakeLists.txt.shared @@ -0,0 +1,21 @@ + + + + + + ProjectExplorer.Project.PluginSettings + + + false + false + + + + + Version + 22 + + diff --git a/examples/widgets/painting/composition/CMakeLists.txt.shared b/examples/widgets/painting/composition/CMakeLists.txt.shared new file mode 100644 index 00000000000..c373e48e400 --- /dev/null +++ b/examples/widgets/painting/composition/CMakeLists.txt.shared @@ -0,0 +1,21 @@ + + + + + + ProjectExplorer.Project.PluginSettings + + + false + false + + + + + Version + 22 + + diff --git a/examples/widgets/painting/deform/CMakeLists.txt.shared b/examples/widgets/painting/deform/CMakeLists.txt.shared new file mode 100644 index 00000000000..c373e48e400 --- /dev/null +++ b/examples/widgets/painting/deform/CMakeLists.txt.shared @@ -0,0 +1,21 @@ + + + + + + ProjectExplorer.Project.PluginSettings + + + false + false + + + + + Version + 22 + + diff --git a/examples/widgets/painting/gradients/CMakeLists.txt.shared b/examples/widgets/painting/gradients/CMakeLists.txt.shared new file mode 100644 index 00000000000..c373e48e400 --- /dev/null +++ b/examples/widgets/painting/gradients/CMakeLists.txt.shared @@ -0,0 +1,21 @@ + + + + + + ProjectExplorer.Project.PluginSettings + + + false + false + + + + + Version + 22 + + diff --git a/examples/widgets/painting/pathstroke/CMakeLists.txt.shared b/examples/widgets/painting/pathstroke/CMakeLists.txt.shared new file mode 100644 index 00000000000..c373e48e400 --- /dev/null +++ b/examples/widgets/painting/pathstroke/CMakeLists.txt.shared @@ -0,0 +1,21 @@ + + + + + + ProjectExplorer.Project.PluginSettings + + + false + false + + + + + Version + 22 + +