I changed the libs in project settings from "$$system(pkg-config --libs vortex)" to "--static $$system(pkg-config --libs vortex)"

Now I get this error message;

/usr/bin/ld: cannot find -lqt-mt