-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapt to changes in private headers Qt v6.9 #311
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GTM.
We may need a point release before Qt 6.9 comes out.
Solved the size problem by replacing libqtxdg/src/xdgiconloader/xdgiconloader.cpp Lines 740 to 741 in 1605b7d
with if (dir.type == QIconDirInfo::Scalable
|| dynamic_cast<ScalableEntry *>(entry)
|| dynamic_cast<ScalableFollowsColorEntry *>(entry)) {
return size;
}
EDIT: |
{ | ||
#if (QT_VERSION >= QT_VERSION_CHECK(6,8,0)) | ||
QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state, qreal scale) override; | ||
#else | ||
QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state) override; | ||
#endif | ||
QIcon svgIcon; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it better to put the above changes inside #if (QT_VERSION >= QT_VERSION_CHECK(6,8,0))
? We still support Qt 6.6.
EDIT: Never mind; Qt 6.6 will be OK with this.
fixes #310