EGSnrc
EGSnrc copied to clipboard
Building Qt GUIs on WSL with qt5 fails
There is a WSL bug which prevents libQt5Core.so.5
from being treated as a suitable library, hence GUIs can't be compiled.
Here is the workaround:
$ find /usr -name libQt5Core.so.5
/usr/lib/qt5/lib/libQt5Core.so.5
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
$ sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
Above solution taken from a reply to a 2020 question on stackoverflow.