Ubuntu 22.04
Qt 5.13.2
qwt-6.2.0

The desktop file:

Qt Code:
  1. [Desktop Entry]
  2. Name=ADSR
  3. Exec=/home/mja/eclipse/teensy_workspace/miller/gui/build-ADSR-Desktop_Qt_5_13_2_GCC_64bit-Release/ADSR
  4. Icon=/home/mja/Desktop/Collection/icons/15 classy media player icons PNGs/128/back.png
  5. Terminal=true
  6. TerminalOptions=\s --noclose
  7. Type=Application
  8. MimeType=x-scheme-handler/eclipse+command;x-scheme-handler/eclipse+mpc;
To copy to clipboard, switch view to plain text mode 

When clicking this shortcut on the desktop, I get this error:

/home/mja/eclipse/teensy_workspace/miller/gui/build-ADSR-Desktop_Qt_5_13_2_GCC_64bit-Release/ADSR: error while loading shared libraries: libqwt.so.6.2: cannot open shared object file: No such file or directory

Running this file another way works fine : mja@mja:/usr/local/share/applications$ gtk-launch ADSR
and it works inside Qt-Creator.

This problem only occurs if qwt is included in the project

Help welcome!