Get the full Qt experience with a licensing plan designed to support your business goals plus access to the official Qt Support Helpdesk and a close strategic relationship with The Qt Company. Buy Qt Now Contact us. New to Qt and want to try before you buy? Download a free trial of the Qt framework, tools for desktop, and embedded development on MCUs and MPUs, plus other enterprise add-ons.
Find them in the Qt account licensing portal or through the Maintenance tool in your Qt installation directory. View Qt product map. Download extensions and add-ons to tailor your Qt setup to the exact needs of your project from the all-new Qt Marketplace.
Buy Qt Get the full Qt experience with a licensing plan designed to support your business goals plus access to the official Qt Support Helpdesk and a close strategic relationship with The Qt Company.
Try Qt New to Qt and want to try before you buy? Existing customers Find them in the Qt account licensing portal or through the Maintenance tool in your Qt installation directory. Qt Extensions Download extensions and add-ons to tailor your Qt setup to the exact needs of your project from the all-new Qt Marketplace. Browse Qt Marketplace.
Platform Requirements Qt: 5. Will I indeed need to move to Qt 5. Am I whistling in the wind hoping PySide 2 would work with my current Qt? Do I have to do PySide2 via pip3?
I tried pip3 installing of stuff in the past Qt? But I'll have to try again with pip3 if that's the way to go. Anyone with any experience of this? What steps did you follow to get your PySide 2 all working under Linux, please? The long and the short was this is a PyCharm issue as discovered by my raising a query there.
That in itself worked. However, unfortunately it has left me stuck whereby once I have PySide2 installed existing PyQt5 projects which I have can no longer be run under the debugger because of it finding some PySide2 stuff even though the projects do not use PySide2 at all. You could create a virtual machine under which you use PySide2 and use PyQt under a different virtual machine or you base machine if you need to be using PySide2 for some licensing reason.
Given this, I am quite unsure who needs the venvmaybe it's just the PyCharm environment, goodness knows. Sigh :. Just a side note, you might want to consider using virutalenv when dealing with your python projects. I have been pulling my hair out over that for 24 hours, and I have literally just discovered the cause am about to post there. And guess what it turns out to be? Surprise, surprise, it's precisely because the virtual environment I have had to create using scripts supplied which are supposed to be "robust" there does not work correctly I have avoided venvs precisely because I do not trust them to get things right, and when they do not it is so difficult to debug and figure out just what is going on.
Until now I have always done things system-wide, and have never had the problems venvs introduce. Yes, I do realise they are a necessary evil, and produce other benefits. But IMHO they are not tested enough against installed systems other than what the authors "expect", and confirm my expectations that they can introduce more obscure errors than they solve I did not say it was a perfect solution, just one to consider.
There's also conda, using docker, etc. My suggestion was mainly so you could keep PySide2 and PyQt in two different environnements even though you should be able to have both at the same time. There are even several packages that provide a thin layer so you can keep a common import set and select the implementation to use on startup.
SGaist It is actually conda that I am using now in another project. And it turns out somewhere it and my separate install of PySide2 are interfering. But that's all in the other thread.
For there and here, my concern is wanting to be able to test situations end users might have. I might set up separate virtual environments, but a user may have Qt or PyQt or PySide2 installed system- or user-wide, and I want to test that.
As you say, I am learning that if you can keep all these things separate via virtual environments it may play better. For this thread the matter is closed, since it was known PyCharm issue.
Just read it. There's indeed something a bit fishy going on there. I'll continue on this other thread. Qt Forum.Keep in touch and stay productive with Teams and Officeeven when you're working remotely. Learn More.
Learn how to collaborate with Office Tech support scams are an industry-wide issue where scammers trick you into paying for unnecessary technical support services.
You can help protect yourself from scammers by verifying that the contact is a Microsoft Agent or Microsoft Employee and that the phone number is an official Microsoft global customer service number. Disclaimer: Using Third Party Software, including hardware drivers can cause serious problems that may prevent your computer from booting properly. Microsoft cannot guarantee that any problems resulting from the use of Third Party Software can be solved.
Using Third Party Software is at your own risk. I hope this helps you. If you have any further queries, feel free to contact us. We will be happy to help you. Did this solve your problem? Yes No. Sorry this didn't help. April 7, Keep in touch and stay productive with Teams and Officeeven when you're working remotely. Site Feedback.
Subscribe to RSS
Tell us about your experience with our site. PatriciaWatt Created on July 10, I purchased a Fix it Stick for getting rid of viruses.
It worked, but now does not and tells me the Qt platform plugin "Windows" needs to be reinstalled. How do I reinstall it? This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread. I have the same question User Replied on July 10, Thank you. Thanks for marking this as the answer. How satisfied are you with this reply? Thanks for your feedback, it helps us improve the site.
The dark mode beta is finally here. Change your preferences any time. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. Or is there another way I've missed? The closest thing to a solution I could find so far is Alex Martelli's answer to a similar question.
Although it looks like it would work I'd rather use an official Qt approach to avoid any cross-platform issues. If you want to support Python plugins your best bet would be to use one of the many pure python plugin systems out there. YAPSY is a very simple, compact plugin module. It's very easy to include directly in your app as it's a single file, and is BSD licensed so you can use it commercially. Just search for it on Google. I was even able to package my app using py2exe and still retain the ability to import python source file plugins from a plugin directory.
Learn more. How to develop a PySide application plugin? Ask Question. Asked 8 years, 2 months ago. Active 8 years, 2 months ago. Viewed times. As I understand it Qt provides 2 main plugin mechanisms: Plugins that extend Qt "Qt Extensions" Plugins that extend applications developed with Qt I'm interested in developing plugins for my application 2.
Update: The closest thing to a solution I could find so far is Alex Martelli's answer to a similar question. Active Oldest Votes.
Simon Hibbs Simon Hibbs 4, 2 2 gold badges 21 21 silver badges 30 30 bronze badges. I've been reading about it and found a good tutorial using PyQt lateral. Sign up or log in Sign up using Google.
For those who could face the same issue and didn't solve by reinstalling libxcb: in my case the message was the same but it was caused by apps inside lxc unabling to open display, so, try to run another GUI app like xclock. What is lxc? And why to run another GUI app? I really didn't understand what you did to fix this problem. I met the same error as yours, and I cannot solve it after using several methods.
Can you tell me how to fix it more clearly? I'm new to geant4, so I cannot understand what you have said.
Thank you! Hi I faced this problem and I got a new version of linuxdeployqt and now that error is gone. Qt Forum. This topic has been deleted. Only users with topic management privileges can see it.
Subscribe to RSS
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb. Any idea what is going on?
Thank you and best regards. Reply Quote 0 1 Reply Last reply. Reply Quote 1 1 Reply Last reply. Best regards. HI, Did you run ldd on your libraries and libxcb-xinerama versions? Hi Do you mean something like this? You should try installing the corresponding dev packages on your system. Packages 1 libxcb I own you really big beer :- SGaist there is no such thing on manjaro or archlinux which manjaro is baseed on.
DevAlone qt. Could you explain a little better what was your problem and how did you fix it? Best Wishes, jcren.
Packaging PySide applications on Windows
Loading More Posts 12 Posts. Reply Reply as topic.GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account. Hello, I've been using Anaconda on Windows 10 for the past few months. However, today I tried launching the program and got the following error:.
I read around about doing 'conda update -all' in cmd, however it didn't work for me, neither reinstalling Anaconda. This seems to be a common problem, however I can't seem to find a straightforward solution online, what can I do? Also, you say you have done conda update --allbut your Qt version states 5.
Last week we released version 5.
The recent Anaconda I got this after my first ever install of 4. I opened Anaconda Prompt tried conda update qt as above and it complained it wasn't installed. So I tried conda install qt and it worked. I can now open the Navigator. I'll stay on that version until the bug is fixed, or change my username to a non ASCII name easier said than done. Seconding the results from Staplegun above. Same problem here with conda 4.
Opening Anaconda prompt and running conda update qt yielded a PackageNotFoundError but conda install qt solved it and I can run Navigator now.
I installed Anaconda It has fixes for both the accented character and also for install locations longer than 30 characters.
It is only a Miniconda though you can just conda install anaconda afterwards to make it an Anacondaand only the Python3 version works well in my testing at present.
It's very tricky to write non-ASCII-correct Python2 code, and even if we fix our own software condaconda-buildmenuinst etc then the software that our users subsequently install into that installation will often not work correctly, so I'm a bit torn about what to do about that. My current opinion is that the safest thing to do is to advise people who want to do this not to use Python2, but I'd like to get a better understanding of how much stuff is broken first.
It worked for me, thanks Serkan It does not work to me Serkan Any other guidelines? Same problem, Serkan72 solved the issue for me, too. Anaconda has got no rights to access the internet here at work - perhaps this is a part of the problem? I got same issue and I did conda update --all, in Anaconda prompt, this solved the issue in my case.GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Have a question about this project?
Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Already on GitHub? Sign in to your account. Having encountered the problem in the past, I could solve it by appending the plugins by hand like this:. However this produces the same error. The odd thing is that it says it can't load the plugin, and then lists the plugin as one of the available ones.
Maybe a permission issue? Yet permissions on the files are unlocked and even replacing it with the source original from the Qt installation yields the same results. Removing the plugin from the directory correctly removes it from plugins found. So there must be something within this directory which is requited by PyQt5.
But copying the entire contents into the PyQt5 Python library directory yields no better results. Thanks The-CompilerI'll have a look at that tonight. You're thinking of just putting it in the root PyQt5 Python library directory?
I'm afraid I have no idea what to do with it and I don't know anything about putting C projects on PyPI at allbut that's where I remember the message from with windows being listed in the available platforms as well. The Riverbank distribution ships with a qt. The above was reported by davidmartinezanim on a Windows 7 machine, running Python 2. I am having the same error with Python 2. I just freshly installed. Looking through the qt forums this is a problem for qt apps too.
I have read that the app needs to have qt. I'll check this later today or tomorrow. Well, I have a similar but slightly different problem.
The windows platform option or any option for that matter doesn't show up at all. Interestingly, your above method of adding the os. Very weird. If you do, have a go with this to see if it changes anything. I installed from Github. I actually followed the steps you are pointing to, and I still got the error.