Here's a reproducer in pure Qt.
Build it like so:
g++ test.c `pkg-config --cflags --libs Qt5Core` -fPIC
Here's a reproducer in pure Qt.
Build it like so:
g++ test.c `pkg-config --cflags --libs Qt5Core` -fPIC