chore: avoid build error - #233
Merged
Merged
Conversation
deepin-ci-robot
added a commit
to linuxdeepin/qt6platform-plugins
that referenced
this pull request
Feb 20, 2024
Synchronize source files from linuxdeepin/qt5platform-plugins. Source-pull-request: linuxdeepin/qt5platform-plugins#233
ComixHe
reviewed
Feb 20, 2024
|
|
||
| if (!rvf.oldFun) { | ||
| qCWarning(vtableHook) << "Reset the function failed, object: " << obj; | ||
| qCWarning(vtableHook) << "Reset the function failed, object: " << typeid(obj).name(); |
There was a problem hiding this comment.
可以这样:
qCWarning(vtableHook) << "Reset the function failed, object type:"
<< QMetaType::fromType<decltype(obj)>().name()
<< "object address:" << static_cast<void *>(obj);
Contributor
Author
There was a problem hiding this comment.
打印指针地址没啥意义,QMetaType::fromType编译会报错。
VtableHook::callOriginalFun(qApp->d_func(), &QGuiApplicationPrivate::isWindowBlocked, ...);
error: no member named 'qt_metatype_id' in 'QMetaTypeId<QGuiApplicationPrivate *>'
static inline Q_DECL_CONSTEXPR int qt_metatype_id() { return QMetaTypeId<T>::qt_metatype_id(); }
Contributor
Author
There was a problem hiding this comment.
typeid(obj).name(); 也不行。。
VtableHook::callOriginalFun(drag, &QXcbDrag::startDrag);Cannot load library /xx/xx/libdxcb.so: (/xx/xx/libdxcb.so: undefined symbol: _ZTI8QXcbDrag)
QLibraryPrivate::loadPlugin failed on "/xx/xx/libdxcb.so"
If the object does not implement `QDebug operator<<(QDebug , const Object *)` it cannot be printed with QDebug
deepin-ci-robot
added a commit
to linuxdeepin/qt6platform-plugins
that referenced
this pull request
Feb 20, 2024
Synchronize source files from linuxdeepin/qt5platform-plugins. Source-pull-request: linuxdeepin/qt5platform-plugins#233
ComixHe
approved these changes
Feb 20, 2024
Contributor
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ComixHe, kegechen The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
FeiWang1119
pushed a commit
to linuxdeepin/qt6platform-plugins
that referenced
this pull request
Mar 5, 2024
Synchronize source files from linuxdeepin/qt5platform-plugins. Source-pull-request: linuxdeepin/qt5platform-plugins#233
gfdgd-xi
pushed a commit
to GXDE-OS/dde-qt5platform-plugins
that referenced
this pull request
Jun 10, 2026
* feat: add animation for menu's selected backgroud Add a ChameleonAnimation class for the geometry translate animation. * chore: 更新滚动条样式,适配动画 (linuxdeepin#233) 更新滚动条样式,适配动画 Log: * chore: add round and remove shadow for menu item add round and remove shadow for menu item Log: * chore: 更改checkbox和radio实现方式为dci图标,增加动效 (linuxdeepin#236) 更改checkbox和radio实现方式为dci图标,增加动效 Log: * fix: adjust progressbar color (linuxdeepin#237) adjust progressbar color Log: * fix: 修复在选中框之外hover 和点击也有动画的问题 (linuxdeepin#238) checkbox和radio有框选区和文字区,应该只对框选区事件做处理 Log: --------- Co-authored-by: JiDe Zhang <zhangjide@deepin.org> Co-authored-by: wangfei <wangfei@deepin.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If the object does not implement
QDebug operator<<(QDebug , const Object *)it cannot be printed with QDebug