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. Impossible to find entry point
QtWS25 Last Chance

Impossible to find entry point

Scheduled Pinned Locked Moved General and Desktop
9 Posts 3 Posters 3.2k 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.
  • S Offline
    S Offline
    sax94
    wrote on last edited by
    #1

    hy,
    I'm trying to run my program from outside Qt, I went into the program folder, and i run on the executable program, obviously I added all the requested libraries (QtCore4,Qtsql4,qtnetwork4,qtgui4,mingwm10,libgcc_s_dw2-1) but when I click on the exe again I get this error:
    can't find entry point _ZN7QWidget8winEventEP6tagMMSGPI of the procedure in the DLL and then the path to my executable.
    sorry I'm italian and I translated the error message!!
    I noticed that if I had all the libraries and then run it inside Qt I get the error:The program has unexpectedly finished.
    thanks

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      [quote author="sax94" date="1364835935"]hy,
      I'm trying to run my program from outside Qt, I went into the program folder, and i run on the executable program, obviously I added all the requested libraries (QtCore4,Qtsql4,qtnetwork4,qtgui4,mingwm10,libgcc_s_dw2-1) but when I click on the exe again I get this error:
      can't find entry point _ZN7QWidget8winEventEP6tagMMSGPI of the procedure in the DLL and then the path to my executable.
      [/quote]
      Are you sure to have copied the dlls of the correct version?

      [quote author="sax94" date="1364835935"]I noticed that if I had all the libraries and then run it inside Qt I get the error:The program has unexpectedly finished.
      thanks[/quote]
      As long as you have not messed around with the libraries, this should be not related to the problem above. There is a problem with your code's logic.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sax94
        wrote on last edited by
        #3

        Hy sorry if i answer only Now, i tried using Qt 4.8.1 and everything works fine, bit then i tried with Qt 5.0.2 and i get the same error. I don't think it's a problem of My business logic because i tried with anche empty project and i get the same error!!

        1 Reply Last reply
        0
        • B Offline
          B Offline
          bodzio131
          wrote on last edited by
          #4

          You said you added QtCore4, Qtsql4 etc. binaries, but next you say it doesn't work with Qt 5.0.2. Have I understood correctly? Are you trying to use Qt4 binaries with Qt5 executable?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sax94
            wrote on last edited by
            #5

            sorry, mi fault, I tried with qt 4.8.1 adding qtcore4 ecc... and everything worked fine, then I tried with qt5 adding all the libraries that qt5 needs,( they are a lot more thant what qt4 requested)
            but it didn't work!!
            hope I explained my self!!

            1 Reply Last reply
            0
            • B Offline
              B Offline
              bodzio131
              wrote on last edited by
              #6

              OK. Download 'Dependency Walker' and run it with your executable. It should show you what is missing and/or which binaries don't provide expected dependencies. One thing: it can help you only if you don't load binaries at runtime (using for example QLibrary).

              1 Reply Last reply
              0
              • S Offline
                S Offline
                sax94
                wrote on last edited by
                #7

                I don't know if this is the case but I use QODBC!! I used dependency walker and only IESHIMS.DLL file was missing, i didn't find it on hte computer so I installed it using a program called "dll fixer". the I runned again dependency walker, ieshims.dll was there, know i get a run time error when i start the program!!!!

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  sax94
                  wrote on last edited by
                  #8

                  I just re-checked with dependency and I noted that on the module qt5core.dll the field link checksum is colored in red don't know what this could mean or if can help solve the problem!!

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    sax94
                    wrote on last edited by
                    #9

                    solved adding libegl.dll!!

                    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