Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone installer\portable version #1

Open
koutoftimer opened this issue Feb 16, 2019 · 10 comments
Open

Standalone installer\portable version #1

koutoftimer opened this issue Feb 16, 2019 · 10 comments
Assignees
Labels
enhancement New feature or request

Comments

@koutoftimer
Copy link
Owner

Create standalone executables that will have no requirements for targeted OS.

@koutoftimer koutoftimer added the enhancement New feature or request label Feb 16, 2019
@koutoftimer koutoftimer self-assigned this Feb 16, 2019
@koutoftimer
Copy link
Owner Author

Ability to download the utility for python users from pip is one of the advantages of current solution, but it doesn't feel like native application for desktop users.

Because of problems with PyInstaller and py2exe I decided to write it with Qt because of support of clipboard and ability to render *.svg. To make *.svg I decided to use nayuki/QR-Code-generator

@koutoftimer
Copy link
Owner Author

Deploying to 3 major platforms:

  1. X11 Platforms
  2. Windows
  3. macOS

required, but help with macOS is needed.

@koutoftimer
Copy link
Owner Author

Debian Stretch sqrc.zip

@koutoftimer
Copy link
Owner Author

Linked with static Qt library. Should now run without any external dependencies sqrc-static.zip

@drhayes
Copy link

drhayes commented Mar 21, 2019

Both of those error out with ./sqrc: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version Qt_5.12' not found (required by ./sqrc)`.

@koutoftimer
Copy link
Owner Author

koutoftimer commented Mar 21, 2019

@drhayes yes. There is one more problem I have figured out few hours ago. It is about Cmake support of Qt's static build.

You may find out more about this in the qt's developers mailing list

TL;DR: do not use Cmake to build your project with static Qt, use qmake ONLY.

I have already done everything I just need to commit changes and to release both win and linux versions.

@koutoftimer
Copy link
Owner Author

@drhayes
Regular linux executable sqrc-qt.gz
UPX compressed linux executable sqrc-qt-upx.gz
Windows executable sqrc-qt.zip

@koutoftimer
Copy link
Owner Author

Sad news. Linux executables depends on following shared libraries. Make sure that your version is ABI compatible.

libicui18n.so.57 => not found
       libicuuc.so.57 => not found
       libicudata.so.57 => not found

Good news is that we have AppImage and I'm starting research in its direction.

@koutoftimer
Copy link
Owner Author

Very first linux AppImage available: SQRC-x86_64.AppImage.tar.gz

@koutoftimer
Copy link
Owner Author

Epic fail: I have missed electron "clone" somehow. No need to continue this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants