Make larger minimum height apply to Qt5 only.