diff --git a/Deploy/Deploy.pro b/Deploy/Deploy.pro
index be4d306..46415e9 100644
--- a/Deploy/Deploy.pro
+++ b/Deploy/Deploy.pro
@@ -19,7 +19,7 @@ TEMPLATE = lib
DEFINES += DEPLOY_LIBRARY
-VERSION = 1.5.0.36
+VERSION = 1.5.0.37
DEFINES += APP_VERSION='\\"$$VERSION\\"'
diff --git a/Deploy/deploycore.cpp b/Deploy/deploycore.cpp
index ed71b0f..8d5a3dd 100644
--- a/Deploy/deploycore.cpp
+++ b/Deploy/deploycore.cpp
@@ -588,10 +588,23 @@ QString DeployCore::getMSVCVersion(MSVCVersion msvc) {
QtMajorVersion DeployCore::isQtLib(const QString &lib) {
QFileInfo info(lib);
-/*
- * Task https://github.com/QuasarApp/CQtDeployer/issues/422
- * All qt libs need to contains the Qt label.
-*/
+
+ QtMajorVersion isQt = isQtLibName(lib);
+
+ if (_config && !_config->qtDir.isQt(info.absoluteFilePath())) {
+ return QtMajorVersion::NoQt;
+ }
+
+ return isQt;
+}
+
+QtMajorVersion DeployCore::isQtLibName(const QString &lib) {
+ QFileInfo info(lib);
+
+ /*
+ * Task https://github.com/QuasarApp/CQtDeployer/issues/422
+ * All qt libs need to contains the Qt label.
+ */
QtMajorVersion isQt = QtMajorVersion::NoQt;
if (!isLib(info)) {
@@ -607,10 +620,6 @@ QtMajorVersion DeployCore::isQtLib(const QString &lib) {
isQt = QtMajorVersion::Qt6;
}
- if (_config && !_config->qtDir.isQt(info.absoluteFilePath())) {
- return QtMajorVersion::NoQt;
- }
-
if (isQt && QuasarAppUtils::Params::isEndable("noQt") &&
!QuasarAppUtils::Params::isEndable("qmake")) {
return QtMajorVersion::NoQt;
diff --git a/Deploy/deploycore.h b/Deploy/deploycore.h
index dabe42a..e47790f 100644
--- a/Deploy/deploycore.h
+++ b/Deploy/deploycore.h
@@ -194,7 +194,20 @@ public:
static MSVCVersion getMSVC(const QString & _qtBin);
static QString getVCredist(const QString & _qtBin);
+ /**
+ * @brief isQtLib This method check full path of the library. If the @a @lib contains only name then this method retun QtMajorVersion::NoQt enum. For validate @a lib by name only use the DeployCore::isQtLibName method.
+ * @param lib This is library full path..
+ * @return major version of the Qt.
+ */
static QtMajorVersion isQtLib(const QString &lib);
+
+ /**
+ * @brief isQtLib This method check name of the library.
+ * @param lib This is library full path..
+ * @return major version of the Qt.
+ */
+ static QtMajorVersion isQtLibName(const QString &lib);
+
static bool isExtraLib(const QString &lib);
static QChar getSeparator(int lvl);
static bool isAlienLib(const QString &lib);
diff --git a/Deploy/libinfo.cpp b/Deploy/libinfo.cpp
index afa87e8..235a2fc 100644
--- a/Deploy/libinfo.cpp
+++ b/Deploy/libinfo.cpp
@@ -104,7 +104,7 @@ void LibInfo::setWinApi(WinAPI winApi) {
QtMajorVersion LibInfo::isDependetOfQt() const {
for (const auto& i : _dependncies) {
- if (QtMajorVersion result = DeployCore::isQtLib(i)) {
+ if (QtMajorVersion result = DeployCore::isQtLibName(i)) {
return result;
}
}
diff --git a/QIFData/config/configLinux.xml b/QIFData/config/configLinux.xml
index 099c63a..c93ec47 100644
--- a/QIFData/config/configLinux.xml
+++ b/QIFData/config/configLinux.xml
@@ -3,7 +3,7 @@