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. Build exe-file of Qt4-Project
Forum Updated to NodeBB v4.3 + New Features

Build exe-file of Qt4-Project

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
37 Posts 5 Posters 11.5k Views 3 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.
  • M Offline
    M Offline
    magguz
    wrote on last edited by
    #24

    I also tried it that way:

    https://wiki.qt.io/How_to_build_a_static_Qt_version_for_Windows_with_gcc

    But at the step where to modify the file qtenv.bat I don't find such a file in my Qt-folder.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #25

      This one looks more recent.

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

      M 1 Reply Last reply
      0
      • SGaistS SGaist

        This one looks more recent.

        M Offline
        M Offline
        magguz
        wrote on last edited by
        #26

        @SGaist said in Build exe-file of Qt4-Project:

        This one looks more recent.

        This one also doesn't work.

        I tried now the tool windeployqt which comes with Qt5, but it seems to work only with Qt5-binaries. It would be enough if I could pack the exe file of my project with the necessary dlls in one folder so it runs on every Windows computer.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by SGaist
          #27

          Then use Dependency Walker to get the dll used by your application and add the necessary plugin if any is needed and you should be good to go.

          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
            magguz
            wrote on last edited by
            #28

            The Dependency Walker doesn't work with my exe file. How can I determine instead the necessary dlls?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #29

              What do you mean by doesn't work ?

              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
                magguz
                wrote on last edited by
                #30

                There are many dlls shown by the Dependency Walker. I copied all in a folder with my exe file. After starting the exe now an error occur: "procedure entry point could not be located in dll"

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #31

                  Which exactly ?

                  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
                    magguz
                    wrote on last edited by
                    #32

                    it says in the exe file of my project

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #33

                      What entry point is missing ?

                      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
                        magguz
                        wrote on last edited by
                        #34

                        it is very cryptical:

                        _ZNSt7__cxx1112basic_stringlcSt11char_traits.......

                        K 1 Reply Last reply
                        0
                        • M magguz

                          it is very cryptical:

                          _ZNSt7__cxx1112basic_stringlcSt11char_traits.......

                          K Offline
                          K Offline
                          koahnig
                          wrote on last edited by
                          #35

                          @magguz

                          When using in google "_ZNSt7__cxx1112basic_string" to search this pops up first https://gcc.gnu.org/ml/libstdc++/2015-03/msg00082.html

                          I thought you are trying compile with MSVC, but that indicates clearly a MinGW library. The name of that dll is given that the post above.

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

                          M 1 Reply Last reply
                          2
                          • K koahnig

                            @magguz

                            When using in google "_ZNSt7__cxx1112basic_string" to search this pops up first https://gcc.gnu.org/ml/libstdc++/2015-03/msg00082.html

                            I thought you are trying compile with MSVC, but that indicates clearly a MinGW library. The name of that dll is given that the post above.

                            M Offline
                            M Offline
                            magguz
                            wrote on last edited by
                            #36

                            @koahnig said in Build exe-file of Qt4-Project:

                            @magguz

                            When using in google "_ZNSt7__cxx1112basic_string" to search this pops up first https://gcc.gnu.org/ml/libstdc++/2015-03/msg00082.html

                            I thought you are trying compile with MSVC, but that indicates clearly a MinGW library. The name of that dll is given that the post above.

                            where can I find the dll?

                            M 1 Reply Last reply
                            0
                            • M magguz

                              @koahnig said in Build exe-file of Qt4-Project:

                              @magguz

                              When using in google "_ZNSt7__cxx1112basic_string" to search this pops up first https://gcc.gnu.org/ml/libstdc++/2015-03/msg00082.html

                              I thought you are trying compile with MSVC, but that indicates clearly a MinGW library. The name of that dll is given that the post above.

                              where can I find the dll?

                              M Offline
                              M Offline
                              magguz
                              wrote on last edited by
                              #37

                              @magguz said in Build exe-file of Qt4-Project:

                              @koahnig said in Build exe-file of Qt4-Project:

                              @magguz

                              When using in google "_ZNSt7__cxx1112basic_string" to search this pops up first https://gcc.gnu.org/ml/libstdc++/2015-03/msg00082.html

                              I thought you are trying compile with MSVC, but that indicates clearly a MinGW library. The name of that dll is given that the post above.

                              where can I find the dll?

                              I found it myself. This dll was missing. Now it works fine! Thanks!

                              1 Reply Last reply
                              1

                              • Login

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