The main decision

You need to add a line to Qt4Pas.pro before build libQt4Pas (the same for qt5pas.pro)

QMAKE_CXXFLAGS += -mstackrealign -mincoming-stack-boundary=2

Download the compiled library libQt4pas and libQt5pas

Who can add this (QMAKE_CXXFLAGS…) to HaikuPorts recipe?