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.qpa.plugin error suddenly occurs after I remove Qt backup folder.
Forum Updated to NodeBB v4.3 + New Features

qt.qpa.plugin error suddenly occurs after I remove Qt backup folder.

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 2 Posters 1.5k Views
  • 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
    Aaron Kim
    wrote on 6 Dec 2018, 02:46 last edited by Aaron Kim 12 Jun 2018, 02:47
    #1

    Recently I struggled with correctly installing Qt again.
    In this post, I managed to solve it by copying all the dlls which were correctly installed from the folder which was installed with offline installer (I'll call it "backup folder")
    So, there were two folders, one was installed with online installer, and the latter one was done with offline one.
    It seems that these two folders have no connection at all. So, I deleted the backup folder and I suddenly got the following error.

    qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

    It is quite disconcerting that the original one (online-installed) is affected by the backup one(offline-installed).
    What can be the problem?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dheerendra
      Qt Champions 2022
      wrote on 6 Dec 2018, 02:49 last edited by
      #2

      It is possible that your knowledget something else was working. Can you check the directory <QtInstall>/plugins/platform ? Does this exist ? Does it have windows.dll ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      A 1 Reply Last reply 6 Dec 2018, 03:00
      0
      • A Offline
        A Offline
        Aaron Kim
        wrote on 6 Dec 2018, 03:00 last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • D dheerendra
          6 Dec 2018, 02:49

          It is possible that your knowledget something else was working. Can you check the directory <QtInstall>/plugins/platform ? Does this exist ? Does it have windows.dll ?

          A Offline
          A Offline
          Aaron Kim
          wrote on 6 Dec 2018, 03:00 last edited by
          #4

          @dheerendra Do you mean qwindows.dll & qwindowsd.dll? Or just windows.dll?
          If you mean the latter one, it does not exist.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dheerendra
            Qt Champions 2022
            wrote on 6 Dec 2018, 03:44 last edited by
            #5

            qwindows.dll & qwindowsd.dll in plugin directory ?

            Dheerendra
            @Community Service
            Certified Qt Specialist
            http://www.pthinks.com

            A 1 Reply Last reply 6 Dec 2018, 04:56
            0
            • D dheerendra
              6 Dec 2018, 03:44

              qwindows.dll & qwindowsd.dll in plugin directory ?

              A Offline
              A Offline
              Aaron Kim
              wrote on 6 Dec 2018, 04:56 last edited by
              #6

              @dheerendra In Qt/5.11.3/mingw53_32/plugins/platforms

              1 Reply Last reply
              0
              • D Offline
                D Offline
                dheerendra
                Qt Champions 2022
                wrote on 6 Dec 2018, 05:02 last edited by
                #7

                Ok.You have qwindows.dll & qwindowsd.dll in Qt/5.11.3/mingw53_32/plugins/platforms. Did you copy these from different installation ?

                Dheerendra
                @Community Service
                Certified Qt Specialist
                http://www.pthinks.com

                A 1 Reply Last reply 6 Dec 2018, 08:04
                0
                • D dheerendra
                  6 Dec 2018, 05:02

                  Ok.You have qwindows.dll & qwindowsd.dll in Qt/5.11.3/mingw53_32/plugins/platforms. Did you copy these from different installation ?

                  A Offline
                  A Offline
                  Aaron Kim
                  wrote on 6 Dec 2018, 08:04 last edited by
                  #8

                  @dheerendra Maybe that would be the reason. I just installed the new one and it works. Thanks!

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    dheerendra
                    Qt Champions 2022
                    wrote on 6 Dec 2018, 08:07 last edited by
                    #9

                    This is what I was suspecting. Since you copied from smoother place(which I knew), it caused the issue. Enjoy the Qt coding.

                    Dheerendra
                    @Community Service
                    Certified Qt Specialist
                    http://www.pthinks.com

                    1 Reply Last reply
                    0

                    9/9

                    6 Dec 2018, 08:07

                    • Login

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