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. KArchive

KArchive

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 3 Posters 1.1k Views 1 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    What compiler are you using ?
    What version of Qt have you installed ?

    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
    • A Offline
      A Offline
      Abdulmueez
      wrote on last edited by
      #3

      For the Qt version- Qt 5.12.2(MSVC 2015 64-bit)
      for the compiler , on android- Android Clang and on the desktop -mingw7.3.0

      jsulmJ 1 Reply Last reply
      0
      • A Abdulmueez

        For the Qt version- Qt 5.12.2(MSVC 2015 64-bit)
        for the compiler , on android- Android Clang and on the desktop -mingw7.3.0

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

        @abdulmueez said in KArchive:

        For the Qt version- Qt 5.12.2(MSVC 2015 64-bit)
        for the compiler , on android- Android Clang and on the desktop -mingw7.3.0

        This doesn't make sense as you can't use Qt 5.12.2(MSVC 2015 64-bit) with CLang or MinGW as compiler!
        For Qt 5.12.2(MSVC 2015 64-bit) you need MSVC 2015 64-bit compiler (2017 should work as well).

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

        1 Reply Last reply
        1
        • A Offline
          A Offline
          Abdulmueez
          wrote on last edited by
          #5

          0_1565084011557_Screenshot (26).png
          Here is a screenshot, think I made a mistake the other time, I was using the qt cmd to check for my qt version

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

            Did you get zlib built with MinGW then ?

            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
            • A Offline
              A Offline
              Abdulmueez
              wrote on last edited by
              #7

              Hmmm, the guide said nothing about that, am I to follow the same steps as the build for the extra cmake modules?
              Sorry if it sounds like a beginner question

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

                You should at least check that the architecture of your zlib dll matches the architecture of the Qt version you are using.

                Otherwise, check the zlib sources for build instructions.

                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
                • A Offline
                  A Offline
                  Abdulmueez
                  wrote on last edited by
                  #9

                  Checked through the readme, it's also using mingw

                    Compiler:
                      i686-w64-mingw32-gcc (GCC) 4.5.3
                    Library:
                      mingw64-i686-runtime/headers: 3.0b_svn5747-1
                    Build commands:
                      i686-w64-mingw32-gcc -c -DASMV contrib/asm686/match.S
                      i686-w64-mingw32-gcc -c -DASMINF -I. -O3 contrib/inflate86/inffas86.c
                      make -f win32/Makefile.gcc PREFIX=i686-w64-mingw32- LOC="-mms-bitfields -DASMV -DASMINF" OBJA="inffas86.o match.o"
                     Finally, from VS commandline (VS2005 or higher):
                      lib -machine:X86 -name:zlib1.dll -def:zlib.def -out:zdll.lib
                  
                  
                  
                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    Right it's a C library, however it looks like built for 32bit and you are using a 64bit build of Qt.

                    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
                    • A Offline
                      A Offline
                      Abdulmueez
                      wrote on last edited by
                      #11

                      Went directly to the website to get a version that uses 64 bit, didn't seem to be such. Checked their FAQ and found this

                      Will zlib work on a 64-bit machine? 
                      Yes. It has been tested on 64-bit machines, and has no dependence on any data types being limited to 32-bits in length. 
                      

                      So, should I replace the version I have with the latest one on their site or I should keep on using the one from the guide?

                      jsulmJ 1 Reply Last reply
                      0
                      • A Abdulmueez

                        Went directly to the website to get a version that uses 64 bit, didn't seem to be such. Checked their FAQ and found this

                        Will zlib work on a 64-bit machine? 
                        Yes. It has been tested on 64-bit machines, and has no dependence on any data types being limited to 32-bits in length. 
                        

                        So, should I replace the version I have with the latest one on their site or I should keep on using the one from the guide?

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

                        @abdulmueez said in KArchive:

                        So, should I replace the version I have with the latest one on their site or I should keep on using the one from the guide?

                        You have to use a 64bit version, so get one, or build it by yourself if there is no official build.

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

                        1 Reply Last reply
                        1
                        • A Offline
                          A Offline
                          Abdulmueez
                          wrote on last edited by
                          #13

                          So, I just succeeded in getting rid of the error by using the following

                          mkdir C:\Builds\zlib; cd C:\Builds\zlib
                          cmake -G "Visual Studio 16 2019" -A x64 D:\Downloads\zlib-1.2.8\
                          cmake --build .
                          

                          and then going to my cmake gui to include the zlib directory and the bzip2 directory.
                          Also, the versions from the guide I was using was outdated, I had to download new versions of ZLIB and BZIP2

                          1 Reply Last reply
                          4

                          • Login

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