QmlProject: Add .tga as suffix for image files

Change-Id: I4a788fdc2a4d5a71df56feee9a024a21fcf5ff52
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
This commit is contained in:
Thomas Hartmann
2025-02-13 15:12:38 +01:00
parent 489b98edd9
commit ee7caf30b6
6 changed files with 16 additions and 12 deletions

View File

@@ -7,12 +7,9 @@ namespace QmlProjectManager {
QStringList imageFiles(const std::function<QString(QString)> &transformer) QStringList imageFiles(const std::function<QString(QString)> &transformer)
{ {
static const QStringList suffixes = { static const QStringList suffixes = {"bmp", "dae", "gif", "hdr", "ico", "jpeg", "jpg",
"bmp", "dae", "gif", "hdr", "ico", "ktx", "pbm", "pgm", "png", "ppm", "svg", "svgz",
"jpeg", "jpg", "ktx", "pbm", "pgm", "tif", "tiff", "ttf", "webp", "xbm", "xpm", "tga"};
"png", "ppm", "svg", "svgz", "tif",
"tiff", "ttf", "webp", "xbm", "xpm"
};
if (transformer) { if (transformer) {
QStringList result; QStringList result;

View File

@@ -89,7 +89,8 @@
"*.ttf", "*.ttf",
"*.webp", "*.webp",
"*.xbm", "*.xbm",
"*.xpm" "*.xpm",
"*.tga"
], ],
"mcuProperties": { "mcuProperties": {
}, },
@@ -121,7 +122,8 @@
"*.ttf", "*.ttf",
"*.webp", "*.webp",
"*.xbm", "*.xbm",
"*.xpm" "*.xpm",
"*.tga"
], ],
"mcuProperties": { "mcuProperties": {
}, },

View File

@@ -59,7 +59,8 @@
"*.ttf", "*.ttf",
"*.webp", "*.webp",
"*.xbm", "*.xbm",
"*.xpm" "*.xpm",
"*.tga"
], ],
"mcuProperties": { "mcuProperties": {
}, },

View File

@@ -90,7 +90,8 @@
"*.ttf", "*.ttf",
"*.webp", "*.webp",
"*.xbm", "*.xbm",
"*.xpm" "*.xpm",
"*.tga"
], ],
"mcuProperties": { "mcuProperties": {
}, },
@@ -122,7 +123,8 @@
"*.ttf", "*.ttf",
"*.webp", "*.webp",
"*.xbm", "*.xbm",
"*.xpm" "*.xpm",
"*.tga"
], ],
"mcuProperties": { "mcuProperties": {
}, },

View File

@@ -62,7 +62,8 @@
"*.ttf", "*.ttf",
"*.webp", "*.webp",
"*.xbm", "*.xbm",
"*.xpm" "*.xpm",
"*.tga"
], ],
"mcuProperties": { "mcuProperties": {
}, },

View File

@@ -119,6 +119,7 @@ asset_imports/ComponentBundles/MaterialBundle/GlassTintedMaterial.qml
asset_imports/ComponentBundles/MaterialBundle/designer/images/material.png asset_imports/ComponentBundles/MaterialBundle/designer/images/material.png
asset_imports/ComponentBundles/MaterialBundle/images/DiamondPlate001_2K_Roughness.png asset_imports/ComponentBundles/MaterialBundle/images/DiamondPlate001_2K_Roughness.png
asset_imports/ComponentBundles/MaterialBundle/WoodPlanksMaterial.qml asset_imports/ComponentBundles/MaterialBundle/WoodPlanksMaterial.qml
asset_imports/ComponentBundles/MaterialBundle/images/blurrynoise.tga
content/CustomRoundButton.qml content/CustomRoundButton.qml
content/images/groundAlpha.png content/images/groundAlpha.png
asset_imports/ComponentBundles/MaterialBundle/images/Paint006_2K_NormalGL.png asset_imports/ComponentBundles/MaterialBundle/images/Paint006_2K_NormalGL.png