Closed lamyergeier closed 8 months ago
You can use QT_STYLE_OVERRIDE
env variable or run app_name -style adwaita-qt
.
$ calibre -style adwaita-qt
Usage: calibre [options] [path_to_ebook or calibre url ...]
Launch the main calibre Graphical User Interface and optionally add the e-book at
path_to_ebook to the database. You can also specify calibre URLs to perform various
different actions, than just adding books. For example:
calibre://view-book/test_library/1842/epub
Will open the book with id 1842 in the EPUB format from the library
"test_library" in the calibre E-book viewer. Library names are the folder names of the
libraries with spaces replaced by underscores. A full description of the
various URL based actions is in the User Manual.
Whenever you pass arguments to calibre that have spaces in them, enclose the arguments in quotation marks. For example: "/some path/with spaces"
calibre: error: no such option: -t
$ calibre -style "adwaita-qt"
Usage: calibre [options] [path_to_ebook or calibre url ...]
Launch the main calibre Graphical User Interface and optionally add the e-book at
path_to_ebook to the database. You can also specify calibre URLs to perform various
different actions, than just adding books. For example:
calibre://view-book/test_library/1842/epub
Will open the book with id 1842 in the EPUB format from the library
"test_library" in the calibre E-book viewer. Library names are the folder names of the
libraries with spaces replaced by underscores. A full description of the
various URL based actions is in the User Manual.
Whenever you pass arguments to calibre that have spaces in them, enclose the arguments in quotation marks. For example: "/some path/with spaces"
calibre: error: no such option: -t
$ calibre -style -- "adwaita-qt"
Usage: calibre [options] [path_to_ebook or calibre url ...]
Launch the main calibre Graphical User Interface and optionally add the e-book at
path_to_ebook to the database. You can also specify calibre URLs to perform various
different actions, than just adding books. For example:
calibre://view-book/test_library/1842/epub
Will open the book with id 1842 in the EPUB format from the library
"test_library" in the calibre E-book viewer. Library names are the folder names of the
libraries with spaces replaced by underscores. A full description of the
various URL based actions is in the User Manual.
Whenever you pass arguments to calibre that have spaces in them, enclose the arguments in quotation marks. For example: "/some path/with spaces"
calibre: error: no such option: -t
$ QT_STYLE_OVERRIDE=adwaita-qt calibre
QApplication: invalid style override 'adwaita-qt' passed, ignoring it.
Available styles: Windows, Fusion
qt.svg: Cannot open file '/home/lamy/.config/calibre/resources/images/WordDumb/starfish.svg', because: No such file or directory
qt.svg: Cannot open file '/home/lamy/.config/calibre/resources/images/WordDumb/starfish.svg', because: No such file or directory
$ QT_STYLE_OVERRIDE=adwaita calibre
QApplication: invalid style override 'adwaita' passed, ignoring it.
Available styles: Windows, Fusion
qt.svg: Cannot open file '/home/lamy/.config/calibre/resources/images/WordDumb/starfish.svg', because: No such file or directory
qt.svg: Cannot open file '/home/lamy/.config/calibre/resources/images/WordDumb/starfish.svg', because: No such file or directory
Sorry, it should have been adwaita
and not adwaita-qt
, but still it looks you don't have it installed properly (or at all?) since it says the only ones available are Windows
and Fusion
.
How to set this for QT6 applications like Calibre 7.2?
qt-config is only for version QT4.
I installed using:
sudo dnf install -y adwaita-qt5 adwaita-qt6
(Fedora 39, Gnome, Wayland)