Qt5.5 searches for the SDK itself and just ignores environment variables like CC and CXX, skipping the spack wrappers.