Re: QToolButton not displayed correctly on KDE

2021-02-17 Thread Aaron Dewes
I've now decided to use KDEs builtin icons, which worked. Thanks for your help again! Sure! git clone https://gitlab.com/EndorphinBrowser/browser.git -b webengine mkdir build && cd build cmake .. make -j$(nproc) ./endorphin You should now see a web browser opening, where in the right cor

Re: QToolButton not displayed correctly on KDE

2021-02-16 Thread Aaron Dewes
Sure! git clone https://gitlab.com/EndorphinBrowser/browser.git -b webengine mkdir build && cd build cmake .. make -j$(nproc) ./endorphin You should now see a web browser opening, where in the right corner of the TabBar, an invisible new tab button exists. For some reason, the close tab but

Re: QToolButton not displayed correctly on KDE

2021-02-16 Thread Albert Astals Cid
El dilluns, 15 de febrer de 2021, a les 19:36:32 CET, Aaron Dewes va escriure: > Hello! > > > I'm having some issues with a QT application I'm developing right now, > but only on KDE, the same code works perfectly on GNOME. > > I'm using the following code snippet: > > // In my header file > QA

Re: QToolButton not displayed correctly on KDE

2021-02-15 Thread Aaron Dewes
Thank you for your reply! I'm sure it's being loaded correctly. I already tried using a QPixmap, a local file, and replaced the Close Tab button (Which works) with that icon. m_newTabAction->setIcon(QIcon(QLatin1String(":graphics/addtab.png"))); First guess: The Breeze icon engine (which enab

Re: QToolButton not displayed correctly on KDE

2021-02-15 Thread David Hurka
> m_newTabAction->setIcon(QIcon(QLatin1String(":graphics/addtab.png"))); First guess: The Breeze icon engine (which enables color schemes to recolor monochrome icons) can not handle Qt ressource paths. Did you try to install the image as ordinary file, and use that file as icon? If that is the

QToolButton not displayed correctly on KDE

2021-02-15 Thread Aaron Dewes
Hello! I'm having some issues with a QT application I'm developing right now, but only on KDE, the same code works perfectly on GNOME. I'm using the following code snippet: // In my header file QAction *m_newTabAction; QToolButton *addTabButton; // The actual code  m_newTabAction = newQAction(