ciscoPacketTracer{7,8}: force xorg display mode

Packet Tracer does not natively support wayland.
This patch will allow Packet Tracer to keep working,
even if a user has set `QT_QPA_PLATFORM=wayland`.
This commit is contained in:
Sean Buckley
2025-10-16 18:06:39 -04:00
parent bcef44a504
commit c7a5610c1c
2 changed files with 2 additions and 0 deletions

View File

@@ -85,6 +85,7 @@ let
runHook preInstall
makeWrapper "$out/opt/pt/bin/PacketTracer7" "$out/bin/packettracer7" \
--set QT_QPA_PLATFORM xcb \
--prefix LD_LIBRARY_PATH : "$out/opt/pt/bin"
runHook postInstall

View File

@@ -111,6 +111,7 @@ let
runHook preInstall
makeWrapper "$out/opt/pt/bin/PacketTracer" "$out/bin/packettracer8" \
--set QT_QPA_PLATFORM xcb \
--prefix LD_LIBRARY_PATH : "$out/opt/pt/bin"
runHook postInstall