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. The procedure entry point ?testBit@QBitArray@@QBE_NH@Z could not be located in the dynamic link library Qt5Core.dll

The procedure entry point ?testBit@QBitArray@@QBE_NH@Z could not be located in the dynamic link library Qt5Core.dll

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

    Hi,

    I migrated a Qt project from 5.0.2 to 5.2.1, both 32 Bit Windows with MingW. After compilation with MinWG4.8 in release mode I get the error from the title line when I start the program stand alone.

    I copied all the libraries (including Q5Core.dll) from the dir 'C:\Qt\Qt5.2.1\5.2.1\mingw48_32\bin', but it still doesn't work.

    Any help appreciated,
    Hans

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      welcome to devnet

      Did you do "rerun qmake" and a "rebuild"?

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hwkraus
        wrote on last edited by
        #3

        Thanks for the nice welcome.

        I did a 'mingw32-make clean', 'mingw32-make distclean', qmake and a rebuild.
        That didn't change anything.

        Hans

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          Hi,

          That message probably means that you are linking against the wrong version of the DLLs.

          Are you sure you are building your project with Qt 5.2.1?

          How many copies of MinGW do you have in your system?

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • H Offline
            H Offline
            hwkraus
            wrote on last edited by
            #5

            Hi,

            I am sure that I have only Qt 5.2.1 installed. There is exactly one MinGW in the system, the one which came with Qt.

            I have exactly trhree Qt5Core.dll copies in my system. One is from the MinGW bin dir, One is in my installation dir of the project, a copy of the MinGW version. And one Qt5Core.dll in the Qt bin path. I tried this one too but this gives another entry point not found error (as expected).

            Hans

            1 Reply Last reply
            0
            • JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #6

              3 copies? That doesn't seem right.

              If you downloaded and installed "Qt 5.2.1 for Windows 32-bit (MinGW 4.8, OpenGL, 634 MB)", you should get TWO copied of Qt5Core.dll (the root path might be slightly different):

              C:\Qt\5.2.1\mingw48_32\bin\Qt5Core.dll

              C:\Qt\Tools\QtCreator\bin\Qt5Core.dll

              #1 is the one you use for your applications. #2 is for running Qt Creator only-- do NOT use this in your applications.

              How did you install/upgrade Qt? Can you list the full paths of all 3 copies of Qt5Core.dll?

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              1 Reply Last reply
              0
              • H Offline
                H Offline
                hwkraus
                wrote on last edited by
                #7

                Hi,

                I hve the two copies you mentioned and a third one in the deploy dir (a copy of C:\Qt\5.2.1\mingw48_32\bin\Qt5Core.dll) of the software I'm creating. That seems OK for me.

                Hans

                1 Reply Last reply
                0
                • JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #8

                  Just to make sure, could you please open your C:\ drive in Windows Explorer and search for Qt5Core.dll?

                  Do you get this error if you run your program from inside Qt Creator?

                  Also, what version of Windows are you running?

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                  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