forked from qt-creator/qt-creator
QmlProject: Add .tga as suffix for image files
Change-Id: I4a788fdc2a4d5a71df56feee9a024a21fcf5ff52 Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
This commit is contained in:
@@ -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;
|
||||||
|
@@ -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": {
|
||||||
},
|
},
|
||||||
|
@@ -59,7 +59,8 @@
|
|||||||
"*.ttf",
|
"*.ttf",
|
||||||
"*.webp",
|
"*.webp",
|
||||||
"*.xbm",
|
"*.xbm",
|
||||||
"*.xpm"
|
"*.xpm",
|
||||||
|
"*.tga"
|
||||||
],
|
],
|
||||||
"mcuProperties": {
|
"mcuProperties": {
|
||||||
},
|
},
|
||||||
|
@@ -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": {
|
||||||
},
|
},
|
||||||
|
@@ -62,7 +62,8 @@
|
|||||||
"*.ttf",
|
"*.ttf",
|
||||||
"*.webp",
|
"*.webp",
|
||||||
"*.xbm",
|
"*.xbm",
|
||||||
"*.xpm"
|
"*.xpm",
|
||||||
|
"*.tga"
|
||||||
],
|
],
|
||||||
"mcuProperties": {
|
"mcuProperties": {
|
||||||
},
|
},
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user