Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. entry point _Zst_throw_bad_array_new_lengthv could not be located in c:\....Qt6Core.dll"

entry point _Zst_throw_bad_array_new_lengthv could not be located in c:\....Qt6Core.dll"

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 837 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
    BillyS
    wrote on last edited by
    #1

    this msg came after release compile on mingw and running windeployqt on the exe in a directory containing only the exe, and trying to run the exe by double-clicking on it:

    Got this msg after release compile on mingw64 and running windeployqt on the exe in a directory with just the exe, then trying to run the exe by double-clicking on it:
    "The procedure entry point _Zst_throw_bad_array_new_lengthv could not be located in the dll c:....Qt6Core.dll"

    Program (my first Qt program) ran just fine in the debugger. Please help. Thanks

    windeployqt did place several .dll files into this directory and gave convincing console messages while it was working.

    C B cristian-adamC 3 Replies Last reply
    0
    • B BillyS

      this msg came after release compile on mingw and running windeployqt on the exe in a directory containing only the exe, and trying to run the exe by double-clicking on it:

      Got this msg after release compile on mingw64 and running windeployqt on the exe in a directory with just the exe, then trying to run the exe by double-clicking on it:
      "The procedure entry point _Zst_throw_bad_array_new_lengthv could not be located in the dll c:....Qt6Core.dll"

      Program (my first Qt program) ran just fine in the debugger. Please help. Thanks

      windeployqt did place several .dll files into this directory and gave convincing console messages while it was working.

      C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      @BillyS List the files that are actually in the executable directory, and subdirectories, or everybody will just be guessing.

      1 Reply Last reply
      0
      • B BillyS

        this msg came after release compile on mingw and running windeployqt on the exe in a directory containing only the exe, and trying to run the exe by double-clicking on it:

        Got this msg after release compile on mingw64 and running windeployqt on the exe in a directory with just the exe, then trying to run the exe by double-clicking on it:
        "The procedure entry point _Zst_throw_bad_array_new_lengthv could not be located in the dll c:....Qt6Core.dll"

        Program (my first Qt program) ran just fine in the debugger. Please help. Thanks

        windeployqt did place several .dll files into this directory and gave convincing console messages while it was working.

        B Offline
        B Offline
        BillyS
        wrote on last edited by
        #3

        @BillyS There were a few programs named windeployqt.exe, located in different directories, left over from past installations that hadn't gotten past running in the debugger.

        It appears that only the instance that matches the particular toolchain that i used to compile and link the program, is able to make a free-standing executable that will work.

        When i made sure to execute the windeployqt.exe in the same directory as my compiler, the resulting executable worked as expected. In my case that was in C:\Qt\6.7.0\mingw_64\bin.

        1 Reply Last reply
        0
        • B BillyS

          this msg came after release compile on mingw and running windeployqt on the exe in a directory containing only the exe, and trying to run the exe by double-clicking on it:

          Got this msg after release compile on mingw64 and running windeployqt on the exe in a directory with just the exe, then trying to run the exe by double-clicking on it:
          "The procedure entry point _Zst_throw_bad_array_new_lengthv could not be located in the dll c:....Qt6Core.dll"

          Program (my first Qt program) ran just fine in the debugger. Please help. Thanks

          windeployqt did place several .dll files into this directory and gave convincing console messages while it was working.

          cristian-adamC Online
          cristian-adamC Online
          cristian-adam
          wrote on last edited by
          #4

          At https://forum.qt.io/post/797309 I have a post showing how to collect the dependencies manually.

          windeployqt should do that for you, but you can find out yourself.

          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