Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Unsolved Qt5Core.dll

    Installation and Deployment
    5
    11
    2935
    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.
    • K
      Krag last edited by

      I have compiled my program in release mode with Desktop Qt 5.5.0 MinGW 32bit.
      I have added the .dll files from Qt/5.5/mingw492_32/bin which were specified by Dependency Walker to the directory where my program is located.

      But I still get an error when trying to open it:
      The procedure entry point _cxa throw_bad_array_new_length could not be located in the dynamic link library
      C:\myProgram\Qt5Core.dll.

      It runs fine when I run it from Qt Creator 3.5.0
      How can I fix it?
      Thanks.

      1 Reply Last reply Reply Quote 0
      • mandruk1331
        mandruk1331 last edited by mandruk1331

        Hi, You must find the Qt5Core.dll (it has to be somewhere in the Qt folder) and add it to the directory in which you have your exe program

        Mandruk1331

        K 1 Reply Last reply Reply Quote 0
        • K
          Krag @mandruk1331 last edited by

          @mandruk1331 I did add it. I am now getting this error that I mentioned.

          1 Reply Last reply Reply Quote 0
          • K
            Krag last edited by

            So why am I getting this error?

            1 Reply Last reply Reply Quote 0
            • SGaist
              SGaist Lifetime Qt Champion last edited by

              Hi,

              Because you might have took the QtCore DLL from Qt Creator rather than the one compiled for MinGW.

              Also, please, practice some patience. Allow 24 hour before bumping your own thread. This forum is community driven and not all people lives in the same time zone as you.

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

              K 1 Reply Last reply Reply Quote 1
              • K
                Krag @SGaist last edited by

                @SGaist Sorry about bumping, I just feared that it might be something like in Microsoft answers.
                I took my Qt5Core.dll from Qt/5.5/mingw492_32/bin
                I assume you meant the one in Qt/Tools/QtCreator/bin but that's not the one I'm using.

                1 Reply Last reply Reply Quote 0
                • SGaist
                  SGaist Lifetime Qt Champion last edited by

                  Did you also copy the MinGW dependencies like the libstdc++ DLL ?

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

                  K 1 Reply Last reply Reply Quote 1
                  • K
                    Krag @SGaist last edited by

                    @SGaist Oh, I did not. I got confused that the error was referring to Qt5Core.dll so I didn't even look that up. Thanks :)

                    mrjj 1 Reply Last reply Reply Quote 0
                    • mrjj
                      mrjj Lifetime Qt Champion @Krag last edited by

                      @Krag
                      Hi
                      I like
                      http://www.tripleboot.org/?p=138
                      for deployment overview.
                      (just in case of issues :)

                      1 Reply Last reply Reply Quote 3
                      • M
                        MikhailQt last edited by

                        Сan someone throw me Qt5Core.dll v5.11.1?

                        mrjj 1 Reply Last reply Reply Quote 0
                        • mrjj
                          mrjj Lifetime Qt Champion @MikhailQt last edited by

                          @MikhailQt
                          Hi and welcome to the forums
                          I cant recommend downloading dlls from forums :)
                          Also, there is mingw version and visual studio version.
                          You can get it from
                          https://www1.qt.io/offline-installers/

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post