cqtdeployer v 1.5.2.4

This commit is contained in:
Andrei Yankovich 2021-07-02 16:59:45 +03:00
parent 62c98de98d
commit 871a37e535
11 changed files with 14 additions and 14 deletions

View File

@ -19,7 +19,7 @@ TEMPLATE = lib
DEFINES += DEPLOY_LIBRARY
VERSION = 1.5.2.3
VERSION = 1.5.2.4
DEFINES += APP_VERSION='\\"$$VERSION\\"'

View File

@ -833,7 +833,7 @@ bool ConfigParser::setTargets(const QStringList &value) {
bool isfillList = false;
for (const auto &i : value) {
QFileInfo targetInfo = DeployCore::findFile(i);
QFileInfo targetInfo = DeployCore::findItem(i);
if (i.isEmpty())
continue;

View File

@ -773,14 +773,14 @@ void DeployCore::printInternalError(const char * function, const char* file, int
QuasarAppUtils::Error);
}
QFileInfo DeployCore::findFile(const QString &bin) {
QFileInfo DeployCore::findItem(const QString &bin) {
auto prefixes = QuasarAppUtils::Params::getArg("binPrefix").
split(DeployCore::getSeparator(0), splitbehavior);
for (const QString& prefix :qAsConst(prefixes)) {
QFileInfo info(prefix + "/" + bin);
if (info.isFile()) {
if (info.exists()) {
return info;
}
}

View File

@ -296,11 +296,11 @@ public:
static void printInternalError(const char *function, const char* file, int line);
/**
* @brief findFile This method search input file in prefixes and return absolute path to the found file. If file is not exists the return empty string.
* @brief findItem This method search input file in prefixes and return absolute path to the found file. If file is not exists the return empty string.
* @param file This is file path. If the file path si absalute path then return @a file value.
* @return file info of the found file.
*/
static QFileInfo findFile(const QString &file);
static QFileInfo findItem(const QString &file);
};

View File

@ -113,7 +113,7 @@ void Extracter::extractExtraDataTargets() {
const auto extraData = i.value().extraData();
for (const auto &target : extraData) {
QFileInfo info = DeployCore::findFile(target);
QFileInfo info = DeployCore::findItem(target);
if (!info.exists()) {
QuasarAppUtils::Params::log("Failed to copy extra data from: " + target +
" Error: target not exists!.", QuasarAppUtils::Warning);

View File

@ -3,7 +3,7 @@
<WizardDefaultWidth>640px</WizardDefaultWidth>
<WizardDefaultHeight>400px</WizardDefaultHeight>
<Name>CQtDeployer</Name>
<Version>1.5.2.3</Version>
<Version>1.5.2.4</Version>
<Title>CQtDeployer</Title>
<Publisher>QuasarApp</Publisher>
<StartMenuDir>CQtDeployer</StartMenuDir>

View File

@ -3,7 +3,7 @@
<WizardDefaultWidth>640px</WizardDefaultWidth>
<WizardDefaultHeight>400px</WizardDefaultHeight>
<Name>CQtDeployer</Name>
<Version>1.5.2.3</Version>
<Version>1.5.2.4</Version>
<Title>CQtDeployer</Title>
<Publisher>QuasarApp</Publisher>
<StartMenuDir>CQtDeployer</StartMenuDir>

View File

@ -20,7 +20,7 @@ BASE_DEPLOY_FLAGS_CQT = $$BASE_DEPLOY_FLAGS -targetDir $$DATA_DIR $$OUT_LIB $$OU
win32:CQT_ICON = -icon $$PWD/config/icon.ico
unix:CQT_ICON = -icon $$PWD/config/logo.png
BASE_DEPLOY_FLAGS_DEB = $$BASE_DEPLOY_FLAGS -targetDir $$PWD/../Distro $$OUT_LIB $$OUT_BIN deb zip -name CQtDeployer -publisher QuasarApp $$CQT_ICON -deployVersion 1.5.2.3
BASE_DEPLOY_FLAGS_DEB = $$BASE_DEPLOY_FLAGS -targetDir $$PWD/../Distro $$OUT_LIB $$OUT_BIN deb zip -name CQtDeployer -publisher QuasarApp $$CQT_ICON -deployVersion 1.5.2.4
DEPLOY_TARGET_DEB = $$DEPLOY_TARGET,$$PWD/packages/QIF/data/QIF
deploy_dep.commands += $$DEPLOYER -bin $$DEPLOY_TARGET $$BASE_DEPLOY_FLAGS_CQT

View File

@ -2,7 +2,7 @@
<Package>
<DisplayName>CQtDeployer 1.5</DisplayName>
<Description>CQtDeployer 1.5</Description>
<Version>1.5.2.3</Version>
<Version>1.5.2.4</Version>
<Default>true</Default>
<ForcedInstallation>false</ForcedInstallation>
<Script>installscript.js</Script>

View File

@ -1,5 +1,5 @@
[Desktop Entry]
Version=1.5.2.3
Version=1.5.2.4
Name=CQtDeployer
Comment=CQtDeployer Help.
Exec=cqtdeployer
@ -10,6 +10,6 @@ Categories=Application;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=CQtDeployer
X-GNOME-Bugzilla-Component=General
X-GNOME-Bugzilla-Version=1.5.2.3
X-GNOME-Bugzilla-Version=1.5.2.4
StartupNotify=true
Name[ru_RU]=CQtDeployer

View File

@ -6,7 +6,7 @@
#
name: cqtdeployer # you probably want to 'snapcraft register <name>'
version: '1.5.2.3' # just for humans, typically '1.2+git' or '1.3.2'
version: '1.5.2.4' # just for humans, typically '1.2+git' or '1.3.2'
summary: deploy your qt projects # 79 char long summary
description: |
Console app for deploy qt libs.