Re: Ideas to solve Terminal Blocks creation

I try to change PATH in program, users can add binary python portable in QET home directory like DXFtoelmt plugin...
https://git.tuxfamily.org/qet/qet.git/c … 5e30ae57cf

Re: Ideas to solve Terminal Blocks creation

On my old  VM Debian 9 AppImage station :

./qet_tb_generator 
[33786] Error loading Python lib '/tmp/_MEITlQZO2/libpython3.8.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/_MEITlQZO2/libpython3.8.so.1.0)

But work in my Debian Sid, also Plugin work and launch in Flatpak, great. ;-)

Re: Ideas to solve Terminal Blocks creation

If someone decides to create a qet_tb_generator portable bundle on macOS?
https://py2app.readthedocs.io/en/latest/py2applet.html

Re: Ideas to solve Terminal Blocks creation

I used http://www.pyinstaller.org/ to generate the portable versions for Linux & Windows. It would work in macOS also.

Re: Ideas to solve Terminal Blocks creation

Hi. A new version is launched: 1.1.6

This version solves:
- the problem if the 'folioSheetQuantity' attribute doesn't exist (last dev versions of QET don't use it).
- mouse right click did not work in MacOS.


There are 2 options to install the plugin:

A. Using python pip

Requires python 3.5 or above.

>> First install on Linux (Debian based distros)
1. In a terminalm install python3 and GUI library:
    sudo apt-get install python3 python3-tk python3-pip
2. Install the program: 
    sudo pip3 install qet_tb_generator
3. Launch the plugin from the 'Project' menu of QElectrotech.

>> Update on Linux
sudo python3 -m pip install --upgrade qet_tb_generator

>> First install on Windows
1. Install, if required, python 3.5 or above
2. pip3 install qet_tb_generator

>> Update on Windows
python -m pip install --upgrade qet_tb_generator


B. Using the portable versions. Available at:

Windows: https://download.tuxfamily.org/qet/builds/nightly/
Rename to qet_tb_generator.exe and put it on your C:\Users\[username]\AppData\qet\

Linux: https://download.tuxfamily.org/qet/builds/AppImage/
Rename to qet_tb_generator, mark "qet_tb_generator" as executable and put it Put it  to ~/.qet/