    qt_libs = qt_env["LIBS"] + libs + ["pthread", "ssl", "crypto"]
  
    widgets = qt_env.Library("qt_widgets",
                   ["qt/qt_window.cc", "qt/qt_sound.cc", "qt/widgets/keyboard.cc", "qt/widgets/input_field.cc", "qt/widgets/drive_stats.cc",
                    "qt/offroad/wifi.cc", "qt/offroad/wifiManager.cc", "qt/widgets/toggle.cc", "qt/widgets/offroad_alerts.cc", "qt/widgets/setup.cc", "qt/widgets/QrCode.cc"],
                   LIBS=qt_libs)
    qt_libs.append(widgets)
  
  
    if arch == "Darwin":
 
</s> remove   qt_src = ["qt/ui.cc", "qt/window.cc", "qt/home.cc", "qt/api.cc", "qt/offroad/settings.cc", "qt/offroad/onboarding.cc"] + src

 </s> add   qt_src = ["qt/ui.cc", "qt/window.cc", "qt/home.cc", "qt/api.cc", "qt/offroad/settings.cc", "qt/offroad/onboarding.cc", "#phonelibs/qrcode/QrCode.cc"] + src
                  "qt/offroad/wifi.cc", "qt/offroad/wifiManager.cc", "qt/widgets/toggle.cc", "qt/widgets/offroad_alerts.cc", "qt/widgets/setup.cc"],
    qt_libs = qt_env["LIBS"] + libs + ["pthread", "ssl", "crypto"]
  
    widgets = qt_env.Library("qt_widgets",
                   ["qt/qt_window.cc", "qt/qt_sound.cc", "qt/widgets/keyboard.cc", "qt/widgets/input_field.cc", "qt/widgets/drive_stats.cc",
                  "qt/offroad/wifi.cc", "qt/offroad/wifiManager.cc", "qt/widgets/toggle.cc", "qt/widgets/offroad_alerts.cc", "qt/widgets/setup.cc"],
                   LIBS=qt_libs)
    qt_libs.append(widgets)
  
  
    if arch == "Darwin":
keep keep keep keep replace keep keep keep keep keep
 move Qr code lib to phonelibs (#19871) 
selfdrive/ui/SConscript