From 17e75c2951a0c8d5a2fda0f4b2f68e2930136237 Mon Sep 17 00:00:00 2001 From: peri4 Date: Mon, 19 Jun 2023 21:46:48 +0300 Subject: [PATCH] expand ignored extensions for deploy_tool --- utils/deploy_tool/main.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/utils/deploy_tool/main.cpp b/utils/deploy_tool/main.cpp index 5a18597e..03e77a76 100644 --- a/utils/deploy_tool/main.cpp +++ b/utils/deploy_tool/main.cpp @@ -269,9 +269,10 @@ void checkQtLib(PIString lib) { void procLdd(PIString file, bool ext_lib = false, int cur_depth = 0) { ++cur_depth; if (cur_depth > depth) return; - static PIStringList ignore_ext = - {"png", "jpg", "jpeg", "ico", "pdf", "txt", "conf", "json", "qml", "glsl", "fraq", "vert", "qmltypes", "metainfo", "qm", "ttf"}; - PIString ext = PIFile::FileInfo(file).extension(); + static PIStringList ignore_ext = {"png", "jpg", "jpeg", "gif", "bmp", "svg", "tif", "tiff", "ico", "pdf", + "txt", "cfg", "conf", "json", "qml", "glsl", "fraq", "vert", "geom", "qmltypes", + "metainfo", "ts", "qm", "ttf", "htm", "html", "md", "sms", "smee", "blockmodel"}; + PIString ext = PIFile::FileInfo(file).extension(); if (ignore_ext.contains(ext.toLowerCase())) return; piCout << "scan" << file << "..."; PISet cur_libs;