Forum Discussion

James_B's avatar
James_B
Icon for Contributor rankContributor
2 days ago

Quartus Dark Theme on Linux - Solution

I have a solution for setting up a dark theme for Quartus Prime 25 on Linux (Mint) and setup a Github repo. The program modifies the stylesheet using a Rust program. 

https://github.com/saturn77/quartus-dark-linux

This repo allows running Altera Quartus on Linux with a dark theme, providing a modern look while being easy on the eyes for Linux users. There are some dark stylesheets for Windows, but those simply will not work on Linux.

Quartus's argument parser intercepts -stylesheet before Qt can process it on Linux. This project uses a small Rust LD_PRELOAD library to hook QApplication::exec() and inject the stylesheet directly via Qt's setStyleSheet() API.

Tested with Quartus Prime Pro 25.3.1 (Qt 6.5.7) on Linux Mint 22.3 Cinnamon.

 

 

 

2 Replies

  • Thank you so much for sharing this solution! 

    Really appreciate you taking the time to package it neatly and make it available to everyone.

    Has anyone else here tried this solution on their Linux setup? Would be great to hear if it works across other distros as well.
    Thanks again for contributing this to the community!

    Regards,
    Richard Tan

    • James_B's avatar
      James_B
      Icon for Contributor rankContributor

      There is also a small section in the script that increases the font for platform designer to make it more readable on high density displays. Overall I have not tested on regular Ubuntu but I would expect the script to work on Ubuntu / Debian related distros.