How to start Qt designer in Slicer environment from Ubuntu 20.04?

Operating system: Ubuntu 20.04
Slicer version: 4.11.0-2020
Expected behavior: ./Slicer-build/Slicer --designer shouldn’t start the Qt Designer?
Actual behavior: it starts the Slicer application.

Hello Slicer community, a beginner here.
Installed Qt 5.15; Qt designer 5.12.8. Built successfully the Slicer debug/release version. But unable to access the Slicer and CTK widgets because I can’t start Qt designer in Slicer environment. :frowning:
Can anyone help me please?
Thanks.

For some reason, the convenience --designer application shortcut is not specified for linux. You can run designer in your install tree like this (assuming you used system Qt for building Slicer):

 ./Slicer --launch /usr/bin/designer
2 Likes

Is this somewhere in the documentation? If not and you tell me where, I can add it.

Interestingly, on Ubuntu 18.04, the --designer switch works for me.

Until the shortcut gets fixed, a note could be added to the Linux build instructions page on readthedocs.

Maybe the shortcut is only created if Slicer can find Qt designer, and that may depend on how and where Qt is installed.

I see, thanks! Well if this is something that we intend to fix, then I guess this forum topic is just as good as an entry in the documentation. Thanks Andras!

Thank you Andras, Csaba for the prompt solution!