Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] Different Qt5Core.dll's 5.0.0.0, oh god why!

[SOLVED] Different Qt5Core.dll's 5.0.0.0, oh god why!

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 3 Posters 5.4k 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.
  • R Offline
    R Offline
    RaubTieR
    wrote on last edited by
    #1

    UPD: got this working, we added "platforms" directory to a package, it contains qminimal.dll and qwindows.dll. Automation question is still actual, never the less.

    We have a deployment issue: application package doesn't work on other PC. The package is made from all the libraries that were required to run app in separate folder from explorer.exe interface. The libs were taken from Qt5 installation folder (I:\Qt\Qt5.0.0\5.0.0\msvc2010\bin in that case).

    We figured out, however that the only difference is Qt5Core DLL libraries. In other words, My package works on friends PC when he replaces my Qt5Core.dll with the one from his Qt installation. Those 2 dlls have different CRC, and here !http://s018.radikal.ru/i503/1304/78/1b437a7d947c.png(comparison picture)! you can see that dlls somehow store the path they were installed in. Since our paths are different, application refuses to work at all. NO ERRORS! It just swallows all the clicks and no process gets launched. This is really annoying behavior.

    How does one deploy Qt5 applications now? How can I make sure my app will work on other, yet same platform PC (both win7 Ultimate sp1 x64)? Any deployment automation out there?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      The "deployment":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html documentation explains what libraries you need to put besides your application.

      As for automation on windows, it depends on the build system/package creator you use

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • R Offline
        R Offline
        RaubTieR
        wrote on last edited by
        #3

        Thank you for a useful link.
        I always have imagined deployment automation tool like some kind of setup-maker (crossplatform app, like QtCreator but Deployer). It would allow user to pull in resource files (images, data, etc.) and offer a good help automatically analizing dependencies and taking Qt dlls from its installation path.
        Maybe something is already around? I don't mean any console magic, for sure it has to have an intuitive window interface like QtCreator does...

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          You're welcome !

          I almost forgot, for the cross-platform setup-maker there's "Qt Installer Framework":http://doc-snapshot.qt-project.org/qtifw-1.3/index.html in the making

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • A Offline
            A Offline
            A.E72
            wrote on last edited by
            #5

            hello!
            i didn't get how we could fix it ? thankx in advance.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi,

              What couldn't you fix ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • A Offline
                A Offline
                A.E72
                wrote on last edited by
                #7

                hello!
                My problem is that i create an installer in a sparate machine and i ship with it the ddl (i develop the app on my machine). when i try to use it, i didn't work. But when i remove Qt5core.dll and relpace it with mine it works. Second problem on a friend computer he don't qt5.0.2 and solution doesn't work.
                I'm using bitrock to creat the installer, I hope that my problem is clear. Thank you in advance.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  A.E72
                  wrote on last edited by
                  #8

                  Hi again!
                  i did resolve the problem by include platforms folder(C:\Qt\Qt5.0.2\5.0.2\mingw47_32\plugins\platforms) and it works!! and you could just copy qminimal.dll and qwindows.dll the others are for debug.

                  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