!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

203 Members
54 Servers

Load older messages


SenderMessageTime
2 Mar 2026
@marie:marie.cologneMariethats another thing which enables it09:04:34
@ulrik:m.strid.ninjaulrik ⚡️That is probably it then 🙂 thanks!09:06:04
@updown:envs.net@updown:envs.net removed their display name updown.09:12:52
@updown:envs.net@updown:envs.net left the room.09:15:35
@x3ro:matrix.nerd2nerd.orgx3ro joined the room.10:54:15
@bri:catgirl.cloudbri set a profile picture.15:20:18
@amaterasuprawnslate6693:matrix.orgTomato frog-Ferret joined the room.20:37:44
3 Mar 2026
@gsaurel:laas.frnim65s joined the room.15:40:24
@bart:bartoostveen.nlBart joined the room.15:40:29
@gsaurel:laas.frnim65s changed their display name from Guilhem to nim65s.15:40:31
@sigmanificient:matrix.orgSigmanificient joined the room.15:40:49
@sigmanificient:matrix.orgSigmanificient

No sure this is the proper room, but i am making a project with Qt6, and i have issues when using the qtimageformats plugin in my project.

When I pulled the deps into my devShell, the tiff image format (which is part of qtimageformats) is not found:

qDebug() << QImageReader::supportedImageFormats();
QList("bmp", "cur", "gif", "ico", "jfif", "jpeg", "jpg", "pbm", "pgm", "png", "ppm", "xbm", "xpm")

After digging a bit, i come across https://discourse.nixos.org/t/python-qt-woes/11808/10, and after applying

        shellHook = ''
          setQtEnvironment=$(mktemp --suffix .setQtEnvironment.sh)
          echo "shellHook: setQtEnvironment = $setQtEnvironment"
          makeWrapper "/bin/sh" "$setQtEnvironment" "''${qtWrapperArgs[@]}"
          sed "/^exec/d" -i "$setQtEnvironment"
          source "$setQtEnvironment"
        '';

it seems to properly find the formats:

QList("bmp", "cur", "gif", "icns", "ico", "jfif", "jp2", "jpeg", "jpg", "mng", "pbm", "pgm", "png", "ppm", "tga", "tif", "tiff", "wbmp", "webp", "xbm", "xpm")

My issue: This seems super hacky and was proposed back in 2021. Is there anyhting new on the matter? A better approach?

15:45:29
@k900:0upti.meK900No, basically wrapQtAppsHook probably needs to be split into two, just like wrapGAppsHook is15:55:50
@k900:0upti.meK900 So that we have a hook that sets QTPLUGINPATH and a hook that propagates it to the wrappers 15:56:39
@k900:0upti.meK900 Then the devshell would simply get the QTPLUGINPATH hook 15:56:47
@whispers:catgirl.cloudwhispers [& it/fae] joined the room.18:35:43

There are no newer messages yet.


Back to Room ListRoom Version: 9