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. problem in window deployment (entry point error)
Forum Updated to NodeBB v4.3 + New Features

problem in window deployment (entry point error)

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 4 Posters 626 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.
  • I Offline
    I Offline
    Imrank
    wrote on last edited by
    #1

    Re: QT Creator Deployment For Windows

    Hello everyone , I am using qt 5.15.2 and want to create an executable.of my qt project and i have tried the windeploy tool and also tried manually coping all the required dll in the target folder where my release binary exist but it doesn't work It shows entry point error unable to execute.
    what should i do???

    jsulmJ 1 Reply Last reply
    0
    • I Imrank

      Re: QT Creator Deployment For Windows

      Hello everyone , I am using qt 5.15.2 and want to create an executable.of my qt project and i have tried the windeploy tool and also tried manually coping all the required dll in the target folder where my release binary exist but it doesn't work It shows entry point error unable to execute.
      what should i do???

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Imrank said in problem in window deployment (entry point error):

      It shows entry point error unable to execute

      Please post the exact error.
      Either some libs are missing or you copied wrong libs.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • I Offline
        I Offline
        Imrank
        wrote on last edited by
        #3

        Screenshot (4).png

        This is entry point error which I am facing while running exe file.

        jsulmJ 1 Reply Last reply
        0
        • I Imrank

          Screenshot (4).png

          This is entry point error which I am facing while running exe file.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Imrank Did you copy the correct libraries? From where did you copy the Qt libraries?
          Also, did you build your app in release or debug mode?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • I Offline
            I Offline
            Imrank
            wrote on last edited by
            #5

            I had copied all the libraries from the Qt bin folder and also created the binary in release in mode. But still facing the same problem.

            Christian EhrlicherC 1 Reply Last reply
            0
            • I Imrank

              I had copied all the libraries from the Qt bin folder and also created the binary in release in mode. But still facing the same problem.

              Christian EhrlicherC Online
              Christian EhrlicherC Online
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Imrank said in problem in window deployment (entry point error):

              I had copied all the libraries from the Qt bin folder and also created the binary in release in mode. But still facing the same problem.

              You have more than one Qt installation somewhere - I guess you copy the ones from QtCreator instead those form the Qt installation folder. Make sure windeployqt fetches the correct Qt libs and you're really linking/compiling aginst those libs.

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              1 Reply Last reply
              0
              • I Offline
                I Offline
                Imrank
                wrote on last edited by
                #7

                so uninstalling the whole framework and reinstalling it from zero can fix this problem??
                or should i do something else?

                Christian EhrlicherC 1 Reply Last reply
                0
                • I Imrank

                  so uninstalling the whole framework and reinstalling it from zero can fix this problem??
                  or should i do something else?

                  Christian EhrlicherC Online
                  Christian EhrlicherC Online
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Imrank said in problem in window deployment (entry point error):

                  it from zero can fix this problem??

                  Never said this - I just said that you might have more than one Qt installation / Qt dlls there so you should make sure that the correct ones are pciked up by windeployqt (which currently is not the case as you can see)

                  Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                  Visit the Qt Academy at https://academy.qt.io/catalog

                  1 Reply Last reply
                  0
                  • I Offline
                    I Offline
                    Imrank
                    wrote on last edited by
                    #9

                    yeah I have confirmed that and also copied the dlls from the bin folder manually but the same problem still exist

                    J.HilkJ 1 Reply Last reply
                    0
                    • I Imrank

                      yeah I have confirmed that and also copied the dlls from the bin folder manually but the same problem still exist

                      J.HilkJ Offline
                      J.HilkJ Offline
                      J.Hilk
                      Moderators
                      wrote on last edited by
                      #10

                      @Imrank

                      • first of, remove everything you copied manually, better yet, copy your exe to a new folder, delete the old one
                      • Search your drive, you will have something like c:/Qt/15.2/msvc2019_64/bin , in there you will find the windeployqt.exe tool, use that! It is a command line tool so do not simply double click it and expect magic to happen! See here: https://doc.qt.io/qt-6/windows-deployment.html IGNORE everything static or building Qt related in that section
                      • if you have trouble during use, or after you used the tool, come back and we can help more

                      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                      Q: What's that?
                      A: It's blue light.
                      Q: What does it do?
                      A: It turns blue.

                      1 Reply Last reply
                      1
                      • I Offline
                        I Offline
                        Imrank
                        wrote on last edited by
                        #11

                        okk thank you

                        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