Eeems-Org / oxide

A desktop environment for the reMarkable tablet
https://oxide.eeems.codes
MIT License
251 stars 21 forks source link

Simplify gui application setup with liboxide #317

Closed Eeems closed 1 year ago

Eeems commented 1 year ago

This moves the logic for setting up Qt with QsgEpaperPlugin as well as setting the environment variables to liboxide. You can now call deviceSettings.setupQtEnvironment() at the start of a Qt application to initialize the proper environment variables that makes Qt use the epaper qpa. This also removes the need to statically compile libqsgepaper into ever application that requires it, as it's now provided by liboxide.