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. The procedure entry point _ZNSt3pmr20get_default_resourceEV could not be located in the dynamic library Qt6Gui.dll, Qt6Widgets and Qt6Core.dll
Forum Update on Monday, May 27th 2025

The procedure entry point _ZNSt3pmr20get_default_resourceEV could not be located in the dynamic library Qt6Gui.dll, Qt6Widgets and Qt6Core.dll

Scheduled Pinned Locked Moved Unsolved General and Desktop
procedure entrywindeployqtdeploymentdllqt6
14 Posts 4 Posters 3.3k 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
    Mahmoud_Hussien
    wrote on 31 Mar 2022, 11:23 last edited by
    #1

    App runs normally within the QT Creator but when I tried to run exe message "missing dll files" appeared, then used the windeployqt.exe and generated the DLLs. Now, The message "The procedure entry point _ZNSt3pmr20get_default_resourceEV could not be located in the dynamic library Qt6Gui.dll" pops up and the app doesn't work as well!
    I searched a lot and couldn't find any solution for weeks!

    1 Reply Last reply
    1
    • C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 31 Mar 2022, 11:26 last edited by
      #2

      windeployqt picked up the wrong dlls - make sure the correct ones (the ones your project inside QtCreator is using) is used by windeployqt. Imo windeployqt uses the first dlls found in the PATH env var.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      M 2 Replies Last reply 31 Mar 2022, 11:34
      0
      • C Christian Ehrlicher
        31 Mar 2022, 11:26

        windeployqt picked up the wrong dlls - make sure the correct ones (the ones your project inside QtCreator is using) is used by windeployqt. Imo windeployqt uses the first dlls found in the PATH env var.

        M Offline
        M Offline
        Mahmoud_Hussien
        wrote on 31 Mar 2022, 11:34 last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • C Christian Ehrlicher
          31 Mar 2022, 11:26

          windeployqt picked up the wrong dlls - make sure the correct ones (the ones your project inside QtCreator is using) is used by windeployqt. Imo windeployqt uses the first dlls found in the PATH env var.

          M Offline
          M Offline
          Mahmoud_Hussien
          wrote on 31 Mar 2022, 11:46 last edited by
          #4

          @Christian-Ehrlicher
          how to get the correct -QtCreator- DLLs? and force the windeployqt to pick the right files?

          C 1 Reply Last reply 31 Mar 2022, 11:50
          0
          • M Mahmoud_Hussien
            31 Mar 2022, 11:46

            @Christian-Ehrlicher
            how to get the correct -QtCreator- DLLs? and force the windeployqt to pick the right files?

            C Offline
            C Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on 31 Mar 2022, 11:50 last edited by Christian Ehrlicher
            #5

            @Mahmoud_Hussien Look in your QtCreator kit settings to see what Qt your project is using.

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            M 1 Reply Last reply 31 Mar 2022, 12:01
            0
            • C Christian Ehrlicher
              31 Mar 2022, 11:50

              @Mahmoud_Hussien Look in your QtCreator kit settings to see what Qt your project is using.

              M Offline
              M Offline
              Mahmoud_Hussien
              wrote on 31 Mar 2022, 12:01 last edited by
              #6

              @Christian-Ehrlicher
              I don't use it 😅! Is there another way to know?

              C 1 Reply Last reply 31 Mar 2022, 12:02
              0
              • M Mahmoud_Hussien
                31 Mar 2022, 12:01

                @Christian-Ehrlicher
                I don't use it 😅! Is there another way to know?

                C Offline
                C Offline
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on 31 Mar 2022, 12:02 last edited by Christian Ehrlicher
                #7

                @Mahmoud_Hussien said in The procedure entry point _ZNSt3pmr20get_default_resourceEV could not be located in the dynamic library Qt6Gui.dll, Qt6Widgets and Qt6Core.dll:

                I don't use it

                App runs normally within the QT Creator

                First you say you use QtCreator, then you deny it... what now?

                /edit: corrected my post above --> git -> kit :D

                Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                Visit the Qt Academy at https://academy.qt.io/catalog

                M 1 Reply Last reply 31 Mar 2022, 12:17
                0
                • C Christian Ehrlicher
                  31 Mar 2022, 12:02

                  @Mahmoud_Hussien said in The procedure entry point _ZNSt3pmr20get_default_resourceEV could not be located in the dynamic library Qt6Gui.dll, Qt6Widgets and Qt6Core.dll:

                  I don't use it

                  App runs normally within the QT Creator

                  First you say you use QtCreator, then you deny it... what now?

                  /edit: corrected my post above --> git -> kit :D

                  M Offline
                  M Offline
                  Mahmoud_Hussien
                  wrote on 31 Mar 2022, 12:17 last edited by
                  #8

                  @Christian-Ehrlicher QTTTTTTTTTTT.png
                  Now what? 😂

                  C 1 Reply Last reply 31 Mar 2022, 12:19
                  0
                  • M Mahmoud_Hussien
                    31 Mar 2022, 12:17

                    @Christian-Ehrlicher QTTTTTTTTTTT.png
                    Now what? 😂

                    C Offline
                    C Offline
                    Christian Ehrlicher
                    Lifetime Qt Champion
                    wrote on 31 Mar 2022, 12:19 last edited by
                    #9

                    @Mahmoud_Hussien said in The procedure entry point _ZNSt3pmr20get_default_resourceEV could not be located in the dynamic library Qt6Gui.dll, Qt6Widgets and Qt6Core.dll:

                    Now what?

                    Look what Qt version and from where this kit is using - scroll down.

                    Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                    Visit the Qt Academy at https://academy.qt.io/catalog

                    M 1 Reply Last reply 31 Mar 2022, 12:41
                    0
                    • C Christian Ehrlicher
                      31 Mar 2022, 12:19

                      @Mahmoud_Hussien said in The procedure entry point _ZNSt3pmr20get_default_resourceEV could not be located in the dynamic library Qt6Gui.dll, Qt6Widgets and Qt6Core.dll:

                      Now what?

                      Look what Qt version and from where this kit is using - scroll down.

                      M Offline
                      M Offline
                      Mahmoud_Hussien
                      wrote on 31 Mar 2022, 12:41 last edited by Mahmoud_Hussien
                      #10

                      @Christian-Ehrlicher QTTTTTTTTTTT.png
                      Sorry for my unawareness! but really I can't find the path for the right files.
                      Note: I copied the dlls from "QT\6.2.3\mingw_64\bin" once but the same message pops up.

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        Christian Ehrlicher
                        Lifetime Qt Champion
                        wrote on 31 Mar 2022, 12:50 last edited by
                        #11

                        You see that you're using the Qt version 6.2.3. MinGW-64bit. Go to the Qt versions page and see where this version is located.

                        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                        Visit the Qt Academy at https://academy.qt.io/catalog

                        M 1 Reply Last reply 31 Mar 2022, 13:05
                        0
                        • C Christian Ehrlicher
                          31 Mar 2022, 12:50

                          You see that you're using the Qt version 6.2.3. MinGW-64bit. Go to the Qt versions page and see where this version is located.

                          M Offline
                          M Offline
                          Mahmoud_Hussien
                          wrote on 31 Mar 2022, 13:05 last edited by
                          #12

                          @Christian-Ehrlicher
                          located in "QT\6.2.3\mingw_64\bin" where I did copy the dlls before.

                          1 Reply Last reply
                          1
                          • S Offline
                            S Offline
                            shokarta
                            wrote on 15 Aug 2022, 11:08 last edited by
                            #13

                            i can confirm i have same issue (so far unsolved), doing tips from @Christian-Ehrlicher did not help

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              Startive
                              wrote on 17 Mar 2024, 12:07 last edited by
                              #14

                              Copy "libstdc++6.dll" from where the mingw bin files are located into your folder where the executable is located. This worked for me and it should work for yall :)

                              1 Reply Last reply
                              1
                              • JonBJ JonB referenced this topic on 23 Nov 2024, 18:58

                              • Login

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