I’m using macOS Mojave (10.14.6).
I’ve noticed that there is error log which says ‘dyld: Library not loaded: /Volumes/D/Support/qt-everywhere-build-5.15.0/lib/QtDesignerComponents.framework/Versions/5/QtDesignerComponents
Referenced from: /Applications/Slicer.app/Contents/bin/Designer.app/Contents/MacOS/Designer
Reason: image not found
error: [/Applications/Slicer.app/Contents/bin/Designer.app/Contents/MacOS/Designer] exit abnormally - Report the problem.’
In my mac, there is no /Volumes/D/ directly.
I just downloaded Slicer and I don’t think I built it myself.
I realized I have to open .ui file and yes, I could see other windows that the tutorial shows.
I followed the further instruction but the apply button is not active. (also clicking input Markups button not show anything)
Everything looks good. You need to select valid inputs if you want th Apply button to become active. This behavior (disable Apply button until valid inputs are selected) is implemented in your Python script and you can change it if you want.
Thank you for the link! I setup debugger in pycharm and slicer. I set egg files and it apparently worked correctly but once I set breakpoints and open the ‘MyFirstModule’ module, it didn’t stop at breakpoint…
In this screenshot, I set a breakpoint in init of MyFirstModuleWidget class and also put print() before and after it.
As you can see the output, both of the print is exected and I assume the debugger is not working correctly…
I already confirmed that the print() put at the first row in the onSelect() was not printed so can you please tell me how onSelect() works?
I could not find any documentation for ScriptedLoadableModuleWidget.onSelect(). Do you have any documentation for it?