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. Qt6 Windows result binary not working without QCreator

Qt6 Windows result binary not working without QCreator

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 5 Posters 460 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.
  • R Offline
    R Offline
    RahibeMeryem
    wrote on 9 Nov 2024, 19:58 last edited by
    #1

    Hi,

    I belive this is a stutip question but I am really not familier to windows OS.

    in linux Qt Cmake project (hash search ) working perfectly in QCreator or from shell.

    But in windows (10) it is running inside QtCreator but not working just exiting without any error in cmd or powershell both normal user or admin ?

    Really I cant find a solution...

    help... :)).

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 9 Nov 2024, 22:25 last edited by
      #2

      Hi,

      You have to deploy your application as you would for distribution.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      R 1 Reply Last reply 22 Nov 2024, 19:55
      1
      • S SGaist
        9 Nov 2024, 22:25

        Hi,

        You have to deploy your application as you would for distribution.

        R Offline
        R Offline
        RahibeMeryem
        wrote on 22 Nov 2024, 19:55 last edited by
        #3

        @SGaist Screenshot 2024-11-22 at 22.54.25.png

        I have this strange problem when deploy with cqtdeploy.

        what is the straight way to deploy Qt c++ in windows qt6 ?

        really strugling..:(

        C 1 Reply Last reply 23 Nov 2024, 03:31
        0
        • J Offline
          J Offline
          JonB
          wrote on 22 Nov 2024, 20:43 last edited by JonB
          #4

          I don't use Windows and hadn't heard of cqtdeployer, https://doc.qt.io/qt-6/windows-deployment.html#the-windows-deployment-tool still links to windeployqt for Qt6, any better?

          1 Reply Last reply
          0
          • R Offline
            R Offline
            RahibeMeryem
            wrote on 22 Nov 2024, 21:20 last edited by
            #5

            same error..

            I have no problem on linux or mac but windows really pissing me of.

            cant deploy Qt c++ .. to anther machine still...

            1 Reply Last reply
            0
            • R RahibeMeryem
              22 Nov 2024, 19:55

              @SGaist Screenshot 2024-11-22 at 22.54.25.png

              I have this strange problem when deploy with cqtdeploy.

              what is the straight way to deploy Qt c++ in windows qt6 ?

              really strugling..:(

              C Offline
              C Offline
              ChrisW67
              wrote on 23 Nov 2024, 03:31 last edited by
              #6

              @RahibeMeryem There's no reason to expect that std::pmr::get_default_resource() would be in a Qt library. You need the relevant C++ support libraries (e.g. libstdc++ or equivalent) to be part of the deployment (or already installed) on the target. What these libraries are called, and how they might be deployed, will depend on the tool chain you used to build your application.

              1 Reply Last reply
              1
              • H Online
                H Online
                hskoglund
                wrote on 23 Nov 2024, 16:29 last edited by
                #7

                To add to @ChrisW67, the dll that's missing (or you have one, but it does not have that entry point _ZNSt3pmr20get_default_resourceEv) is called libstdc++-6.dll

                J 1 Reply Last reply 23 Nov 2024, 18:58
                1
                • H hskoglund
                  23 Nov 2024, 16:29

                  To add to @ChrisW67, the dll that's missing (or you have one, but it does not have that entry point _ZNSt3pmr20get_default_resourceEv) is called libstdc++-6.dll

                  J Offline
                  J Offline
                  JonB
                  wrote on 23 Nov 2024, 18:58 last edited by JonB
                  #8

                  @RahibeMeryem
                  @hskoglund said in Qt6 Windows result binary not working without QCreator:

                  _ZNSt3pmr20get_default_resourceEv)

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

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

                  If all else fails try this. If it works, and you're interested, find out how that is found inside Creator.

                  Also The procedure entry point _ZNSt3pmr20get_default_resourceEV could not be located in dynamic link library in QT

                  Thanks to you both, the problem was that I was having other mingw folder which was standalone and not qt bounded before, so i just put the path of the qt bounded mingw before that standalone mingw in my env variables and this went righ

                  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