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. Entry point not found
QtWS25 Last Chance

Entry point not found

Scheduled Pinned Locked Moved Solved Installation and Deployment
8 Posts 3 Posters 1.4k 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
    Marcusdrl
    wrote on 24 May 2021, 18:18 last edited by
    #1

    So im im trying to execute a release build of my application and im getting this error
    error.PNG
    I've seen this before but it always pointed to some .dll file and this one is pointing to the .exe and i have no idea of what to do now. I already tried copying all .dll, plugins, qml files to verify if something would change but the error is the same. Any ideas?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 24 May 2021, 18:30 last edited by
      #2

      Hi and welcome to devnet,

      Did you mix debug and release .dlls ?
      Maybe mixed MinGW and MSVC .dlls ?

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

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Marcusdrl
        wrote on 24 May 2021, 19:21 last edited by Marcusdrl
        #3

        Hi @SGaist, thanks for the reply, i didnt, ive cleaned the build folder and created another + copied the .dll files from the mingw bin folder a lot of times to check if i wasnt getting the wrong ones, im getting these from : D:\Qt\6.1.0\mingw81_64\bin

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 24 May 2021, 20:17 last edited by
          #4

          What if you use windeployqt ?

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

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Marcusdrl
            wrote on 24 May 2021, 20:54 last edited by Marcusdrl
            #5

            So i tried it with windeployqt and i created a new folder and added only my .exe file, but i got the same error as shown in the image i posted before. It works fine inside QtCreator, i just tried to execute the .exe in debug built and got this error too...does this sizehint@qwidget@@ueba?avqsize@@xz refers to something in specific? could it be something in my code?

            J 1 Reply Last reply 25 May 2021, 03:51
            0
            • M Offline
              M Offline
              Marcusdrl
              wrote on 25 May 2021, 01:07 last edited by Marcusdrl
              #6

              @SGaist i got it to work finally, so i dont understand what happened but i did my program with MinGW for debug and release and i got the error mentioned so i created a MSVC release build and did a windeployqt in QT MSVC terminal as a last resource and it worked.
              But the point is i still dont know what i did wrong with MinGW, and what that error mean, do you have any idea of what i couldve done wrong there? I'm pretty sure it has nothing to do with .dll files...

              1 Reply Last reply
              0
              • M Marcusdrl
                24 May 2021, 20:54

                So i tried it with windeployqt and i created a new folder and added only my .exe file, but i got the same error as shown in the image i posted before. It works fine inside QtCreator, i just tried to execute the .exe in debug built and got this error too...does this sizehint@qwidget@@ueba?avqsize@@xz refers to something in specific? could it be something in my code?

                J Offline
                J Offline
                JKSH
                Moderators
                wrote on 25 May 2021, 03:51 last edited by
                #7

                @Marcusdrl said in Entry point not found:

                does this sizehint@qwidget@@ueba?avqsize@@xz refers to something in specific?

                That is C++ name mangling. See https://en.wikipedia.org/wiki/Name_mangling#How_different_compilers_mangle_the_same_functions

                Your mangled name is sizehint@qwidget@@ueba?avqsize@@xz, which tells us that you built your executable using MSVC. That is why it cannot load the MinGW DLLs.

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

                M 1 Reply Last reply 25 May 2021, 15:33
                4
                • J JKSH
                  25 May 2021, 03:51

                  @Marcusdrl said in Entry point not found:

                  does this sizehint@qwidget@@ueba?avqsize@@xz refers to something in specific?

                  That is C++ name mangling. See https://en.wikipedia.org/wiki/Name_mangling#How_different_compilers_mangle_the_same_functions

                  Your mangled name is sizehint@qwidget@@ueba?avqsize@@xz, which tells us that you built your executable using MSVC. That is why it cannot load the MinGW DLLs.

                  M Offline
                  M Offline
                  Marcusdrl
                  wrote on 25 May 2021, 15:33 last edited by
                  #8

                  @JKSH oh i see... thanks for the reply, thankfully everything is working as it should now!

                  1 Reply Last reply
                  0

                  4/8

                  24 May 2021, 20:17

                  • Login

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