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. Qt platform plug-in missing
Qt 6.11 is out! See what's new in the release blog

Qt platform plug-in missing

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 679 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
    aloknj
    wrote on last edited by aloknj
    #1

    I am trying to use new software but each time I try to open it up ,I get a message saying that no Qt platform plug-in could be initialized..
    what is this ,where do I get it ?
    Everything else on my PC works OK. I am using Windows 10.
    The software was written by a person , software has to do with radio hobby related things. There are Qt commands in the software.

    JKSHJ 1 Reply Last reply
    0
    • Cobra91151C Offline
      Cobra91151C Offline
      Cobra91151
      wrote on last edited by Cobra91151
      #2

      Hello!

      It could be this issue: https://forum.qt.io/topic/101157/no-qt-platform-plugin-could-be-initialized
      Your application is QML or Widgets?

      You can try my solution for Qt Widgets application. Add the code below to your project .pro file for your app, then click Clean, Run qmake, Build:

      Widgets app:

      QMAKE_POST_LINK = $$(QTDIR)/bin/windeployqt.exe $$shell_quote($$DESTDIR/$$shell_quote($$TARGET).exe) --no-compiler-runtime
      

      QML app:

      QMAKE_POST_LINK = $$(QTDIR)/bin/windeployqt.exe $$shell_quote($$DESTDIR/$$shell_quote($$TARGET).exe) --qmldir $$shell_quote($$(QTDIR)/qml) --no-compiler-runtime
      

      Also, check out the documentation for windeployqt: https://doc.qt.io/qt-5/windows-deployment.html

      1 Reply Last reply
      1
      • A aloknj

        I am trying to use new software but each time I try to open it up ,I get a message saying that no Qt platform plug-in could be initialized..
        what is this ,where do I get it ?
        Everything else on my PC works OK. I am using Windows 10.
        The software was written by a person , software has to do with radio hobby related things. There are Qt commands in the software.

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        Hi, and welcome!

        @aloknj said in Qt platform plug-in missing:

        I am trying to use new software

        Where did you get the software from?

        but each time I try to open it up ,I get a message saying that no Qt platform plug-in could be initialized..
        what is this ,where do I get it ?

        This message is telling you that a Qt DLL could not be loaded correctly. However, we don't have enough information to tell you why your software failed to load the DLL.

        The software was written by a person , software has to do with radio hobby related things. There are Qt commands in the software.

        Can you contact this person? They should know how to fix the problem.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0

        • Login

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