mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
211 stars 123 forks source link

Windows Conda install won't launch workbench #34923

Closed thomashampson closed 1 year ago

thomashampson commented 1 year ago

Describe the bug After installing mantidworkbench from Conda, it does not launch, with the following error:

qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

To Reproduce Create a new Conda environment and install the nightly mantidworkbench package: conda install -c mantid/label/nightly mantid Attempt to launch with the command workbench

Expected behavior Workbench should launch.

Screenshots

Platform/Version (please complete the following information):

Additional context This has been hapening since qt was upgraded to 5.15. There is a workaround, which is to set the plugin path env variable: conda env config vars set QT_PLUGIN_PATH="<path_to_your_conda_environment>\Library\plugins"

mantid-builder commented 1 year ago

Fixed by #35087