Talk:Qt: Difference between revisions
Bernborgess (talk | contribs) →Basic Development shell fails, qt5.full was removed: new section |
Bernborgess (talk | contribs) |
||
| Line 26: | Line 26: | ||
How can we update the file to have a working yet simple shell? | 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) | <br /> [[User:Bernborgess|Bernborgess]] ([[User talk:Bernborgess|talk]]) 20:40, 28 January 2026 (UTC) | ||
:A similar flake.nix but with "qt5.full" expanded out | |||
:<syntaxHighlight lang=nix> | |||
:# flake.nix | |||
:{ | |||
: inputs.nixpkgs.url = "github:nixos/nixpkgs"; | |||
: | |||
: outputs = | |||
: { self, nixpkgs }: | |||
: let | |||
: pkgs = nixpkgs.legacyPackages.x86_64-linux; | |||
: in | |||
: { | |||
: devShells.x86_64-linux.default = pkgs.mkShell { | |||
: buildInputs = with pkgs; [ | |||
: cmake | |||
: gdb | |||
: qt5.qt3d | |||
: qt5.qtcharts | |||
: qt5.qtconnectivity | |||
: qt5.qtdatavis3d | |||
: qt5.qtdeclarative | |||
: qt5.qtdoc | |||
: qt5.qtgamepad | |||
: qt5.qtgraphicaleffects | |||
: qt5.qtimageformats | |||
: qt5.qtlocation | |||
: qt5.qtlottie | |||
: # if on MacOS qt5.qtmacextras | |||
: qt5.qtmultimedia | |||
: qt5.qtnetworkauth | |||
: qt5.qtpim | |||
: qt5.qtpositioning | |||
: qt5.qtpurchasing | |||
: qt5.qtquick1 | |||
: qt5.qtquick3d | |||
: qt5.qtquickcontrols | |||
: qt5.qtquickcontrols2 | |||
: qt5.qtremoteobjects | |||
: qt5.qtscript | |||
: qt5.qtsensors | |||
: qt5.qtserialbus | |||
: qt5.qtserialport | |||
: qt5.qtspeech | |||
: qt5.qtsvg | |||
: qt5.qtsystems | |||
: qt5.qtscxml | |||
: qt5.qttools | |||
: qt5.qttranslations | |||
: qt5.qtvirtualkeyboard | |||
: qt5.qtwayland | |||
: qt5.qtwebchannel | |||
: # Marked as insecure... qt5.qtwebengine | |||
: qt5.qtwebglplugin | |||
: # Marked as insecure... qt5.qtwebkit | |||
: #qt5.qtwebsockets | |||
: #qt5.qtwebview | |||
: qt5.qtx11extras | |||
: qt5.qtxmlpatterns | |||
: qt5.qmake | |||
: qtcreator | |||
: | |||
: # this is for the shellhook portion | |||
: qt6.wrapQtAppsHook | |||
: makeWrapper | |||
: bashInteractive | |||
: ]; | |||
: # set the environment variables that Qt apps expect | |||
: shellHook = '' | |||
: bashdir=$(mktemp -d) | |||
: makeWrapper "$(type -p bash)" "$bashdir/bash" "''${qtWrapperArgs[@]}" | |||
: exec "$bashdir/bash" | |||
: ''; | |||
: }; | |||
: }; | |||
:} | |||
: | |||
:</syntaxHighlight> [[User:Bernborgess|Bernborgess]] ([[User talk:Bernborgess|talk]]) 20:59, 28 January 2026 (UTC) | |||