Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. this application failed to start because it could not find or load the qt platform plugin "windows" in "".

this application failed to start because it could not find or load the qt platform plugin "windows" in "".

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 2.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Athul
    wrote on last edited by Athul
    #1

    Hello,

    I'm not a software developer. As part of a project I'm devloping a Liquid dispensing machine. Which requires Gcodes to control it's movement. I was manually sending Gcodes to the machine to move it to required position and dispense liquid. To avoid manually entering gcode, I decided to write GUI. I have not written a software before, I only have intermediate knowledge in C. So I attended a UDEMY course on python and with the help of google and other sources I developed GUI using pyQT5. I use sublime text editor for developing python code and QT eidget for developing GUI. Python is installed by installing Anaconda. Written python code generate gcodes based on the parameter that I give. So far everything looks good. But when I tried to convert .py to .exe by referring some youtube videos using pyinstaller, it created .exe file, but when I tried to run it it gives me following error 0_1551425625056_1.PNG

    I have searched same topics in this forum and these are the things I did so far.
    0_1551425699538_2.PNG

    Python version : 3.6.5

    raven-worxR 1 Reply Last reply
    0
    • A Athul

      Hello,

      I'm not a software developer. As part of a project I'm devloping a Liquid dispensing machine. Which requires Gcodes to control it's movement. I was manually sending Gcodes to the machine to move it to required position and dispense liquid. To avoid manually entering gcode, I decided to write GUI. I have not written a software before, I only have intermediate knowledge in C. So I attended a UDEMY course on python and with the help of google and other sources I developed GUI using pyQT5. I use sublime text editor for developing python code and QT eidget for developing GUI. Python is installed by installing Anaconda. Written python code generate gcodes based on the parameter that I give. So far everything looks good. But when I tried to convert .py to .exe by referring some youtube videos using pyinstaller, it created .exe file, but when I tried to run it it gives me following error 0_1551425625056_1.PNG

      I have searched same topics in this forum and these are the things I did so far.
      0_1551425699538_2.PNG

      Python version : 3.6.5

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @Athul
      even though you are using pyqt, the cause for the error message is always the same and has been asked a million times already. Basically its just a matter of copy the required libraries next to your application or set some env variables:
      https://doc.qt.io/qt-5/windows-deployment.html

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved