Details
-
Type:
Bug
-
Status: Reported
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: 6.2.2
-
Fix Version/s: None
-
Component/s: Widgets: Widgets and Dialogs
-
Labels:None
-
Platform/s:
Description
There's an enum miss-match bug specific to QT6 between
qtbase/src/widgets/dialogs/qfiledialog.h and
qtbase/src/gui/kernel/qplatformdialoghelper.h
When creating QT6 from QT5 source, someone has removed "DontUseSheet" and renumbered qfiledialog.h but forgotten to renumber qplatformdialoghelper.h to match.
qtbase/src/widgets/dialogs/qfiledialog.h QT5
enum Option { ShowDirsOnly = 0x00000001, DontResolveSymlinks = 0x00000002, DontConfirmOverwrite = 0x00000004, #if QT_DEPRECATED_SINCE(5, 14) DontUseSheet Q_DECL_ENUMERATOR_DEPRECATED = 0x00000008, #endif DontUseNativeDialog = 0x00000010, ReadOnly = 0x00000020, HideNameFilterDetails = 0x00000040, DontUseCustomDirectoryIcons = 0x00000080 };
qtbase/src/gui/kernel/qplatformdialoghelper.h QT5
enum FileDialogOption{ ShowDirsOnly = 0x00000001, DontResolveSymlinks = 0x00000002, DontConfirmOverwrite = 0x00000004, #if QT_DEPRECATED_SINCE(5, 14) DontUseSheet Q_DECL_ENUMERATOR_DEPRECATED = 0x00000008, #endif DontUseNativeDialog = 0x00000010, ReadOnly = 0x00000020, HideNameFilterDetails = 0x00000040, DontUseCustomDirectoryIcons = 0x00000080 };
qtbase/src/widgets/dialogs/qfiledialog.h QT6
enum Option
{ ShowDirsOnly = 0x00000001, DontResolveSymlinks = 0x00000002, DontConfirmOverwrite = 0x00000004, DontUseNativeDialog = 0x00000008, ReadOnly = 0x00000010, HideNameFilterDetails = 0x00000020, DontUseCustomDirectoryIcons = 0x00000040 };
qtbase/src/gui/kernel/qplatformdialoghelper.h QT6
enum FileDialogOption
{ ShowDirsOnly = 0x00000001, DontResolveSymlinks = 0x00000002, DontConfirmOverwrite = 0x00000004, DontUseNativeDialog = 0x00000010, ReadOnly = 0x00000020, HideNameFilterDetails = 0x00000040, DontUseCustomDirectoryIcons = 0x00000080 };