Qt: Difference between revisions

imported>Tobias.bora
No edit summary
imported>Tobias.bora
No edit summary
Line 114: Line 114:
</syntaxHighlight>
</syntaxHighlight>


For actual python applications, you can also use something like :
For actual python applications, you may also use something like that (to test) :
<syntaxHighlight>
<syntaxHighlight>
python3.pkgs.buildPythonApplication {
python3.pkgs.buildPythonApplication {
Line 125: Line 125:
   ];
   ];


   dontWrapGApps = true;
   dontWrapQtApps = true; # wrapQtApps won't patch script anyway. TODO: save to use if it contains executables?


   # Arguments to be passed to `makeWrapper`, only used by buildPython*
   # Arguments to be passed to `makeWrapper`, only used by buildPython*
   preFixup = ''
   preFixup = ''
         qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
         qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
        # You can manually patch scripts using: wrapQtApp "$out/bin/myapp". TODO: check when it's required.
   '';
   '';
}
}