set Qt environment variables system-wide #7

Open
opened 2024-11-16 17:53:04 +08:00 by sb10q · 0 comments
Owner
  1. Move the contents of these two lines into a variable exported by the ARTIQ flake:
          export QT_PLUGIN_PATH=${pkgs.qt6.qtbase}/${pkgs.qt6.qtbase.dev.qtPluginPrefix}:${pkgs.qt6.qtsvg}/${pkgs.qt6.qtbase.dev.qtPluginPrefix}
          export QML2_IMPORT_PATH=${pkgs.qt6.qtbase}/${pkgs.qt6.qtbase.dev.qtQmlPrefix}

(This keeps the Qt version in sync with ARTIQ; in particular ARTIQ-8 uses Qt5 and slightly different paths)

  1. Set those environment variables system-wide on NUCs based on the contents of the current ARTIQ flake.

Otherwise users cannot easily run their applets standalone or their homebrew Qt GUIs.

1. Move the contents of these two lines into a variable exported by the ARTIQ flake: ``` export QT_PLUGIN_PATH=${pkgs.qt6.qtbase}/${pkgs.qt6.qtbase.dev.qtPluginPrefix}:${pkgs.qt6.qtsvg}/${pkgs.qt6.qtbase.dev.qtPluginPrefix} export QML2_IMPORT_PATH=${pkgs.qt6.qtbase}/${pkgs.qt6.qtbase.dev.qtQmlPrefix} ``` (This keeps the Qt version in sync with ARTIQ; in particular ARTIQ-8 uses Qt5 and slightly different paths) 2. Set those environment variables system-wide on NUCs based on the contents of the current ARTIQ flake. Otherwise users cannot easily run their applets standalone or their homebrew Qt GUIs.
fsagbuya was assigned by sb10q 2024-11-16 17:53:52 +08:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/defenestrate#7
No description provided.