Git Product home page Git Product logo

Comments (9)

altendky avatar altendky commented on July 26, 2024

Thanks for the feedback. I'll try to get that straightened out. Do you have a full traceback to share in case it is any extra help to me?

from pyqt-tools.

altendky avatar altendky commented on July 26, 2024

Also, what were you running? And what version of Windows?

from pyqt-tools.

amryounis avatar amryounis commented on July 26, 2024

Hi, thank you for the reply.

I installed MS VC++ redist for Windows which solved this issue (this requirement was not mentioned anywhere)

after that if I try to launch designer.exe as advised by many online tutorials (C:...\PycharmProjects...\venv\Lib\site-packages\pyqt5_tools\Qt\bin) I receive an error message that "the application failed to start because no Qt plugin could be initialized"

After some search I came to know that I have to start pyqt5designer.exe from (C:...\PycharmProjects...\venv\Scripts). also this was not mentioned anywhere

from pyqt-tools.

altendky avatar altendky commented on July 26, 2024

At present it is supposed to get the redist from the PyQt5 installation. Can you link the tutorials that say to run from Qt/bin? That's really old. The readme does refer to Scripts/pyqt5designer.exe, but sure, it could be more explicit and refer to the other programs too. It also needs to be updated to describe Linux (and macOS) directories which annoyingly Python makes different on different platforms.

from pyqt-tools.

amryounis avatar amryounis commented on July 26, 2024

thank you...

I am referring to this tutorial: https://morioh.com/p/7fd512fef7d7
but googling the subject will lead you to similar ones as well.

I consulted project web page: https://pypi.org/project/pyqt5-tools/. The page says nothing about MSVC++ redist. also it directs me to launch Scripts\designer.exe.

I again consulted https://github.com/altendky/pyqt5-tools, with the same.

for fairness, I later found that the same two pages mentioned that I need to launch Scripts\pyqt5designer.exe, but this comes later on which meant I needed to go through the pages to the end.

from pyqt-tools.

altendky avatar altendky commented on July 26, 2024

As mentioned, you should not need to install the redist. The previous builds included it themselves. The new builds use the pyqt5 provided redist files. If you launch correctly...

Yes, the readme ought to be improved. Yes, you do have to read it instead of running random files down in site-libs. :]

I'll keep this open until I improve the readme or create other explicit tickets for those steps. If you would be willing to dig up the other links to outdated tutorials I can write up a message and contact all the authors.

from pyqt-tools.

amryounis avatar amryounis commented on July 26, 2024

thank you for your keen follow up. Surely I can try to update this issue with any similar encounters

from pyqt-tools.

stonebig avatar stonebig commented on July 26, 2024

maybe could you use Cgohlke wheel as a dependency on Windows ?

https://www.lfd.uci.edu/~gohlke/pythonlibs/#msvc_runtime

or

https://pypi.org/project/msvc-runtime/

from pyqt-tools.

altendky avatar altendky commented on July 26, 2024

Just cleaning up old issues here. If there is still a similar issue on the latest releases from today, please open a new issue with details.

from pyqt-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.