Jump to content

Talk:Qt: Difference between revisions

From Official NixOS Wiki
 
Line 2: Line 2:


I'm missing how the [https://search.nixos.org/options?channel=24.11&show=qt.enable qt.enable] nixos options plays a role in it? Would be a great addition too this wiki page! [[User:Turbotimon|Turbotimon]] ([[User talk:Turbotimon|talk]]) 07:47, 20 March 2025 (UTC)
I'm missing how the [https://search.nixos.org/options?channel=24.11&show=qt.enable qt.enable] nixos options plays a role in it? Would be a great addition too this wiki page! [[User:Turbotimon|Turbotimon]] ([[User talk:Turbotimon|talk]]) 07:47, 20 March 2025 (UTC)
== Basic Development shell fails, qt5.full was removed  ==
The code presented as a basic development <code>shell.nix</code>:
<syntaxHighlight lang=nix>
# shell.nix
{ pkgs ? import <nixpkgs> {} }:
  pkgs.mkShell {
    buildInputs = [
      pkgs.qt5.full
      pkgs.qtcreator
    ];
}
</syntaxHighlight>
It does not work, failing with the error:
<syntaxHighlight lang=nix>
error: libsForQt5.full has been removed. Please use individual packages instead.
</syntaxHighlight>
How can we update the file to have a working yet simple shell?
<br /> [[User:Bernborgess|Bernborgess]] ([[User talk:Bernborgess|talk]]) 20:40, 28 January 2026 (UTC)

Revision as of 20:40, 28 January 2026

whats about qt options?

I'm missing how the qt.enable nixos options plays a role in it? Would be a great addition too this wiki page! Turbotimon (talk) 07:47, 20 March 2025 (UTC)Reply

Basic Development shell fails, qt5.full was removed

The code presented as a basic development shell.nix:

# shell.nix
{ pkgs ? import <nixpkgs> {} }:
  pkgs.mkShell {
    buildInputs = [
      pkgs.qt5.full
      pkgs.qtcreator
    ];
}

It does not work, failing with the error:

error: libsForQt5.full has been removed. Please use individual packages instead.

How can we update the file to have a working yet simple shell?
Bernborgess (talk) 20:40, 28 January 2026 (UTC)Reply