Here comes a strange question. I have a QT App and it requires some libraries. Normally, the following bash script works:
#!/bin/bash export LD_LIBRARY_PATH="./libs" export QT_DEBUG_PLUGINS=1 ./dataUI "$@" #This is the name of the APP
It works for my computer (Ubuntu 18), and in the WSL of my another device (Not equipped with QT IDE). However, as someone runs the script, the library files in the folder "./libs" cannot be found! (He uses Ubuntu 20 on WSL) The LD_LIBRARY_PATH does not seem to work. Any Hint on this problem?