Skip to content

Commit

Permalink
fix: there are no QT6 res files
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Nov 4, 2024
1 parent 124ffe5 commit b6342dd
Show file tree
Hide file tree
Showing 127 changed files with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ovos_gui_plugin_shell_companion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,13 @@ def __init__(self, config: dict, bus: MessageBusClient = None,
gui: GUIInterface = None,
preload_gui=False, permanent=True):
config["homescreen_supported"] = True
res_dir = join(dirname(__file__), "res")
res_dir = join(dirname(__file__), "gui")
gui = gui or GUIInterface("ovos_gui_plugin_shell_companion",
bus=bus, config=Configuration(),
ui_directories={"qt5": join(res_dir, "ui"),
"qt6": join(res_dir, "ui6")})
ui_directories={"qt5": join(res_dir, "qt5")})
if not gui.ui_directories:
LOG.info(f"Setting default qt5 resource directory to: {res_dir}")
gui.ui_directories["qt5"] = res_dir
LOG.info(f"Setting default qt5 resource directory to: {res_dir}/qt5")
gui.ui_directories["qt5"] = join(res_dir, "qt5")
LOG.info("OVOS Shell: Initializing")
super().__init__(config=config, bus=bus, gui=gui,
preload_gui=preload_gui, permanent=permanent)
Expand Down

0 comments on commit b6342dd

Please sign in to comment.