Hi all,
I’m encountering an issue while building a custom 3D Slicer-based application using the Kitware custom app template. I’ve previously created another custom app (around 2 months ago) with the same versions of CMake and Qt, and that build completed successfully.
Now, after a long 5.5-hour build process, the current app fails with the following errors:
*‘qMRMLWidget’: is not a class or namespace name [E:\New\build\Slicer-build\Applications\NewSlicerApp\qNewSlicerApp.vcxproj]
‘pixmapFromIcon’: identifier not found [E:\New\build\Slicer-build\Applications\NewSlicerApp\qNewSlicerApp.vcxproj] The final message is: Custom build for ‘…Slicer-configure.rule; … Slicer-build.rule; … Slicer-install.rule’ exited with code 1. What I’ve tried:
I double-checked that the Qt and CMake versions match my previous working setup.
I haven’t made any changes to Slicer core or its dependencies.
The custom app is based on the same Kitware template I used before.
Any idea why this might be happening now, especially with qMRMLWidget not being recognized? Could something have changed in the Slicer nightly/master branch, or do I need to add additional includes or dependencies in the new app?
Appreciate any suggestions or guidance to fix this and complete the build.