Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compilation 5.6.2 failed, VS2013

Compilation 5.6.2 failed, VS2013

Scheduled Pinned Locked Moved Solved Installation and Deployment
9 Posts 2 Posters 2.4k 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.
  • T Offline
    T Offline
    tgru
    wrote on last edited by
    #1

    Hi,

    I tried to compile 5.6.2 on Windows with just configure.bat (no further options).
    It is working for 5.6.0 but for 5.6.2 the compilation of zlib is somehow missing (linker errors for moc.exe: z_compress2 and z_uncompress are missing)
    Both Windows 7/10 and Visual Studio 2013.

    Generated qtbase\src\Makefile for 5.6.0:

    ...
    SUBTARGETS    =  \
    		sub-zlib \
    		sub-bootstrap \
    		sub-moc \
    		sub-rcc \
    		sub-3rdparty-pcre \
                    ...
    

    Generated qtbase\src\Makefile for 5.6.2:

    ...
    SUBTARGETS    =  \
    		sub-bootstrap \
    		sub-moc \
    		sub-rcc \
    		sub-3rdparty-pcre \
                    ...
    

    Is there something I missed?

    Thanks a lot,
    Thomas

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tgru
      wrote on last edited by
      #8

      it seems to be connected to

      https://bugreports.qt.io/browse/QTBUG-56818
      https://bugreports.qt.io/browse/QTBUG-56388

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

        Hi,

        That's surprising indeed. What if you pass -qt-zlib to your configure call ?

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

          Same effect. I just typed this without some clean or so?

          There is always:

          ...
          Third Party Libraries:
              ZLIB support............qt
              GIF support.............plugin
              JPEG support............plugin
              PNG support.............yes
              ...
          

          I also have some warning (is this important??)

          ...
          Creating qmake...
          
          Microsoft (R) Program Maintenance Utility, Version 12.00.21005.1
          Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
          
          Running configuration tests...
          C:/Daten/Programme/Qt/5.6.2/vc2013/x64_MD/qtbase/mkspecs/qconfig.pri:19: Extra characters after test expression.
          ...
          

          qconfig.pri:

          CONFIG+= debug shared rtti no_plugin_manifest directwrite qpa
          host_build {
              QT_ARCH = x86_64
              QT_TARGET_ARCH = x86_64
          } else {
              QT_ARCH = x86_64
          }
          QT_CONFIG += minimal-config small-config medium-config large-config full-config debug_and_release build_all release debug shared zlib angle png freetype harfbuzz build_all accessibility opengl opengles2 egl dbus audio-backend directwrite native-gestures qpa concurrent
          #versioning 
          QT_VERSION = 5.6.2
          QT_MAJOR_VERSION = 5
          QT_MINOR_VERSION = 6
          QT_PATCH_VERSION = 2
          
          QT_EDITION = OpenSource
          QT_CL_MAJOR_VERSION = Microsoft (R) C/C++-Optimierungscompiler Version 18
          QT_CL_MINOR_VERSION = 00
          QT_CL_PATCH_VERSION = 40629 f?r x64
          Copyright (C) Microsoft Corporation
          

          The last four lines are not there in 5.6.0

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

            When calling configure, you should always do it from a clean state.

            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
            • T Offline
              T Offline
              tgru
              wrote on last edited by
              #5

              Just found clean and so on. To be sure I freshly unzipped in a new folder, used

              configure.bat -qt-zlib
              nmake
              

              and still have no sub-zlib.

              Two questions:

              1. Could you compile 5.6.2 with VS2013??
              2. What can I do to see whats wrong? Is there some verbose mode to compare the differences between 5.6.0 and 5.6.2?

              Thanks again
              Thomas

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

                Yes, you can add the -v flag to configure to make it verbose..

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

                  I've looked at the output of

                  qmake -d src.pro
                  

                  but without seeing something.

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tgru
                    wrote on last edited by
                    #8

                    it seems to be connected to

                    https://bugreports.qt.io/browse/QTBUG-56818
                    https://bugreports.qt.io/browse/QTBUG-56388

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

                      Thanks for sharing !

                      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

                      • Login

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