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. zconf.h no such file or directory
Qt 6.11 is out! See what's new in the release blog

zconf.h no such file or directory

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 4 Posters 7.2k 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.
  • S Offline
    S Offline
    Shidharth
    wrote on last edited by
    #1

    Im build qt5.5 source from source in windows 10 using x64 vs2010. I am facing this error zconf.h no such file or directory. can anyone please help me to resolve this.

    aha_1980A 1 Reply Last reply
    0
    • S Shidharth

      Im build qt5.5 source from source in windows 10 using x64 vs2010. I am facing this error zconf.h no such file or directory. can anyone please help me to resolve this.

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @Shidharth

      May https://bugreports.qt.io/browse/QTBUG-48237 be related to your problem?

      Qt has to stay free or it will die.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Shidharth
        wrote on last edited by
        #3

        No, im getting this error,
        qbytearray.cpp(48) : fatal error C1083: Cannot open include file: 'zconf.h': No such file or directory

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Shidharth
          wrote on last edited by
          #4

          Qt5Bootstrap.lib(qbytearray.obj) : error LNK2019: unresolved external symbol uncompress referenced in function "class QByteArray __cdecl qUncompress(unsigned char const *,int)" (?qUncompress@@YA?AVQByteArray@@PEBEH@Z)
          Qt5Bootstrap.lib(qbytearray.obj) : error LNK2019: unresolved external symbol compress2 referenced in function "class QByteArray __cdecl qCompress(unsigned char const *,int,int)" (?qCompress@@YA?AVQByteArray@@PEBEHH@Z)
          ......\bin\moc.exe : fatal error LNK1120: 2 unresolved externals

          now im getting this error, please help me to resolve this

          1 Reply Last reply
          0
          • Christian EhrlicherC Offline
            Christian EhrlicherC Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #5

            I really wonder if Qt5.5 could be compiled with vs2010 / 64bit at all... would suggest using a recent Qt version and a compiler which is not 8 years old :)

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            S 1 Reply Last reply
            0
            • Christian EhrlicherC Christian Ehrlicher

              I really wonder if Qt5.5 could be compiled with vs2010 / 64bit at all... would suggest using a recent Qt version and a compiler which is not 8 years old :)

              S Offline
              S Offline
              Shidharth
              wrote on last edited by
              #6

              @Christian-Ehrlicher we already using Qt5.5 with x86, now we want to add support for x64 so only we are building the source with Qt5.5. Please let me know what i am missing and let me know to resolve this.

              jsulmJ 1 Reply Last reply
              0
              • S Shidharth

                @Christian-Ehrlicher we already using Qt5.5 with x86, now we want to add support for x64 so only we are building the source with Qt5.5. Please let me know what i am missing and let me know to resolve this.

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

                @Shidharth zconf.h is from zlib. Do you have zlib library and header files?

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

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Shidharth
                  wrote on last edited by
                  #8

                  yes I have downloaded it from zlib.net and set path of include and lib folder. Now it throws the linker errors. https://forum.qt.io/topic/89207/zconf-h-no-such-file-or-directory/5

                  jsulmJ 1 Reply Last reply
                  0
                  • S Shidharth

                    yes I have downloaded it from zlib.net and set path of include and lib folder. Now it throws the linker errors. https://forum.qt.io/topic/89207/zconf-h-no-such-file-or-directory/5

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

                    @Shidharth You should now start from a clean state without any artefacts from previous builds

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

                    S 1 Reply Last reply
                    1
                    • jsulmJ jsulm

                      @Shidharth You should now start from a clean state without any artefacts from previous builds

                      S Offline
                      S Offline
                      Shidharth
                      wrote on last edited by
                      #10

                      @jsulm Thanks. I will clean and try build the source, I will update details once it is succeeded.

                      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