https://bugs.kde.org/show_bug.cgi?id=414536
Bug ID: 414536
Summary: krita 4.2.8.1 has a wrong Qt version check
Product: krita
Version: 4.2.8
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: General
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
https://cgit.kde.org/krita.git/commit/?h=krita/4.2&id=07554913b16417792f390e061560e63cfdfa52a3
is wrong.
When building against Qt 5.9 it fails:
/home/abuild/rpmbuild/BUILD/krita-4.2.8.1/krita/main.cc: In function 'int
main(int, char**)':
/home/abuild/rpmbuild/BUILD/krita-4.2.8.1/krita/main.cc:421:26: error:
'AA_DisableWindowContextHelpButton' is not a member of 'Qt'
app.setAttribute(Qt::AA_DisableWindowContextHelpButton);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
And it certainly doesn't do the right thing when building against newer
versions either... ;-)
It should rather be:
#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
--
You are receiving this mail because:
You are watching all bug changes.