-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable sqlitebrowser to use integrated graphics card instead of high performance graphics card in macOS #2377
Comments
Interesting. Our application is built upon a cross platform framework called "Qt". My first thought is that maybe there's some setting(s) in Qt that would allow this. Maybe @revolter would know? |
Maybe adding the More details: https://stackoverflow.com/a/27211853/865175. Are we using Qt 5.3+? |
Qt v5.12.8, I believe. |
@revolter Thanks heaps, that looks like the right kind of thing. 😄 And yep, Chris has it right. Our macOS and windows builds at the moment are using Qt 5.12.8. |
@ajaykumarmeher Would you be ok with trying something out? If you could try adding this:
... to the file It will need to be near the end, just after the In theory, once that change is done, you should be able to use the Integrated graphics card for the application. If that does work, please let us know so we can add the change here for our future releases too. 😄 |
@justinclift thanks a lot for providing the fastest solution possible :) kudos to the team. |
Awesome. I've just added that change to our source code, so it'll be in our nightly builds and all future releases too. Thanks for looking into this @revolter, and thanks for testing it @ajaykumarmeher. 😄 |
Awesome 😄 I'll close this issue then. |
Describe the new feature
Currently the app is using high perf graphics card instead of normal integrated graphics card. Therefore, the app is impacting heavily on battery life for mac users.
Additional info
Please answer these questions before submitting your feature request.
Is your feature request related to an issue? Please include the issue number.
NO
Does this feature exist in another product or project? Please provide a link.
NO
Do you have a screenshot? Please add screenshots to help explain your idea.
In the below screenshot you can clearly see the graphics card is in high perf instead of integrated. If I quit the sqlitebrowser app the mode will change to integrated immediately.
After closing the app below is the status.
![Screenshot 2020-08-19 at 1 48 08 AM](https://user-images.githubusercontent.com/839596/90561312-23454700-e1be-11ea-9afc-d03405d514ba.png)
The text was updated successfully, but these errors were encountered: