New comment by newbluemoon on void-packages repository https://github.com/void-linux/void-packages/pull/11891#issuecomment-507529153 Comment: Yes, what I did above just fixes the linking errors. Do you mean the .pri files in `/usr/lib/qt5/mkspecs/modules`? As far as I can see there are - qt_lib_multimedia_private.pri - qt_lib_core_private.pri - qt_lib_widgets_private.pri - qt_lib_gui_private.pri - probably a few more which use `QMAKE_INCDIR_*` with hardcoded paths to some includes. But it’s the same situation as with 5.11 right now. Maybe it’s possible to override these variables in `qt.conf`, too, and prepend the cross base (like e.g. read all the paths specified in the variable, prepend the cross base, and set the modified paths). However, `qt.conf` might use different variable names. Or just use brute force and `sed` the cross base?