Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.14.0-beta2
-
None
-
Qt6.0.0-rc, Ubuntu
-
013f2a9d7300c73a785d67313bcffd336e483e8f (qt-creator/qt-creator/4.14)
Description
HighDPIScaling has been enabled by default in Qt6 (https://codereview.qt-project.org/c/qt/qtbase/+/273952) and building Qt Quick apps with App Wizard print out issues tab with log:
/home/mg/swipe_cmake/main.cpp:6: warning: ‘Qt::AA_EnableHighDpiScaling’ is deprecated: High-DPI scaling is always enabled. This attribute no longer has any effect. [-Wdeprecated-declarations] /home/mg/swipe_cmake/main.cpp: In function ‘int main(int, char**)’: /home/mg/swipe_cmake/main.cpp:6:40: warning: ‘Qt::AA_EnableHighDpiScaling’ is deprecated: High-DPI scaling is always enabled. This attribute no longer has any effect. [-Wdeprecated-declarations] 6 | QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); | ^~~~~~~~~~~~~~~~~~~~~~~
Attachments
For Gerrit Dashboard: QTCREATORBUG-25002 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
323971,2 | Wizards: Prevent deprecation warning in generated QtQuick application | 4.14 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |