Alexhuszagh / BreezeStyleSheets

Breeze/BreezeDark-like Qt StyleSheets
MIT License
548 stars 128 forks source link

qt.svg can't open some svg files #7

Closed stlfatboy closed 5 years ago

stlfatboy commented 6 years ago

qt.svg: Cannot open file ':/dark/transparent.svg', because: No such file or directory qt.svg: Cannot open file ':/dark/transparent.svg', because: No such file or directory qt.svg: Cannot open file ':/dark/transparent.svg', because: No such file or directory qt.svg: Cannot open file ':/dark/transparent.svg', because: No such file or directory qt.svg: Cannot open file ':/dark/down_arrow.svg', because: No such file or directory qt.svg: Cannot open file ':/dark/down_arrow.svg', because: No such file or directory

Style seems applied sucessfully, but some details lost.

I'm using Qt5.11 with C++ on msvc14.

THX

Alexhuszagh commented 5 years ago

I'm not noticing any issues on Fedora, with the following Qt information:

qmake-qt5 --version
QMake version 3.1
Using Qt version 5.11.1 in /usr/lib64

Which makes me wonder, it sounds like the errors are fairly generic:

Did you copy the entire dark and light folders into your project directory? If the SVG files are missing, you will be unable to actually parse them and load styles from them.

stlfatboy commented 5 years ago

I should check more carefully about the url in qss file. It start to load those SVG files when I manually changed those urls to the runtime path. Because install directory is messed up by myself with cmake.

Thank you for the checking and reply. Really good work there.

Alexhuszagh commented 5 years ago

Glad to hear everything's working then! If it's not, just comment and I'll re-open the issue.