McuSupport: Comment out Spark properties in template projects

MCU tooling is more strict about QmlProject properties from
Qt for MCUs 2.7, so leaving these properties in would trigger
several warnings

Change-Id: Ia251f74180493b6ff115218a237994886cf65379
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Sivert Krøvel
2024-01-30 12:16:36 +01:00
parent 40dbd63e73
commit 7bc5ab5e48
2 changed files with 12 additions and 12 deletions

View File

@@ -33,12 +33,12 @@ Project {
// Font properties for "Spark"
// These properties are in effect only if the "Spark" font engine is used
complexTextRendering: true // Set this to false if complex scripts are not needed (Arabic scripts, Indic scripts, etc.)
fontCachePriming: false // Set to true to decrease application startup time. Only applies to fonts configured with unicode ranges (font.unicodeCoverage).
fontCacheSize: 0 // If this is needed, use a suitable number. Setting this to a sensible value will improve performance, the global default is 104800.
fontHeapSize: -1 // Set to sufficient value to improve performance. -1 means no restrictions to heap allocation.
fontHeapPrealloc: true
fontCachePrealloc: true
// complexTextRendering: true // Set this to false if complex scripts are not needed (Arabic scripts, Indic scripts, etc.)
// fontCachePriming: false // Set to true to decrease application startup time. Only applies to fonts configured with unicode ranges (font.unicodeCoverage).
// fontCacheSize: 0 // If this is needed, use a suitable number. Setting this to a sensible value will improve performance, the global default is 104800.
// fontHeapSize: -1 // Set to sufficient value to improve performance. -1 means no restrictions to heap allocation.
// fontHeapPrealloc: true
// fontCachePrealloc: true
}
QmlFiles {

View File

@@ -34,12 +34,12 @@ Project {
// Font properties for "Spark"
// These properties are in effect only if the "Spark" font engine is used
complexTextRendering: true // Set this to false if complex scripts are not needed (Arabic scripts, Indic scripts, etc.)
fontCachePriming: false // Set to true to decrease application startup time. Only applies to fonts configured with unicode ranges (font.unicodeCoverage).
fontCacheSize: 0 // If this is needed, use a suitable number. Setting this to a sensible value will improve performance, the global default is 104800.
fontHeapSize: -1 // Set to sufficient value to improve performance. -1 means no restrictions to heap allocation.
fontHeapPrealloc: true
fontCachePrealloc: true
// complexTextRendering: true // Set this to false if complex scripts are not needed (Arabic scripts, Indic scripts, etc.)
// fontCachePriming: false // Set to true to decrease application startup time. Only applies to fonts configured with unicode ranges (font.unicodeCoverage).
// fontCacheSize: 0 // If this is needed, use a suitable number. Setting this to a sensible value will improve performance, the global default is 104800.
// fontHeapSize: -1 // Set to sufficient value to improve performance. -1 means no restrictions to heap allocation.
// fontHeapPrealloc: true
// fontCachePrealloc: true
}
/* QML files */