summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.h
diff options
context:
space:
mode:
authorJan Arve Sæther <jan-arve.saether@qt.io>2023-12-12 12:51:11 +0100
committerJan Arve Sæther <jan-arve.saether@qt.io>2024-01-08 20:49:21 +0100
commit4ae537e67c99160f5dcac99f40d03a7921456556 (patch)
treef0c36ff1e72c391ac73506fdbdd682bdf1ed92e4 /src/corelib/global/qnamespace.h
parent47c5f6b4c2a66db7d169fed451f08af6fbe21c39 (diff)
Add Qt::AA_QtQuickDontUseDefaultSizePolicy
This flag should be set in order to opt out of that Qt Quick Layouts takes implicit (built-in) size policies into account, a feature that was introduced in Qt 6.7 Task-number: QTBUG-117597 Pick-to: 6.7 Change-Id: I206cd61534b2103b2c3a9b4abc97fec8c88799d1 Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
Diffstat (limited to 'src/corelib/global/qnamespace.h')
-rw-r--r--src/corelib/global/qnamespace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h
index b6f12a625f..bd9786ec3a 100644
--- a/src/corelib/global/qnamespace.h
+++ b/src/corelib/global/qnamespace.h
@@ -422,7 +422,7 @@ namespace Qt {
enum ApplicationAttribute
{
// AA_ImmediateWidgetCreation = 0,
- // AA_MSWindowsUseDirect3DByDefault = 1,
+ AA_QtQuickDontUseDefaultSizePolicy = 1,
AA_DontShowIconsInMenus = 2,
AA_NativeWindows = 3,
AA_DontCreateNativeWidgetSiblings = 4,