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] "the procedure entry point _Z4endlR11QTextStream could not be located in the dynamic link library QTCore.dll"?
Forum Updated to NodeBB v4.3 + New Features

[Solved] "the procedure entry point _Z4endlR11QTextStream could not be located in the dynamic link library QTCore.dll"?

Scheduled Pinned Locked Moved Installation and Deployment
16 Posts 8 Posters 30.6k Views 1 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.
  • B Offline
    B Offline
    brandan
    wrote on last edited by
    #5

    [quote author="JKSH" date="1391957250"]Hi,

    That message usually means you've copied the wrong version of a DLL.

    • What compiler did you use to build your application?
    • What versions of Qt do you have installed in your PC?
    • Can you double-check that you took the DLLs from C:\Qt\5.2.1\msvc2010\bin, and not from Qt Creator's folder?[/quote]

    I dont think I used a compiler I just used the executable from release in a file along with all the folders from msvc2010 bin and all the dll’s from msvc2010 plugins. It works when I compile it in QT Creator though. I have version QT Creator 3.0.0 I think, that's what comes up in "About Qt Creator." Yeah I took the DLLs from that location except Qt\5.2.0 not 5.2.1

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

      [quote]I dont think I used a compiler I just used the executable from release in a file [/quote]
      The compiler is the tool that you used to convert your source code into the .exe file. Qt Creator simply runs the compiler that you already have.

      [quote]Im not sure what msvc2010 is.[/quote]

      • MSVC is the Microsoft Visual C++ compiler. It is part of Visual Studio (VS) or the Windows SDK.
      • MinGW is the Minimalist GNU for Windows toolchain, which contains the GCC (GNU Compiler Collection) compiler.

      When you choose a package from http://qt-project.org/downloads , you must pick the package that matches the your compiler. A MSVC DLL cannot be used with an .exe file that was produced with MinGW, and vice-versa. In fact, an MSVC 2010 DLL cannot be used with an .exe file that was produced with MSVC 2012.

      Did you install Visual Studio?

      [quote]I have version QT Creator 3.0.0 I think,[/quote]Qt is the library. Qt Creator is an IDE.

      Your version of Qt Creator won't affect your program, but your version of Qt is important. Which Qt package(s) did you download?

      • Was it something like "Qt 5.2.1 for Windows 32-bit (MinGW 4.8, OpenGL, 634 MB)"?
      • Or "Qt 5.2.1 for Windows 32-bit (VS 2010, 518 MB)"?
      • Or something completely different?

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

      M 1 Reply Last reply
      1
      • B Offline
        B Offline
        brandan
        wrote on last edited by
        #7

        [quote author="JKSH" date="1391958471"][quote]I dont think I used a compiler I just used the executable from release in a file [/quote]
        The compiler is the tool that you used to convert your source code into the .exe file. Qt Creator simply runs the compiler that you already have.

        [quote]Im not sure what msvc2010 is.[/quote]

        • MSVC is the Microsoft Visual C++ compiler. It is part of Visual Studio (VS) or the Windows SDK.
        • MinGW is the Minimalist GNU for Windows toolchain, which contains the GCC (GNU Compiler Collection) compiler.

        When you choose a package from http://qt-project.org/downloads , you must pick the package that matches the your compiler. A MSVC DLL cannot be used with an .exe file that was produced with MinGW, and vice-versa. In fact, an MSVC 2010 DLL cannot be used with an .exe file that was produced with MSVC 2012.

        Did you install Visual Studio?

        [quote]I have version QT Creator 3.0.0 I think,[/quote]Qt is the library. Qt Creator is an IDE.

        Your version of Qt Creator won't affect your program, but your version of Qt is important. Which Qt package(s) did you download?

        • Was it something like "Qt 5.2.1 for Windows 32-bit (MinGW 4.8, OpenGL, 634 MB)"?
        • Or "Qt 5.2.1 for Windows 32-bit (VS 2010, 518 MB)"?
        • Or something completely different?[/quote]

        Alright im using the MinGW 4.8 32bit MinGW Compiler.
        I didn't install Visual Studio.
        And according to qDebug() << QT_VERSION_STR; I am using version 5.2.0

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

          [quote author="brandan" date="1391960743"]Alright im using the MinGW 4.8 32bit MinGW Compiler.
          I didn't install Visual Studio.[/quote]Then you need to make sure that all your DLLs (e.g. Qt5Core.dll) are from the MinGW package, not the MSVC package.

          I presume you can find them somewhere like C:\Qt\5.2.0\mingw48_32\bin

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

          1 Reply Last reply
          0
          • B Offline
            B Offline
            brandan
            wrote on last edited by
            #9

            [quote author="JKSH" date="1391961950"][quote author="brandan" date="1391960743"]Alright im using the MinGW 4.8 32bit MinGW Compiler.
            I didn't install Visual Studio.[/quote]Then you need to make sure that all your DLLs (e.g. Qt5Core.dll) are from the MinGW package, not the MSVC package.

            I presume you can find them somewhere like C:\Qt\5.2.0\mingw48_32\bin[/quote]

            Thank you so much that worked!

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

              You're welcome. :) Happy coding!

              P.S. It's worth uninstalling the MSVC package to prevent mixups like this in the future

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

              1 Reply Last reply
              0
              • JKSHJ JKSH

                [quote]I dont think I used a compiler I just used the executable from release in a file [/quote]
                The compiler is the tool that you used to convert your source code into the .exe file. Qt Creator simply runs the compiler that you already have.

                [quote]Im not sure what msvc2010 is.[/quote]

                • MSVC is the Microsoft Visual C++ compiler. It is part of Visual Studio (VS) or the Windows SDK.
                • MinGW is the Minimalist GNU for Windows toolchain, which contains the GCC (GNU Compiler Collection) compiler.

                When you choose a package from http://qt-project.org/downloads , you must pick the package that matches the your compiler. A MSVC DLL cannot be used with an .exe file that was produced with MinGW, and vice-versa. In fact, an MSVC 2010 DLL cannot be used with an .exe file that was produced with MSVC 2012.

                Did you install Visual Studio?

                [quote]I have version QT Creator 3.0.0 I think,[/quote]Qt is the library. Qt Creator is an IDE.

                Your version of Qt Creator won't affect your program, but your version of Qt is important. Which Qt package(s) did you download?

                • Was it something like "Qt 5.2.1 for Windows 32-bit (MinGW 4.8, OpenGL, 634 MB)"?
                • Or "Qt 5.2.1 for Windows 32-bit (VS 2010, 518 MB)"?
                • Or something completely different?
                M Offline
                M Offline
                Mk20
                wrote on last edited by
                #11

                @JKSH Thank You for explaining so nicely!!

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  teniie
                  wrote on last edited by
                  #12
                  This post is deleted!
                  jsulmJ 1 Reply Last reply
                  0
                  • T teniie

                    This post is deleted!

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #13

                    @teniie Take a look at https://doc.qt.io/qt-6/windows-deployment.html

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      teniie
                      wrote on last edited by
                      #14
                      This post is deleted!
                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        GunForce
                        wrote on last edited by
                        #15
                        This post is deleted!
                        X 1 Reply Last reply
                        1
                        • G GunForce

                          This post is deleted!

                          X Offline
                          X Offline
                          xiaolong
                          wrote on last edited by
                          #16

                          @GunForce said in [Solved] "the procedure entry point _Z4endlR11QTextStream could not be located in the dynamic link library QTCore.dll"?:

                          MSVC

                          The MSVC directory was set to the environment variable by me, just cancel it, thanks!

                          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