I don't know if QT4 from 7.x will work on 8.x, but in theory you did the right thing.
However, you need to install compiletc.tcz in order to get the most needed stuff for compiling?
However, you need to install compiletc.tcz in order to get the most needed stuff for compiling?