Closed ruilvo closed 3 years ago
If you want to submit a PR with this added to the README, feel free :D. I'd be more than happy to include it.
Closed as of https://github.com/Alexhuszagh/BreezeStyleSheets/commit/8aff25b3a1b1400bd442f3e6818c18fae701608b. Note, I did change the directory for the generated styles to dist/
, since I realized that building everything in-source might be a pretty bad idea with more and more themes.
This means that this line:
BYPRODUCTS "${breeze_stylesheets_SOURCE_DIR}/breeze_themes.qrc"
Should change to:
BYPRODUCTS "${breeze_stylesheets_SOURCE_DIR}/dist/breeze_themes.qrc"
Hey! Thanks again for all the support with Qt-ADS!
I wanted to give something back, so here's a text on how to use your amazing work with projects built with CMake. Feel free to include it on your readme if you want:
First, this is what you need on your cmake file:
And then, add your executable and link with the created library:
On your
main.cpp
file you need to manually init the resources because they are coming from an external library: