Closed ernstki closed 1 year ago
replace add_compile_definitions (added in CMake ≥3.12) with add_definitions in CMakeLists.txt
add_compile_definitions
add_definitions
CMakeLists.txt
add #ifdef's to support Qt 5.9.5 for Ubuntu 18.04 by replacing QString .front() and .back() methods with .at(0) and .at(s.size() - 1)
.front()
.back()
.at(0)
.at(s.size() - 1)
add #ifdef's to replace QFontMetrics .horizontalAdvance() method with .width() to support Qt 5.9.5 on Ubuntu 18.04
QFontMetrics
.horizontalAdvance()
.width()
closes #107
I also de-dented sections of the README that appeared to be accidentally indented (they were showing up as preformatted text when rendered on GitHub).
Thanks for your work!
replace
add_compile_definitions
(added in CMake ≥3.12) withadd_definitions
inCMakeLists.txt
add #ifdef's to support Qt 5.9.5 for Ubuntu 18.04 by replacing QString
.front()
and.back()
methods with.at(0)
and.at(s.size() - 1)
add #ifdef's to replace
QFontMetrics
.horizontalAdvance()
method with.width()
to support Qt 5.9.5 on Ubuntu 18.04closes #107