Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
to classic
Browse files Browse the repository at this point in the history
  • Loading branch information
EndrII committed Jun 10, 2018
1 parent f5a9a8c commit d61fd89
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: |
Deploy Qt Projects. this application extract all depends library of executable and create launch script for your application. |
All you need is to select a folder with a compiled libraries of qt and a folder with your project.
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
confinement: classic # use 'strict' once you have the right plugs and slots


icon: snap/gui/icon.png
Expand Down
2 changes: 1 addition & 1 deletion source/CPP/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

QString Utils::getVersion(){

QFileInfo f("./../snap/snapcraft.yaml");
QFileInfo f(":/snapcraft/snapcraft");
QFile file(f.absoluteFilePath());

if(file.open(QIODevice::ReadOnly)){
Expand Down
3 changes: 3 additions & 0 deletions source/qml.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@
<file alias="en">languages/en.qm</file>
<file alias="ru">languages/ru.qm</file>
</qresource>
<qresource prefix="/snapcraft">
<file alias="snapcraft">../snap/snapcraft.yaml</file>
</qresource>
</RCC>

0 comments on commit d61fd89

Please sign in to comment.