Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Platform not recognised by one appl on same machine

    General and Desktop
    3
    6
    171
    Loading More Posts
    • 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
      gkavrecic last edited by

      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?

      jsulm JonB 2 Replies Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @gkavrecic last edited by

        @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 Reply Quote 0
        • JonB
          JonB @gkavrecic last edited by

          @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 Reply Quote 1
          • G
            gkavrecic @jsulm last edited by

            @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 Reply Quote 0
            • G
              gkavrecic @JonB last edited by

              @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 Reply Quote 0
              • G
                gkavrecic @gkavrecic last edited by gkavrecic

                @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 Reply Quote 0
                • First post
                  Last post