Qt Forum

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

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

    General and Desktop
    procedure entry windeployqt deployment dll qt6
    3
    13
    822
    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.
    • Mahmoud_Hussien
      Mahmoud_Hussien last edited by

      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 Reply Quote 1
      • Christian Ehrlicher
        Christian Ehrlicher Lifetime Qt Champion last edited by

        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 has to stay free or it will die.

        Mahmoud_Hussien 2 Replies Last reply Reply Quote 0
        • Mahmoud_Hussien
          Mahmoud_Hussien @Christian Ehrlicher last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • Mahmoud_Hussien
            Mahmoud_Hussien @Christian Ehrlicher last edited by

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

            Christian Ehrlicher 1 Reply Last reply Reply Quote 0
            • Christian Ehrlicher
              Christian Ehrlicher Lifetime Qt Champion @Mahmoud_Hussien last edited by Christian Ehrlicher

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

              Qt has to stay free or it will die.

              Mahmoud_Hussien 1 Reply Last reply Reply Quote 0
              • Mahmoud_Hussien
                Mahmoud_Hussien @Christian Ehrlicher last edited by

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

                Christian Ehrlicher 1 Reply Last reply Reply Quote 0
                • Christian Ehrlicher
                  Christian Ehrlicher Lifetime Qt Champion @Mahmoud_Hussien last edited by Christian Ehrlicher

                  @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 has to stay free or it will die.

                  Mahmoud_Hussien 1 Reply Last reply Reply Quote 0
                  • Mahmoud_Hussien
                    Mahmoud_Hussien @Christian Ehrlicher last edited by

                    @Christian-Ehrlicher QTTTTTTTTTTT.png
                    Now what? 😂

                    Christian Ehrlicher 1 Reply Last reply Reply Quote 0
                    • Christian Ehrlicher
                      Christian Ehrlicher Lifetime Qt Champion @Mahmoud_Hussien last edited by

                      @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 has to stay free or it will die.

                      Mahmoud_Hussien 1 Reply Last reply Reply Quote 0
                      • Mahmoud_Hussien
                        Mahmoud_Hussien @Christian Ehrlicher last edited by Mahmoud_Hussien

                        @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 Reply Quote 0
                        • Christian Ehrlicher
                          Christian Ehrlicher Lifetime Qt Champion last edited by

                          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 has to stay free or it will die.

                          Mahmoud_Hussien 1 Reply Last reply Reply Quote 0
                          • Mahmoud_Hussien
                            Mahmoud_Hussien @Christian Ehrlicher last edited by

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

                            1 Reply Last reply Reply Quote 1
                            • S
                              shokarta last edited by

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

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