Skip to content
  • Morten Johan Sørvig's avatar
    Add opt-out environment variable for @2x images · 2728460e
    Morten Johan Sørvig authored
    
    
    There are cases where @2x images are in use but
    where you don't want the associated behavior:
    - You are implementing an image editor
    - You are inheriting a resource set which has @2x
      images, but don't want that behavior with Qt.
    
    Add support for disabling @2x behavior with QT_HIGHDPI_DISABLE_2X_IMAGE_LOADING.
    
    Change-Id: Ia570dfe556e0571a19e5ebdc626c4a7e626721b9
    Task-id: QTBUG-38485
    Reviewed-by: default avatarMorten Johan Sørvig <morten.sorvig@digia.com>
    2728460e