I’ve just compiled SolveSpace from the latest commits and the Qt version crashes when opening my assembly project.
On startup of the project, SolveSpace-Qt shows this error message:
File ./src/dsc.h, line 506, function FindById:
Assertion failed: t != nullptr.
Message: Cannot find handle.
After clicking OK, the application immediately closes.
Important notes:
The same project opens and works correctly in the GTK version.
It also worked in a previous Qt build (until the latest updates).
The crash happens only when opening this assembly.
Let me know if you need the project file.
I compiled with this command:
cmake .. -DCMAKE_BUILD_TYPE=Release -DENABLE_OPENMP=ON -DENABLE_LTO=ON -DUSE_QT_GUI=ON