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. Qt5Core.dll
Forum Updated to NodeBB v4.3 + New Features

Qt5Core.dll

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
11 Posts 5 Posters 3.9k Views 2 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.
  • K Offline
    K Offline
    Krag
    wrote on last edited by
    #1

    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
    0
    • mandruk1331M Offline
      mandruk1331M Offline
      mandruk1331
      wrote on last edited by mandruk1331
      #2

      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
      0
      • mandruk1331M 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

        K Offline
        K Offline
        Krag
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • K Offline
          K Offline
          Krag
          wrote on last edited by
          #4

          So why am I getting this error?

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

            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
            1
            • SGaistS SGaist

              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.

              K Offline
              K Offline
              Krag
              wrote on last edited by
              #6

              @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
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                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
                1
                • SGaistS SGaist

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

                  K Offline
                  K Offline
                  Krag
                  wrote on last edited by
                  #8

                  @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 :)

                  mrjjM 1 Reply Last reply
                  0
                  • K Krag

                    @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 :)

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

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

                    1 Reply Last reply
                    3
                    • M Offline
                      M Offline
                      MikhailQt
                      wrote on last edited by
                      #10

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

                      mrjjM 1 Reply Last reply
                      0
                      • M MikhailQt

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

                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        @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
                        1

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved