@johnt That sounds like a difference in the initialization of static variables used to ensure that classes are registered. @aron.helser I don’t see immediately where pqSMTKResourceBrowser is registered with the smtk view manager. Can you point me to it?
In pqSMTKAppComponentsAutoStart.cxx:127
qtSMTKUtilities::registerViewConstructor(
"pqSMTKResourceBrowser", pqSMTKResourceBrowser::createViewWidget);
I will include @ben.boeckel since he has been drafted into the effort. There is an interesting observation to report:
I just finished a linux/debug build of cmb-superbuild:master from scratch, and
- The modelbuilder in the build tree works OK.
- The modelbuilder in the install tree works OK.
- But the modelbuilder in the package tree has the mystery “missing icons” problem.
Could the fixup-bundle script be hosing something?
I guess I should update our status from “yet another week goes by without a windows build” to “yet another week goes by without any modelbuilder packages…”
After a few more hours working through the code, Ben figured out that the actual problem was that the smtkViewPlugin is not being included when the package gets bundled. So a one-line change to the superbuild will fix it for now. Going forward, we need to update the superbuild to find plugins automatically instead of relying on a white list.