My Qt 6.6.0 code crashs in debug mode (~QArrayDataPointer()) and not on release on Windows
Solved
General and Desktop
-
Hi guys. I just came to the same issue on 6.8.2 where even the code below crashes on exactly the same space as above where the code run perfect before. So what changed... the build was done on w10 (months ago) and then after a format w11 was installed with a clean VS2022 installation. Since this happened qt crashes all the time. Now project didn't change so w10->w11 transition has to be the culprit. I'll edit this post after I'll rebuild 6.8.2 on w11.
int main( int argc, char *argv[] )
{
QVector<JSON_Object> value_object_list;JSON_Object e1; JSON_Object e2; JSON_Object e3; JSON_Object e4; JSON_Object e5; value_object_list.append( e1 ); value_object_list.append( e2 ); value_object_list.append( e3 ); value_object_list.append( e4 ); value_object_list.append( e5 );
-
Don't mix debug and release libraries.