Commit 84cf4f71 authored by Marie Ramlow's avatar Marie Ramlow
Browse files

openrgb: build with Qt 6

parent 3362e3c6
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -2,13 +2,13 @@
  lib,
  stdenv,
  fetchFromGitLab,
  libsForQt5,
  libusb1,
  hidapi,
  pkg-config,
  coreutils,
  mbedtls,
  symlinkJoin,
  kdePackages,
}:

stdenv.mkDerivation (finalAttrs: {
@@ -22,21 +22,24 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-XBLj4EfupyeVHRc0pVI7hrXFoCNJ7ak2yO0QSfhBsGU=";
  };

  patches = [
    ./qlist-include.patch
  ];

  nativeBuildInputs = [
    pkg-config
  ]
  ++ (with libsForQt5; [
  ++ (with kdePackages; [
    qmake
    wrapQtAppsHook
  ]);

  buildInputs = [

    libusb1
    hidapi
    mbedtls
  ]
  ++ (with libsForQt5; [
  ++ (with kdePackages; [
    qtbase
    qttools
    qtwayland
@@ -57,6 +60,10 @@ stdenv.mkDerivation (finalAttrs: {
    runHook postInstallCheck
  '';

  qmakeFlags = [
    "QT_TOOL.lrelease.binary=${lib.getDev kdePackages.qttools}/bin/lrelease"
  ];

  passthru.withPlugins =
    plugins:
    let
+16 −0
Original line number Diff line number Diff line
Commit ID: 2fa7aa0ec87d9878293033db0e86bb62cddc47df
Change ID: mvrytuwvnokxyvmuworxptmtqpqpppxq
Author   : Marie Ramlow <me@nycode.dev> (2025-10-11 12:10:21)
Committer: Marie Ramlow <me@nycode.dev> (2025-10-11 12:17:20)

    OpenRGBFont: add QList include

diff --git a/qt/OpenRGBFont.cpp b/qt/OpenRGBFont.cpp
index 628bd35281..db1ab5fb76 100644
--- a/qt/OpenRGBFont.cpp
+++ b/qt/OpenRGBFont.cpp
@@ -1,3 +1,4 @@
+#include <QStringList>
 #include "OpenRGBFont.h"
 #include <QFontDatabase>