forked from qt-creator/qt-creator
QmlDesigner: Create asset_imports directory at project creation
Some watchers won't be initialized correctly if the folder doesn't exist at project startup. E.g. texture images won't appear in project view when material with textures is imported, unless asset_imports already exists at project load. Task-number: QDS-7813 Change-Id: I79449ae823d9005e74594f08bfa87abf44045caf Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -328,6 +328,10 @@
|
||||
"source": "../common/fonts.txt",
|
||||
"target": "%{ProjectDirectory}/content/fonts/fonts.txt"
|
||||
},
|
||||
{
|
||||
"source": "../common/asset_imports.txt",
|
||||
"target": "%{ProjectDirectory}/asset_imports/asset_imports.txt"
|
||||
},
|
||||
{
|
||||
"source": "../common/CMakeLists.imports.txt.tpl",
|
||||
"target": "%{ProjectDirectory}/imports/CMakeLists.txt"
|
||||
|
@@ -324,6 +324,10 @@
|
||||
"source": "../common/fonts.txt",
|
||||
"target": "%{ProjectDirectory}/content/fonts/fonts.txt"
|
||||
},
|
||||
{
|
||||
"source": "../common/asset_imports.txt",
|
||||
"target": "%{ProjectDirectory}/asset_imports/asset_imports.txt"
|
||||
},
|
||||
{
|
||||
"source": "../common/CMakeLists.imports.txt.tpl",
|
||||
"target": "%{ProjectDirectory}/imports/CMakeLists.txt"
|
||||
|
@@ -0,0 +1 @@
|
||||
Imported 3D assets and components imported from bundles will be created in this folder.
|
@@ -323,6 +323,10 @@
|
||||
"source": "../common/fonts.txt",
|
||||
"target": "%{ProjectDirectory}/content/fonts/fonts.txt"
|
||||
},
|
||||
{
|
||||
"source": "../common/asset_imports.txt",
|
||||
"target": "%{ProjectDirectory}/asset_imports/asset_imports.txt"
|
||||
},
|
||||
{
|
||||
"source": "../common/CMakeLists.imports.txt.tpl",
|
||||
"target": "%{ProjectDirectory}/imports/CMakeLists.txt"
|
||||
|
@@ -280,6 +280,10 @@
|
||||
"source": "../common/fonts.txt",
|
||||
"target": "%{ProjectDirectory}/content/fonts/fonts.txt"
|
||||
},
|
||||
{
|
||||
"source": "../common/asset_imports.txt",
|
||||
"target": "%{ProjectDirectory}/asset_imports/asset_imports.txt"
|
||||
},
|
||||
{
|
||||
"source": "../common/CMakeLists.imports.txt.tpl",
|
||||
"target": "%{ProjectDirectory}/imports/CMakeLists.txt"
|
||||
|
@@ -284,6 +284,10 @@
|
||||
"source": "../common/fonts.txt",
|
||||
"target": "%{ProjectDirectory}/content/fonts/fonts.txt"
|
||||
},
|
||||
{
|
||||
"source": "../common/asset_imports.txt",
|
||||
"target": "%{ProjectDirectory}/asset_imports/asset_imports.txt"
|
||||
},
|
||||
{
|
||||
"source": "../common/CMakeLists.imports.txt.tpl",
|
||||
"target": "%{ProjectDirectory}/imports/CMakeLists.txt"
|
||||
|
@@ -284,6 +284,10 @@
|
||||
"source": "../common/fonts.txt",
|
||||
"target": "%{ProjectDirectory}/content/fonts/fonts.txt"
|
||||
},
|
||||
{
|
||||
"source": "../common/asset_imports.txt",
|
||||
"target": "%{ProjectDirectory}/asset_imports/asset_imports.txt"
|
||||
},
|
||||
{
|
||||
"source": "../common/CMakeLists.imports.txt.tpl",
|
||||
"target": "%{ProjectDirectory}/imports/CMakeLists.txt"
|
||||
|
Reference in New Issue
Block a user