Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QtQuick forces the MacBook pro to use the Discrete GPU (even when the app is supposed to use dynamic switching)

QtQuick forces the MacBook pro to use the Discrete GPU (even when the app is supposed to use dynamic switching)

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 590 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bozz
    wrote on last edited by
    #1

    All Qt apps cause the MacBook pro to use the more power hungry GPU by default.

    To fix this behaviour you should set NSSupportsAutomaticGraphicsSwitching to YES in the info.plist.

    This works for Qt Widgets apps just fine but doesn't work for QtQuick apps.
    I tried this on a 2011 MacBookPro.

    Does anyone else have this issue? To see which GPU the app is using you can download gfxcardstatus from https://gfx.io

    This issue is really frustrating as it causes the MacBook Pro to run a lot hotter. The battery times are usually slashed by a few hours!

    1 Reply Last reply
    1
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You should bring that question to the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved