Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Integrating exiv2 with Qt

Integrating exiv2 with Qt

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
43 Posts 2 Posters 16.1k 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.
  • saitejS Offline
    saitejS Offline
    saitej
    wrote on last edited by
    #22

    dependency walker

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

      Can you provide an image that is in a more mainstream format ?

      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
      1
      • saitejS Offline
        saitejS Offline
        saitej
        wrote on last edited by
        #24

        I can send you in text format but it might be difficult to decipher.

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

          A screenshot of Dependency Walker's window might be simpler.

          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
          1
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #26

            From a look at the text file. There's at least one architecture mismatch. Double check libexiv2, if I saw things correctly, it's a 64bit library and you are using a 32bit Qt.

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

            saitejS 1 Reply Last reply
            1
            • SGaistS SGaist

              From a look at the text file. There's at least one architecture mismatch. Double check libexiv2, if I saw things correctly, it's a 64bit library and you are using a 32bit Qt.

              saitejS Offline
              saitejS Offline
              saitej
              wrote on last edited by
              #27

              @SGaist

              Sorry for revoking the topic after a long time.

              I am using both 32 bit (QT and mingw). When I load the dll in dependency walker, these are the missing dlls.

              Kernel32.dll
              MSVCRT.DLL
              PSAPI.DLL
              USER32.DLL
              WS2_32.DLL

              I am unable to find these in the mingw bin folder also. So where can i get these dll's so that I can manually add them ?

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

                Except MSVCRT.dll which comes with the vcredist package from Microsoft, the others are all system dlls that you should not distribute.

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

                saitejS 1 Reply Last reply
                0
                • SGaistS SGaist

                  Except MSVCRT.dll which comes with the vcredist package from Microsoft, the others are all system dlls that you should not distribute.

                  saitejS Offline
                  saitejS Offline
                  saitej
                  wrote on last edited by
                  #29

                  @SGaist

                  The system is 64 bit and mingw & QT are 32 bit. Is this creating the problem?

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

                    No, 64bit Windows can run both 32 and 64bits application.

                    You have to distribute the MinGW dependencies though.

                    Did you use windeployqt to prepare your application for distribution ?

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

                    saitejS 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      No, 64bit Windows can run both 32 and 64bits application.

                      You have to distribute the MinGW dependencies though.

                      Did you use windeployqt to prepare your application for distribution ?

                      saitejS Offline
                      saitejS Offline
                      saitej
                      wrote on last edited by
                      #31

                      @SGaist

                      These are errors for the built exiv2 library dll file which I am using in a QT project. When I run the the project, it the program exits immediately but it compiles successfully. So I wanted to check if I am missing any of its dependencies to include in the qt project.

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

                        How did you build exiv2 ? With which compiler ?

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

                        saitejS 1 Reply Last reply
                        0
                        • SGaistS SGaist

                          How did you build exiv2 ? With which compiler ?

                          saitejS Offline
                          saitejS Offline
                          saitej
                          wrote on last edited by
                          #33

                          @SGaist

                          via mingw 32 make and make install

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

                            The same you installed with Qt ?

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

                            saitejS 1 Reply Last reply
                            0
                            • SGaistS SGaist

                              The same you installed with Qt ?

                              saitejS Offline
                              saitejS Offline
                              saitej
                              wrote on last edited by
                              #35

                              @SGaist

                              No I have installed from msys ... I will try installing with the mingw from QT and get back.

                              saitejS 1 Reply Last reply
                              0
                              • saitejS saitej

                                @SGaist

                                No I have installed from msys ... I will try installing with the mingw from QT and get back.

                                saitejS Offline
                                saitejS Offline
                                saitej
                                wrote on last edited by saitej
                                #36

                                @SGaist

                                I have tried installing with QT provided libraries (g++ and gcc) via Qt 5.6 mingw terminal but I get the same error.

                                During startup program exited with code 0xc0000135

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

                                  Did you add the path to where the exiv2.dll can be found the PATH environment variable in the Run part of the Project panel ?

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

                                  saitejS 1 Reply Last reply
                                  1
                                  • SGaistS SGaist

                                    Did you add the path to where the exiv2.dll can be found the PATH environment variable in the Run part of the Project panel ?

                                    saitejS Offline
                                    saitejS Offline
                                    saitej
                                    wrote on last edited by
                                    #38

                                    @SGaist

                                    Ya

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

                                      Then can you copy it in the same folder as the application to be really sure it can be found ?

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

                                      saitejS 1 Reply Last reply
                                      0
                                      • SGaistS SGaist

                                        Then can you copy it in the same folder as the application to be really sure it can be found ?

                                        saitejS Offline
                                        saitejS Offline
                                        saitej
                                        wrote on last edited by
                                        #40

                                        @SGaist

                                        I have actually tried building in the application folder using prefix option but that didn't work too :(

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

                                          Prefix option ?

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

                                          saitejS 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