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
Forum Updated to NodeBB v4.3 + New Features

KArchive

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 3 Posters 908 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.
  • A Abdulmueez
    5 Aug 2019, 21:23

    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

    J Offline
    J Offline
    jsulm
    Lifetime Qt Champion
    wrote on 6 Aug 2019, 04:35 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 6 Aug 2019, 09:35 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
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 6 Aug 2019, 20:45 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 6 Aug 2019, 21:00 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
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 6 Aug 2019, 21:08 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 6 Aug 2019, 21:14 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
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 6 Aug 2019, 21:25 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 6 Aug 2019, 21:44 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?

                  J 1 Reply Last reply 7 Aug 2019, 04:40
                  0
                  • A Abdulmueez
                    6 Aug 2019, 21:44

                    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?

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 7 Aug 2019, 04:40 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 8 Aug 2019, 11:36 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

                      13/13

                      8 Aug 2019, 11:36

                      • Login

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