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. Platform not recognised by one appl on same machine
Qt 6.11 is out! See what's new in the release blog

Platform not recognised by one appl on same machine

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 748 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.
  • G Offline
    G Offline
    gkavrecic
    wrote on last edited by
    #1

    I've tried to move own 2 apps to an Windows 2008 (not R2) server.

    facts:

    • both appls work on other machines (2008 R2, 2012)
    • both compiled on same machine with same kit: Qt 5.10, commercial license, mingw 5.3, 32bit
    • APPL1 works
    • APPL2 complains about not finding the "windows" plugin
    • no QT_PLUGIN_PATH on the machine

    tried:

    • unifying DLLs - same issue
    • copied APPL2 exe in APPL1 folder - same issue
    • APPL1 in folder 2 works

    Any advice?

    jsulmJ JonBJ 2 Replies Last reply
    0
    • G gkavrecic

      I've tried to move own 2 apps to an Windows 2008 (not R2) server.

      facts:

      • both appls work on other machines (2008 R2, 2012)
      • both compiled on same machine with same kit: Qt 5.10, commercial license, mingw 5.3, 32bit
      • APPL1 works
      • APPL2 complains about not finding the "windows" plugin
      • no QT_PLUGIN_PATH on the machine

      tried:

      • unifying DLLs - same issue
      • copied APPL2 exe in APPL1 folder - same issue
      • APPL1 in folder 2 works

      Any advice?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @gkavrecic Did you deploy your apps before moving? See https://doc.qt.io/qt-5/windows-deployment.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      G 1 Reply Last reply
      0
      • G gkavrecic

        I've tried to move own 2 apps to an Windows 2008 (not R2) server.

        facts:

        • both appls work on other machines (2008 R2, 2012)
        • both compiled on same machine with same kit: Qt 5.10, commercial license, mingw 5.3, 32bit
        • APPL1 works
        • APPL2 complains about not finding the "windows" plugin
        • no QT_PLUGIN_PATH on the machine

        tried:

        • unifying DLLs - same issue
        • copied APPL2 exe in APPL1 folder - same issue
        • APPL1 in folder 2 works

        Any advice?

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @gkavrecic
        I don't know if there is something special about "the "windows" plugin", but the usual way of diagnosing plugin issue is to set environment variable set QT_DEBUG_PLUGINS=1 and then run your executable to see diagnostic output. However for Windows possibly read through https://forum.qt.io/topic/41943/platform-plugin-windows, I don't know.

        G 1 Reply Last reply
        1
        • jsulmJ jsulm

          @gkavrecic Did you deploy your apps before moving? See https://doc.qt.io/qt-5/windows-deployment.html

          G Offline
          G Offline
          gkavrecic
          wrote on last edited by
          #4

          @jsulm I did used the windeployqt, but it gave me wrong files - e.g. an outdated libstdc++6.dll
          So I copied manually what was working elsewhere.

          G 1 Reply Last reply
          0
          • JonBJ JonB

            @gkavrecic
            I don't know if there is something special about "the "windows" plugin", but the usual way of diagnosing plugin issue is to set environment variable set QT_DEBUG_PLUGINS=1 and then run your executable to see diagnostic output. However for Windows possibly read through https://forum.qt.io/topic/41943/platform-plugin-windows, I don't know.

            G Offline
            G Offline
            gkavrecic
            wrote on last edited by
            #5

            @JonB from the debug I can see that it finds the DLL, it contains the metadata asQWindowsIntegrationPlugin, and can't find the procedure ""!

            1 Reply Last reply
            0
            • G gkavrecic

              @jsulm I did used the windeployqt, but it gave me wrong files - e.g. an outdated libstdc++6.dll
              So I copied manually what was working elsewhere.

              G Offline
              G Offline
              gkavrecic
              wrote on last edited by gkavrecic
              #6

              @gkavrecic said in Platform not recognised by one appl on same machine:

              @jsulm I did used the windeployqt, but it gave me wrong files - e.g. an outdated libstdc++6.dll
              So I copied manually what was working elsewhere.

              On top of this: the copied DLL was not from the actual bin folder, not even from any QT kit or Windows folders, but from another project (which is contained in the PATH)

              edit: libstdc++-6.dll, libgcc_s_dw2-1.dll, libgcc_s_sjlj-1.dll are all taken from PATH and not from actual compiler folder.
              I would consider this a bug.

              Even after copying DLLs from the actual MinGW bin folder the error is still the same

              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