mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-26 09:44:33 +00:00
cqtdeployer v 1.5.2.4
This commit is contained in:
parent
62c98de98d
commit
871a37e535
@ -19,7 +19,7 @@ TEMPLATE = lib
|
||||
|
||||
DEFINES += DEPLOY_LIBRARY
|
||||
|
||||
VERSION = 1.5.2.3
|
||||
VERSION = 1.5.2.4
|
||||
|
||||
DEFINES += APP_VERSION='\\"$$VERSION\\"'
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
};
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user