-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Examples: Disable QtC junction points for examples using 'shared' dir…
…ectory 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 Pick-to: 6.8 Change-Id: Ifb5e6944d936c82b1dba9fe3b81bebc1c8320168 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
- Loading branch information
Showing
10 changed files
with
210 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE QtCreatorProject> | ||
<!-- | ||
Disable 'Use junctions for CMake configuration and build operations' feature in Qt Creator 15 and above; | ||
The example needs access to a 'shared' directory | ||
//--> | ||
<qtcreator> | ||
<data> | ||
<variable>ProjectExplorer.Project.PluginSettings</variable> | ||
<valuemap type="QVariantMap"> | ||
<valuemap type="QVariantMap" key="CMakeSpecificSettings"> | ||
<value type="bool" key="UseJunctionsForSourceAndBuildDirectories">false</value> | ||
<value type="bool" key="UseGlobalSettings">false</value> | ||
</valuemap> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>Version</variable> | ||
<value type="int">22</value> | ||
</data> | ||
</qtcreator> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE QtCreatorProject> | ||
<!-- | ||
Disable 'Use junctions for CMake configuration and build operations' feature in Qt Creator 15 and above; | ||
The example needs access to a 'shared' directory | ||
//--> | ||
<qtcreator> | ||
<data> | ||
<variable>ProjectExplorer.Project.PluginSettings</variable> | ||
<valuemap type="QVariantMap"> | ||
<valuemap type="QVariantMap" key="CMakeSpecificSettings"> | ||
<value type="bool" key="UseJunctionsForSourceAndBuildDirectories">false</value> | ||
<value type="bool" key="UseGlobalSettings">false</value> | ||
</valuemap> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>Version</variable> | ||
<value type="int">22</value> | ||
</data> | ||
</qtcreator> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE QtCreatorProject> | ||
<!-- | ||
Disable 'Use junctions for CMake configuration and build operations' feature in Qt Creator 15 and above; | ||
The example needs access to a 'shared' directory | ||
//--> | ||
<qtcreator> | ||
<data> | ||
<variable>ProjectExplorer.Project.PluginSettings</variable> | ||
<valuemap type="QVariantMap"> | ||
<valuemap type="QVariantMap" key="CMakeSpecificSettings"> | ||
<value type="bool" key="UseJunctionsForSourceAndBuildDirectories">false</value> | ||
<value type="bool" key="UseGlobalSettings">false</value> | ||
</valuemap> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>Version</variable> | ||
<value type="int">22</value> | ||
</data> | ||
</qtcreator> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE QtCreatorProject> | ||
<!-- | ||
Disable 'Use junctions for CMake configuration and build operations' feature in Qt Creator 15 and above; | ||
The example needs access to a 'shared' directory | ||
//--> | ||
<qtcreator> | ||
<data> | ||
<variable>ProjectExplorer.Project.PluginSettings</variable> | ||
<valuemap type="QVariantMap"> | ||
<valuemap type="QVariantMap" key="CMakeSpecificSettings"> | ||
<value type="bool" key="UseJunctionsForSourceAndBuildDirectories">false</value> | ||
<value type="bool" key="UseGlobalSettings">false</value> | ||
</valuemap> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>Version</variable> | ||
<value type="int">22</value> | ||
</data> | ||
</qtcreator> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE QtCreatorProject> | ||
<!-- | ||
Disable 'Use junctions for CMake configuration and build operations' feature in Qt Creator 15 and above; | ||
The example needs access to a 'shared' directory | ||
//--> | ||
<qtcreator> | ||
<data> | ||
<variable>ProjectExplorer.Project.PluginSettings</variable> | ||
<valuemap type="QVariantMap"> | ||
<valuemap type="QVariantMap" key="CMakeSpecificSettings"> | ||
<value type="bool" key="UseJunctionsForSourceAndBuildDirectories">false</value> | ||
<value type="bool" key="UseGlobalSettings">false</value> | ||
</valuemap> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>Version</variable> | ||
<value type="int">22</value> | ||
</data> | ||
</qtcreator> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE QtCreatorProject> | ||
<!-- | ||
Disable 'Use junctions for CMake configuration and build operations' feature in Qt Creator 15 and above; | ||
The example needs access to a 'shared' directory | ||
//--> | ||
<qtcreator> | ||
<data> | ||
<variable>ProjectExplorer.Project.PluginSettings</variable> | ||
<valuemap type="QVariantMap"> | ||
<valuemap type="QVariantMap" key="CMakeSpecificSettings"> | ||
<value type="bool" key="UseJunctionsForSourceAndBuildDirectories">false</value> | ||
<value type="bool" key="UseGlobalSettings">false</value> | ||
</valuemap> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>Version</variable> | ||
<value type="int">22</value> | ||
</data> | ||
</qtcreator> |
21 changes: 21 additions & 0 deletions
21
examples/widgets/painting/composition/CMakeLists.txt.shared
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE QtCreatorProject> | ||
<!-- | ||
Disable 'Use junctions for CMake configuration and build operations' feature in Qt Creator 15 and above; | ||
The example needs access to a 'shared' directory | ||
//--> | ||
<qtcreator> | ||
<data> | ||
<variable>ProjectExplorer.Project.PluginSettings</variable> | ||
<valuemap type="QVariantMap"> | ||
<valuemap type="QVariantMap" key="CMakeSpecificSettings"> | ||
<value type="bool" key="UseJunctionsForSourceAndBuildDirectories">false</value> | ||
<value type="bool" key="UseGlobalSettings">false</value> | ||
</valuemap> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>Version</variable> | ||
<value type="int">22</value> | ||
</data> | ||
</qtcreator> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE QtCreatorProject> | ||
<!-- | ||
Disable 'Use junctions for CMake configuration and build operations' feature in Qt Creator 15 and above; | ||
The example needs access to a 'shared' directory | ||
//--> | ||
<qtcreator> | ||
<data> | ||
<variable>ProjectExplorer.Project.PluginSettings</variable> | ||
<valuemap type="QVariantMap"> | ||
<valuemap type="QVariantMap" key="CMakeSpecificSettings"> | ||
<value type="bool" key="UseJunctionsForSourceAndBuildDirectories">false</value> | ||
<value type="bool" key="UseGlobalSettings">false</value> | ||
</valuemap> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>Version</variable> | ||
<value type="int">22</value> | ||
</data> | ||
</qtcreator> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE QtCreatorProject> | ||
<!-- | ||
Disable 'Use junctions for CMake configuration and build operations' feature in Qt Creator 15 and above; | ||
The example needs access to a 'shared' directory | ||
//--> | ||
<qtcreator> | ||
<data> | ||
<variable>ProjectExplorer.Project.PluginSettings</variable> | ||
<valuemap type="QVariantMap"> | ||
<valuemap type="QVariantMap" key="CMakeSpecificSettings"> | ||
<value type="bool" key="UseJunctionsForSourceAndBuildDirectories">false</value> | ||
<value type="bool" key="UseGlobalSettings">false</value> | ||
</valuemap> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>Version</variable> | ||
<value type="int">22</value> | ||
</data> | ||
</qtcreator> |
21 changes: 21 additions & 0 deletions
21
examples/widgets/painting/pathstroke/CMakeLists.txt.shared
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE QtCreatorProject> | ||
<!-- | ||
Disable 'Use junctions for CMake configuration and build operations' feature in Qt Creator 15 and above; | ||
The example needs access to a 'shared' directory | ||
//--> | ||
<qtcreator> | ||
<data> | ||
<variable>ProjectExplorer.Project.PluginSettings</variable> | ||
<valuemap type="QVariantMap"> | ||
<valuemap type="QVariantMap" key="CMakeSpecificSettings"> | ||
<value type="bool" key="UseJunctionsForSourceAndBuildDirectories">false</value> | ||
<value type="bool" key="UseGlobalSettings">false</value> | ||
</valuemap> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>Version</variable> | ||
<value type="int">22</value> | ||
</data> | ||
</qtcreator> |