Compilation 5.6.2 failed, VS2013



  • 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


  • Lifetime Qt Champion

    Hi,

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



  • 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


  • Lifetime Qt Champion

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



  • 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


  • Lifetime Qt Champion

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



  • I've looked at the output of

    qmake -d src.pro
    

    but without seeing something.




  • Lifetime Qt Champion

    Thanks for sharing !


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.