Qt 6.12 LTS is out! See what's new in the release
blog
error
-
ASSERT failure in QBitArray::QBitArray: "Size must be greater than or equal to 0."Why I getting this error ?

When I drag the view's scrollbarr to the bottom, the program crashes and gives this error.
Note: According to my code, the following blank rows should not be on the view. It only happens in some columns.
-
ASSERT failure in QBitArray::QBitArray: "Size must be greater than or equal to 0."Why I getting this error ?

When I drag the view's scrollbarr to the bottom, the program crashes and gives this error.
Note: According to my code, the following blank rows should not be on the view. It only happens in some columns.
-
Hi
It seems creating a qbytearray with negative size will throw such assert/error
so maybe something returns -1 for not found instead of a real size