New comment by pullmoll on void-packages repository https://github.com/void-linux/void-packages/pull/12700#issuecomment-505952314 Comment: In gcc-6.x we had to set some flags for qt5 and IIRC it was `-fdisable-null-pointer-checks` or similar. Perhaps this helps here as well.