Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows, 64-bit: for some users Plugins don't work at all #128

Closed
Jojo-Schmitz opened this issue Jun 11, 2023 · 11 comments
Closed

Windows, 64-bit: for some users Plugins don't work at all #128

Jojo-Schmitz opened this issue Jun 11, 2023 · 11 comments
Labels

Comments

@Jojo-Schmitz
Copy link
Owner

Jojo-Schmitz commented Jun 11, 2023

Issue type

Other type of issue

Bug description

Plugins using QtQuick (import QtQuick 2.2 or the like, like almost all plugins do) fail to load in the 64-bit version for Windows (which uses Qt 5.15.2) for some users (not for me though)

Steps to reproduce

  1. Open plugin manager
  2. See it not showing any plugin to activate

OR

  1. Open plugin creator
  2. File > New
  3. Run
  4. Running…
    Creating component failed
    line 1: plugin cannot be loaded for module "QtQuick": Cannot load library (PathToInstallDir)\MuseScore-3.7.0.(BuildNumber)-x86_64\qml\QtQuick.2\qtquick2plugin.dll: the specified module could not be found.
  5. Check in Explorer: that dll does exist at that place

Screenshots/Screen recordings

No response

MuseScore Version

3.7

Regression

Yes, this used to work in MuseScore 3.x and now is broken

Operating system

Windows

Additional context

See https://musescore.org/en/node/342126#comment-1172480 ff. and https://musescore.org/en/node/351021

With the 32-bit version of MuseScore (which uses Qt 5.9.9) plugins work.
64-bit Windows can run 32-bit applications.

@Johan-v
Copy link

Johan-v commented Jul 1, 2023

Any hope this will get fixed?

@Jojo-Schmitz
Copy link
Owner Author

Jojo-Schmitz commented Jul 1, 2023

I don't like the idea to have the 64bit Windows version also to fall back to Qt 5.9, and haven't yet found the real reason for the issue.

But using the 32bit version seems an easy workaround.

@Johan-v
Copy link

Johan-v commented Jul 1, 2023 via email

@Jojo-Schmitz
Copy link
Owner Author

Sorry, I don't get that. Yes, if you have the 32-bit version and the 64-bit version, they do share their settings and no, it is not possible to separate that, but you'd really need only one.
Anyway, even with having both, this should not have any influence on the Plugins, other that the same plugin works in 32-bit but doesn't in 64-bit

@Johan-v
Copy link

Johan-v commented Jul 1, 2023

This is a bit difficult to explain.

I have many plugins in the plugin folder
But not all are ticked in the pluginmanager
Everything is fine in 32 bit.

Now loading 64bit
Start the pluginmanager
The plugins are also ticked in the 64bit pluginmanager but they are not available.
There is a button reload plugsins in the pluginmanager
If I tick that in the 64bit pluginmanager the plugins become unticked.

When I start 32bit version after doing that the plugins are also inticked in 32 bit.

Where is the config file for the ticked plugins for the pluginmanager stored in windows?
Maybe I can first save a copy before messing in 64bit.

@Jojo-Schmitz
Copy link
Owner Author

Jojo-Schmitz commented Jul 1, 2023

Ah, I see, it is whether a plugin is enabled or not.
But as far as I'm aware for those users where plugins in the 64-bit version don't work, none of them works, so no need to tamper with the settings to reload or enable them, in the 64-bit version, or is it?

The settings file is %LOCALAPPDATA%/MuseScore3development/plugins.xml

@Johan-v
Copy link

Johan-v commented Jul 1, 2023

Now I see.
The 64bit version does delete all entries in plugins.xml after the reload plugins button has been ticked.

@Jojo-Schmitz
Copy link
Owner Author

Don't do this then 😉

@Jojo-Schmitz
Copy link
Owner Author

See also #140, I believe it has the same underlying cause.

@Jojo-Schmitz
Copy link
Owner Author

I might have nailed it, see #149

@Jojo-Schmitz
Copy link
Owner Author

Fixed via #149

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants