enable high dpi scaling when qt version >= 5.6.0
Could you add high dpi support for cmake-gui?
I already made a pullrequest for cppcheck for the same issue:
https://github.com/danmar/cppcheck/pull/1008/files
basically you need to add these three lines to the corresponding main function in your main function.
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
Im not familiar with cmake code, but if someone gives me a hint where i can find the corresponding main function for cmake-gui, then i can make a merge request.
Edited by Craig Scott