  #include "selfdrive/ui/qt/qt_window.h"
  #include "selfdrive/ui/qt/widgets/scrollview.h"
  
  int main(int argc, char *argv[]) {
    initApp();
    QApplication a(argc, argv);
    QWidget window;
    setMainWindow(&window);
  
    QGridLayout *main_layout = new QGridLayout(&window);
 
</s> remove   setQtSurfaceFormat();
 </s> add   initApp(argc, argv); </s> remove   initApp();
 </s> add   initApp(argc, argv); </s> remove   initApp();
 </s> add   initApp(argc, argv); </s> remove   initApp();
 </s> add   initApp(argc, argv); </s> remove   initApp();
 </s> add   initApp(argc, argv);
  initApp(argc, argv);
  #include "selfdrive/ui/qt/qt_window.h"
  #include "selfdrive/ui/qt/widgets/scrollview.h"
  
  int main(int argc, char *argv[]) {
  initApp(argc, argv);
    QApplication a(argc, argv);
    QWidget window;
    setMainWindow(&window);
  
    QGridLayout *main_layout = new QGridLayout(&window);
keep keep keep keep replace keep keep keep keep keep
 MacOS: ensure 1:1 rendering on HiDPI screens (#23860) 
selfdrive/ui/qt/text.cc