Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
QDS 2.2 Beta1
Description
When building against Qt6.2, there is an assert when opening GradientPresetList. If you ignore the assert, everything seems to work fine:
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Debug Error!
Program: C:\dev\qt\qt62-build\qtbase\bin\Qt6Cored.dll
Module: 6.2.0
File: C:\dev\qt\qt6\qtbase\src\gui\util\qgridlayoutengine.cpp
Line: 246
ASSERT: "sumFactors > 0.0" in file C:\dev\qt\qt6\qtbase\src\gui\util\qgridlayoutengine.cpp, line 246
(Press Retry to debug the application)
---------------------------
Abort Retry Ignore
---------------------------
If you comment out all anchoring from GridView in GradientPresetTabContent.qml, the assert goes away, but nothing will be shown. Any width/height dependency to the parent seems to trigger this.
Attachments
Issue Links
- relates to
-
QTBUG-116577 ASSERT: "sumFactors > 0.0" in qgridlayoutengine.cpp
- Closed
-
QDS-10483 assert in qgridlayoutengine when opening QtDesignStudio project
- Reported