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. Error in QT5core.dll

Error in QT5core.dll

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 6 Posters 3.8k 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.
  • M Offline
    M Offline
    manuntn08
    wrote on 19 Mar 2018, 14:54 last edited by
    #1

    Hi everyone,

    In fact, we have been developping a project lately. In the first time, we developed with QT4 and VS 2008 , and each time, we release a new version, we put .exe file plus .dll files necessary into a folder to run on the server, everything was ok.
    Next, we have been changed to use Qt5 vs VS 2015. We tested the functionality of the project in local, everything was fine. And we put all of them( .exe file with .dll files of QT5) on server for clients to use. The problem is here that the project works perfectly in my PC and certains PC, but some others PCs can run project but it missed some functions in the Qt5core.dll, and if i re-copy the .dll files on server, some PCs works well, some others don't.
    It means that with the same project(QT5+ VS2015) on the server, some PC works well, some others don't even i tried to change .dll files so many times. And i'm sure that we all use the same type of OS, PC 64 bits.....
    I really appreciate your helps, your advices,

    Many thanks in advance,

    1 Reply Last reply
    0
    • O Offline
      O Offline
      ollarch
      wrote on 19 Mar 2018, 14:58 last edited by
      #2

      I recommend you to use Dependecy Walker. This softare will show you the DLLs linked to your project and you can see if there is any missing lib. Use the 32 o 64 bit of the application depending on your destination architecture.
      Execute Dependency Walker on the PC that you are having problems.

      M D 2 Replies Last reply 19 Mar 2018, 15:49
      1
      • V Offline
        V Offline
        VRonin
        wrote on 19 Mar 2018, 15:12 last edited by
        #3

        http://doc.qt.io/qt-5/windows-deployment.html#the-windows-deployment-tool

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        3
        • O ollarch
          19 Mar 2018, 14:58

          I recommend you to use Dependecy Walker. This softare will show you the DLLs linked to your project and you can see if there is any missing lib. Use the 32 o 64 bit of the application depending on your destination architecture.
          Execute Dependency Walker on the PC that you are having problems.

          M Offline
          M Offline
          manuntn08
          wrote on 19 Mar 2018, 15:49 last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • H Offline
            H Offline
            hskoglund
            wrote on 19 Mar 2018, 21:56 last edited by
            #5

            Hi, I've seen this behavior as well, not with MSVC2013, but starting with MSVC2015 and MSVC2017. On this misbehaving computers I've solved it by installing the MSVC2015 redistributable, i.e. just copying in msvcp140.dll, ucrtbase.dll and vcrun140.dll together with the .exe file was not sufficient.

            1 Reply Last reply
            0
            • O ollarch
              19 Mar 2018, 14:58

              I recommend you to use Dependecy Walker. This softare will show you the DLLs linked to your project and you can see if there is any missing lib. Use the 32 o 64 bit of the application depending on your destination architecture.
              Execute Dependency Walker on the PC that you are having problems.

              D Offline
              D Offline
              Diracsbracket
              wrote on 20 Mar 2018, 05:48 last edited by
              #6

              @ollarch said in Error in QT5core.dll:

              I recommend you to use Dependecy Walker

              Since Dependency Walker has not been updated/maintained for some time now, you can also use Dependencies instead
              https://github.com/lucasg/Dependencies
              which is an open source rewrite of Dependency Walker. It works great.

              O 1 Reply Last reply 20 Mar 2018, 08:50
              0
              • D Diracsbracket
                20 Mar 2018, 05:48

                @ollarch said in Error in QT5core.dll:

                I recommend you to use Dependecy Walker

                Since Dependency Walker has not been updated/maintained for some time now, you can also use Dependencies instead
                https://github.com/lucasg/Dependencies
                which is an open source rewrite of Dependency Walker. It works great.

                O Offline
                O Offline
                ollarch
                wrote on 20 Mar 2018, 08:50 last edited by
                #7

                @Diracsbracket I've been using Dependency Walker for 10 years with no problem but getting a new version is always good news.

                1 Reply Last reply
                1
                • M Offline
                  M Offline
                  manuntn08
                  wrote on 20 Mar 2018, 09:14 last edited by
                  #8

                  Thanks for all your advises, i have used Dependency Walker to compare the Qt5core.dll that works correctly with another one who didn't work. But i didn't see the difference. And another thing is that the one that works in my PC , but doesn't work in another PC and contrariwise, the qt5core.dll works in my friend's PC, doesn't work in my PC.

                  D 1 Reply Last reply 23 Dec 2019, 10:00
                  0
                  • M manuntn08
                    20 Mar 2018, 09:14

                    Thanks for all your advises, i have used Dependency Walker to compare the Qt5core.dll that works correctly with another one who didn't work. But i didn't see the difference. And another thing is that the one that works in my PC , but doesn't work in another PC and contrariwise, the qt5core.dll works in my friend's PC, doesn't work in my PC.

                    D Offline
                    D Offline
                    Debra Steed
                    Banned
                    wrote on 23 Dec 2019, 10:00 last edited by
                    #9
                    This post is deleted!
                    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