sqrc icon indicating copy to clipboard operation
sqrc copied to clipboard

Standalone installer\portable version

Open koutoftimer opened this issue 5 years ago • 10 comments

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

koutoftimer avatar Feb 16 '19 20:02 koutoftimer

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 avatar Feb 17 '19 14:02 koutoftimer

Deploying to 3 major platforms:

  1. X11 Platforms
  2. Windows
  3. macOS

required, but help with macOS is needed.

koutoftimer avatar Feb 20 '19 11:02 koutoftimer

Debian Stretch sqrc.zip

koutoftimer avatar Mar 12 '19 03:03 koutoftimer

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

koutoftimer avatar Mar 20 '19 01:03 koutoftimer

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)`.

drhayes avatar Mar 21 '19 14:03 drhayes

@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 avatar Mar 21 '19 15:03 koutoftimer

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

koutoftimer avatar Mar 21 '19 16:03 koutoftimer

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 avatar Mar 23 '19 01:03 koutoftimer

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

koutoftimer avatar Mar 23 '19 06:03 koutoftimer

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

koutoftimer avatar Mar 23 '19 18:03 koutoftimer