Log in
Skip to main content
Skip to sidebar
Dashboards
Projects
Issues
Give feedback to Atlassian
Help
Jira Core help
Keyboard Shortcuts
About Jira
Jira Credits
Log In
Qt
QTBUG-84308
使用this->size() 初始化的 QPixmap 两者大小不一致
Log In
Closed
Export
null
XML
Word
Printable
Details
Type:
Bug
Resolution:
Done
Priority:
Not Evaluated
Fix Version/s:
None
Affects Version/s:
5.14.2
Component/s:
GUI: Painting
Labels:
None
Environment:
Hide
Operating System: Arch Linux
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Kernel Version: 5.6.13-arch1-1
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.5 GiB
Show
Operating System: Arch Linux KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.70.0 Qt Version: 5.14.2 Kernel Version: 5.6.13-arch1-1 OS Type: 64-bit Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz Memory: 15.5 GiB
Platform/s:
Linux/X11
Description
在类中创建一个 QPixmap 或者 QPixmap*
在构造函数的初始化列表使用 this->size() 初始化QPixmap 或 QPixmap*
使用qDebug打印 this.size 和 QPixmap::size()
可以发现两者大小不一致
Attachments
Gerrit Reviews
Options
Issue Only
Show All Reviews
Show Open Reviews
Show All Issues
Show Open Issues
No reviews matched the request. Check your Options in the drop-down menu of this sections header.
Activity
People
Assignee:
Eirik Aavitsland
Reporter:
龙涛 张
Votes:
0
Vote for this issue
Watchers:
1
Start watching this issue
Dates
Created:
19 May '20 02:30
Updated:
19 May '20 02:34
Resolved:
19 May '20 02:34
Gerrit Reviews
There are no open Gerrit changes