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. release a program
Qt 6.11 is out! See what's new in the release blog

release a program

Scheduled Pinned Locked Moved Unsolved General and Desktop
15 Posts 6 Posters 4.0k Views 2 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.
  • JohnJJ Offline
    JohnJJ Offline
    JohnJ
    wrote on last edited by
    #5

    sorry I don't really understand what you mean. I add Qt path in Qtcreator?

    1 Reply Last reply
    0
    • JohnJJ Offline
      JohnJJ Offline
      JohnJ
      wrote on last edited by
      #6

      Otherwise I could delete latex from my computer, that's simpler, I don't need it anymore. Does it solve the problem as well?

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

        Hi and welcome to devnet,

        First thing: NEVER change your PATH environment variable to add a path with .dlls in it.

        What will happen is what you are experiencing right now: another application using Qt has put itself in the PATH so now your application uses that version of Qt before the one that's in the same folder as the executable.

        So in your case, yes, you can remove LateX from your computer and your application should start working or at least start give you errors related to the Qt .dlls that you are bundling it with.

        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
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #8

          PATH should be the last place dlls are searched into so if you deploy the dlls correctly in the .exe folder it should work regardless of how much junk other programs append to PATH

          Source:
          https://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          1 Reply Last reply
          0
          • JohnJJ Offline
            JohnJJ Offline
            JohnJ
            wrote on last edited by
            #9

            Hi ,
            I removed latex and miketek, re-install Qt and that's clearer. I have problems with <<Qt5Widget.dll>> . When I run dependWalker, it sends :
            Error: At least one required implicit or forwarded dependency was not found.
            Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
            Warning: At least one delay-load dependency module was not found.
            Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module

            and when I look for this dll in my computer, I find only Qt5Widget that don't have modified for few months while I installed Qt today, that's weird. thanks

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

              How are you doing the deployment part ? Are you using 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
              • E Offline
                E Offline
                euchkatzl
                wrote on last edited by
                #11

                Did you read the Windows Deployment Article here ?
                http://doc.qt.io/qt-5/windows-deployment.html

                1 Reply Last reply
                0
                • JohnJJ Offline
                  JohnJJ Offline
                  JohnJ
                  wrote on last edited by
                  #12

                  In fact, in my lesson at university, I learn that dll's could be simply put in the same file that the exe and the exe will run(I understand it like this, in any case). So I've never learned about specific deployment

                  jsulmJ VRoninV 2 Replies Last reply
                  0
                  • JohnJJ JohnJ

                    In fact, in my lesson at university, I learn that dll's could be simply put in the same file that the exe and the exe will run(I understand it like this, in any case). So I've never learned about specific deployment

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

                    @JohnJ You can do it manually or you can use windeployqt - it will find out which dlls are needed.

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

                    1 Reply Last reply
                    0
                    • JohnJJ JohnJ

                      In fact, in my lesson at university, I learn that dll's could be simply put in the same file that the exe and the exe will run(I understand it like this, in any case). So I've never learned about specific deployment

                      VRoninV Offline
                      VRoninV Offline
                      VRonin
                      wrote on last edited by
                      #14

                      @JohnJ said:

                      simply put in the same file that the exe and the exe will run

                      This is false.
                      dll means dynamically linked library so by definition it is not included in the main application.
                      You can put them in the same folder as the exe and the exe will run but if you want it embedded in the .exe file you need to rebuild the dll project as a static library and link the static .lib to the app

                      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                      ~Napoleon Bonaparte

                      On a crusade to banish setIndexWidget() from the holy land of Qt

                      1 Reply Last reply
                      1
                      • JohnJJ Offline
                        JohnJJ Offline
                        JohnJ
                        wrote on last edited by
                        #15

                        My program run ! thank you so much for your advice and your patience :)

                        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