Installing SlicerRT makes Qt Designer crash
Closed this issue · 1 comments
lassoan commented
After SlicerRT is installed, Qt designer cannot be started, because it crashes in qSlicerBeamsModuleWidgetsPlugins.dll.
Qt Designer instantiates custom widgets (via Qt widget plugins). Since in this case the application is not derived from qSlicerCoreApplication, all calls to qSlicerCoreApplication::application() return nullptr. This is a likely root cause of the crash. You need to add null-pointer checks to all qSlicerCoreApplication::application() calls (at least to those that are called during widget initialization).
See how we have just fixed a similar issue in Slicer core:
Slicer/Slicer@30f347f
cpinter commented
Designer now starts with SlicerRT. Thanks @MichaelColonel for the fix!