Merge pull request #7279 from Techjar/qt-macos-iowindow Qt/IOWindow: Don't set QSizePolicy::Expanding on macOS