Please nominate your Qt Champions for 2021!

In Qt 5.6.0 UIC always crashes when built with MSVC2008

  • Hello,
    I tried to build Qt 5.6.0 with MSVC 2008 and uic.exe seems to be not working. I tried to debug it, and saw "Access violation reading location"-error.

    My configure parameters are the following:
    -opengl desktop -opensource -debug-and-release -nomake examples -nomake tests -no-icu -confirm-license

    The first crash occures during the execution of the following script:

        call D:\_myDocs\qt-everywhere-opensource-src-5.6.0\build-9\qtbase\src\widgets\uic_wrapper.bat D:\_myDocs\qt-everywhere-opensource-src-5.6.0\src\qtbase\src\widgets\dialogs\qfiledialog.ui -o .uic\ui_qfiledialog.h
        NMAKE : fatal error U1077: 'call' : return code '0xc0000005'

    When building with MSVC 2015 it's all ok.

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    The oldest supported compiler on Windows is VS2010.

    See this

  • Thank you for the answer.

    Okay, but until the 5.5.1 version it could be built with that version of MSVS and i wanted to explore, how to fix it.

  • Lifetime Qt Champion

    Then you'll likely have to start with git bisect to find at which point it started to fail the build but you should do it only on qtbase.

Log in to reply