[Qt] Fix qt_minimal build