mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-30 03:34:34 +00:00
commit
1ac22c604c
Deploy
QIFData
snap
@ -19,7 +19,7 @@ TEMPLATE = lib
|
|||||||
|
|
||||||
DEFINES += DEPLOY_LIBRARY
|
DEFINES += DEPLOY_LIBRARY
|
||||||
|
|
||||||
VERSION = 1.4.5.0
|
VERSION = 1.4.5.1
|
||||||
|
|
||||||
DEFINES += APP_VERSION='\\"$$VERSION\\"'
|
DEFINES += APP_VERSION='\\"$$VERSION\\"'
|
||||||
|
|
||||||
|
@ -53,16 +53,24 @@ bool Extracter::extractWebEngine() {
|
|||||||
const auto &package = i.key();
|
const auto &package = i.key();
|
||||||
if (isWebEngine(package)) {
|
if (isWebEngine(package)) {
|
||||||
auto webEngeneBin = cnf->qtDir.getLibexecs();
|
auto webEngeneBin = cnf->qtDir.getLibexecs();
|
||||||
|
|
||||||
if (cnf->qtDir.getQtPlatform() & Platform::Unix) {
|
if (cnf->qtDir.getQtPlatform() & Platform::Unix) {
|
||||||
webEngeneBin += "/QtWebEngineProcess";
|
webEngeneBin += "/QtWebEngineProcess";
|
||||||
} else {
|
} else {
|
||||||
webEngeneBin += "/QtWebEngineProcess.exe";
|
webEngeneBin += "/QtWebEngineProcess.exe";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
auto destWebEngine = cnf->getTargetDir() + "/" + package + cnf->packages()[package].getBinOutDir();
|
auto destWebEngine = cnf->getTargetDir() + "/" + package + cnf->packages()[package].getBinOutDir();
|
||||||
auto resOut = cnf->getTargetDir() + "/" + package + cnf->packages()[package].getResOutDir();
|
auto resOut = cnf->getTargetDir() + "/" + package + cnf->packages()[package].getResOutDir();
|
||||||
|
auto libOut = cnf->getTargetDir() + "/" + package + cnf->packages()[package].getLibOutDir();
|
||||||
|
|
||||||
auto res = cnf->qtDir.getResources();
|
auto res = cnf->qtDir.getResources();
|
||||||
|
|
||||||
|
if (!_fileManager->copyFiles(angleGLLibs(), libOut)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (!_fileManager->copyFile(webEngeneBin, destWebEngine)) {
|
if (!_fileManager->copyFile(webEngeneBin, destWebEngine)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -76,6 +84,21 @@ bool Extracter::extractWebEngine() {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QList<QString> Extracter::angleGLLibs() {
|
||||||
|
auto cnf = DeployCore::_config;
|
||||||
|
|
||||||
|
if (cnf->qtDir.getQtPlatform() & Platform::Win) {
|
||||||
|
return {
|
||||||
|
cnf->qtDir.getBins() + "/d3dcompiler_47.dll",
|
||||||
|
cnf->qtDir.getBins() + "/libEGL.dll",
|
||||||
|
cnf->qtDir.getBins() + "/libGLESv2.dll",
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
return {};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void Extracter::extractAllTargets() {
|
void Extracter::extractAllTargets() {
|
||||||
auto cfg = DeployCore::_config;
|
auto cfg = DeployCore::_config;
|
||||||
for (auto i = cfg->packages().cbegin(); i != cfg->packages().cend(); ++i) {
|
for (auto i = cfg->packages().cbegin(); i != cfg->packages().cend(); ++i) {
|
||||||
|
@ -54,6 +54,14 @@ private:
|
|||||||
|
|
||||||
bool deployMSVC();
|
bool deployMSVC();
|
||||||
bool extractWebEngine();
|
bool extractWebEngine();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief angleGLLibs -
|
||||||
|
* @note see task 398 (https://github.com/QuasarApp/CQtDeployer/issues/398)
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
QList<QString> angleGLLibs();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief compress - this function join all target dependecies in to one struct
|
* @brief compress - this function join all target dependecies in to one struct
|
||||||
*/
|
*/
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<WizardDefaultWidth>640px</WizardDefaultWidth>
|
<WizardDefaultWidth>640px</WizardDefaultWidth>
|
||||||
<WizardDefaultHeight>400px</WizardDefaultHeight>
|
<WizardDefaultHeight>400px</WizardDefaultHeight>
|
||||||
<Name>CQtDeployer</Name>
|
<Name>CQtDeployer</Name>
|
||||||
<Version>1.4.5.0</Version>
|
<Version>1.4.5.1</Version>
|
||||||
<Title>CQtDeployer</Title>
|
<Title>CQtDeployer</Title>
|
||||||
<Publisher>QuasarApp</Publisher>
|
<Publisher>QuasarApp</Publisher>
|
||||||
<StartMenuDir>CQtDeployer</StartMenuDir>
|
<StartMenuDir>CQtDeployer</StartMenuDir>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<WizardDefaultWidth>640px</WizardDefaultWidth>
|
<WizardDefaultWidth>640px</WizardDefaultWidth>
|
||||||
<WizardDefaultHeight>400px</WizardDefaultHeight>
|
<WizardDefaultHeight>400px</WizardDefaultHeight>
|
||||||
<Name>CQtDeployer</Name>
|
<Name>CQtDeployer</Name>
|
||||||
<Version>1.4.5.0</Version>
|
<Version>1.4.5.1</Version>
|
||||||
<Title>CQtDeployer</Title>
|
<Title>CQtDeployer</Title>
|
||||||
<Publisher>QuasarApp</Publisher>
|
<Publisher>QuasarApp</Publisher>
|
||||||
<StartMenuDir>CQtDeployer</StartMenuDir>
|
<StartMenuDir>CQtDeployer</StartMenuDir>
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
<Package>
|
<Package>
|
||||||
<DisplayName>CQtDeployer 1.4</DisplayName>
|
<DisplayName>CQtDeployer 1.4</DisplayName>
|
||||||
<Description>CQtDeployer 1.4</Description>
|
<Description>CQtDeployer 1.4</Description>
|
||||||
<Version>1.4.5.0</Version>
|
<Version>1.4.5.1</Version>
|
||||||
<Default>true</Default>
|
<Default>true</Default>
|
||||||
<ForcedInstallation>false</ForcedInstallation>
|
<ForcedInstallation>false</ForcedInstallation>
|
||||||
<Script>installscript.js</Script>
|
<Script>installscript.js</Script>
|
||||||
<ReleaseDate>2020-07-09</ReleaseDate>
|
<ReleaseDate>2020-08-22</ReleaseDate>
|
||||||
<SortingPriority>201</SortingPriority>
|
<SortingPriority>201</SortingPriority>
|
||||||
<Translations>
|
<Translations>
|
||||||
<Translation>ru.qm</Translation>
|
<Translation>ru.qm</Translation>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Version=1.4.5.0
|
Version=1.4.5.1
|
||||||
Name=CQtDeployer
|
Name=CQtDeployer
|
||||||
Comment=CQtDeployer Help.
|
Comment=CQtDeployer Help.
|
||||||
Exec=cqtdeployer
|
Exec=cqtdeployer
|
||||||
@ -10,6 +10,6 @@ Categories=Application;
|
|||||||
X-GNOME-Bugzilla-Bugzilla=GNOME
|
X-GNOME-Bugzilla-Bugzilla=GNOME
|
||||||
X-GNOME-Bugzilla-Product=CQtDeployer
|
X-GNOME-Bugzilla-Product=CQtDeployer
|
||||||
X-GNOME-Bugzilla-Component=General
|
X-GNOME-Bugzilla-Component=General
|
||||||
X-GNOME-Bugzilla-Version=1.4.5.0
|
X-GNOME-Bugzilla-Version=1.4.5.1
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
Name[ru_RU]=CQtDeployer
|
Name[ru_RU]=CQtDeployer
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
name: cqtdeployer # you probably want to 'snapcraft register <name>'
|
name: cqtdeployer # you probably want to 'snapcraft register <name>'
|
||||||
version: '1.4.5.0' # just for humans, typically '1.2+git' or '1.3.2'
|
version: '1.4.5.1' # just for humans, typically '1.2+git' or '1.3.2'
|
||||||
summary: deploy your qt projects # 79 char long summary
|
summary: deploy your qt projects # 79 char long summary
|
||||||
description: |
|
description: |
|
||||||
Console app for deploy qt libs.
|
Console app for deploy qt libs.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user