transpile_sass

transpile_sass(sass_file: str | Path, qss_file: str | Path) Path[source]

Transpile scss file to qss.

This function differs from qtsass.compile_filename in that it ensures that the output file is utf8 encoded.

Parameters:
  • sass_file (str | Path) – Path to the sass input file.

  • qss_file (str | Path) – Path to output the compiled qss file to.

Returns:

Absolute path to the compiled qss file.

Return type:

Path