SQRC (show QR code) is simple utility that takes data from the clipboard and shows you QR code. It is very helpfull for transfering text data into you smartphone via QR code recognition.
You have to build it manually or take a look at Issues tab it could be that executable for your OS has already been built.
Used Qt SDK version 5.12.1.
Aquire source code with submodules:
$ git clone --recurse-submodules https://github.com/koutoftimer/sqrc.git
Use QtCreator
or any other way to build c++/sqrc-qt/sqrc-qt.pro
project.
Linux users can use build-app-image.sh
to create AppImage bundle. It behaves much like staticaly
linked executable from user's perspective but take about 25% more space. On the other hand it is much faster
then compiling static Qt library.
$ ./configure -opensource -confirm-license -release -static \
-c++std c++14 -nomake examples -nomake tests -nomake tools \
-prefix ./build
Windows users should use configure.bat
instead.
make -j$(nproc) && make -j$(nproc) install
. This will take a while.build
directory and go into it.$ cd c++
$ mkdir build
$ cd build
qmake
built with Qt
$ /path/to/Qt/build/bin/qmake ../src/sqrc.pro
make
. You can specify release
option, otherwise both release and debug versions will be in correcponding directories.
$ make -j$(nproc) release
$ make -j$(nproc) qt5
This will take a while.
$ PATH="/path/to/mxe/usr/bin:$PATH" /path/to/mxe/i686-w64-mingw32.static/qt5/bin/qmake ../src/sqrc-qt.pro
$ PATH="/path/to/mxe/usr/bin:$PATH" make -j$(nproc)
You can specify release
option, otherwise both release and debug versions will be in correcponding directories.
If you already have python
on your working machine, you can download pythonic version from pip
in single
command and start using it.
Using pip: pip install sqrc
You have to execute command line
$ sqrc
or use any other way to launch sqrc
executable.
Utility consists from 3 external libraries:
pyperclip
to access clipboard.qrcode
to qenerate QR code for data in the clipboard.Pillow
to display generated image.You should dive deaper to discover weak points but none of them is single man project. All dependencies have 20+ contributors. It is very unlikely to push some maleware into source code.