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

Could not find Qt platform plugin "windows" in "C:\Program Files\GNURadio-3.8\bin\\plugins\platforms" #48

Closed
WA1CYB opened this issue Jul 19, 2020 · 8 comments

Comments

@WA1CYB
Copy link

WA1CYB commented Jul 19, 2020

Installed 3.8.1 without issues
Ran GRC
Loaded a QT frequency sink in a flowgraph
Received this error message:
qt.qpa.plugin: Could not find Qt platform plugin "windows" in "C:\Program Files\GNURadio-3.8\bin\plugins\platforms"
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Done (return code -1073740791)

Is the \plugins\platforms meant to be a UNC Network path?

@gnieboer
Copy link
Owner

Sorry, I could not duplicate.
That directory should exist, having been created during install, not a UNC path.
There should be a file in that directory called "qwindows.dll". Does that exist?

@WA1CYB
Copy link
Author

WA1CYB commented Jul 23, 2020 via email

@gnieboer
Copy link
Owner

Well, you can remove the / before /plugins in the run_gr.bat file, but that really shouldn't be having an effect. Windows ignores the extra slashes when it finds them (enter cd c:\windows\\system to confirm).

Those are the correct DLL's, so that part is good.

Let me know if the slash removal works.

@fksms
Copy link

fksms commented Aug 9, 2020

The problem can be avoided by editing "C:\Program Files\GNURadio-3.8\bin\run_gr.bat".

"set QT_QPA_PLATFORM_PLUGIN_PATH=%~dp0\platforms"
"set QT_PLUGIN_PATH=%~dp0..\plugins"

Please change as above and save.
It should work correctly.

I made a pull request to solve this problem.
See #49.

@JochemsMatz
Copy link

I can confirm that this fix worked for me with GNU RC 3.8.1.0 under Windows 10.

@busycraftsman
Copy link

I have the same problem, I solved this problem by create a plugins folder in ".\GNURadio-3.8\bin", and move the platforms folder into the plugins folder.

I think this is a wrong package script cause this problem.

@gnieboer
Copy link
Owner

A new windows installer for 3.8.2 has been released here that sorts this path issue out.

If further issues are discovered, please open a new issue (as it should be a different root cause)

@AhmedKAwwad
Copy link

AhmedKAwwad commented Feb 28, 2021

The problem can be avoided by editing "C:\Program Files\GNURadio-3.8\bin\run_gr.bat".

"set QT_QPA_PLATFORM_PLUGIN_PATH=%~dp0\platforms"
"set QT_PLUGIN_PATH=%~dp0..\plugins"

Please change as above and save.
It should work correctly.

I made a pull request to solve this problem.
See #49.

Actually worked for me Thanks a lot

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

No branches or pull requests

6 participants