Gives an example how to use KSyntaxHighlighting when simply wanting to process
a QTextDocument into rich text and output that.
Details
Details
Diff Detail
Diff Detail
- Repository
- R216 Syntax Highlighting
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
I ngeneral looks good to me. Maybe use ecm_optional_add_subdirectory - this also allows 3rd party users to omit the code and it still works.
examples/CMakeLists.txt | ||
---|---|---|
6 ↗ | (On Diff #58327) | Maybe we use the optional variant like: ecm_optional_add_subdirectory (codepdfprinter) |
examples/codepdfprinter/main.cpp | ||
---|---|---|
36 ↗ | (On Diff #58327) | typo, "prin" |