Qt Forum

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

    Impossible to find entry point

    General and Desktop
    3
    9
    2870
    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.
    • S
      sax94 last edited by

      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 Reply Quote 0
      • K
        koahnig last edited by

        [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 Reply Quote 0
        • S
          sax94 last edited by

          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 Reply Quote 0
          • B
            bodzio131 last edited by

            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 Reply Quote 0
            • S
              sax94 last edited by

              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 Reply Quote 0
              • B
                bodzio131 last edited by

                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 Reply Quote 0
                • S
                  sax94 last edited by

                  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 Reply Quote 0
                  • S
                    sax94 last edited by

                    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 Reply Quote 0
                    • S
                      sax94 last edited by

                      solved adding libegl.dll!!

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