uic.exe error 0xc000007b trying to build on Win 7



  • building 5.5.1, I get the mentioned uic error 4 times and then it stops. (I am building 5.5.1 rather than 5.6 intentionally due to specific project requirements here, switching to 5.6 is not a solution at the moment.) My parallel Windows 10 system does not exhibit this error, despite care in making the environments as similar as possible: both use same MSVC 2015 and other configurations.

    Here is the output when the build stops:
    base\src\platformsupport\accessibility -IC:\Qt\qt-everywhere-enterprise-src-5.5.
    1\qtbase\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPla
    tformSupport -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatfor
    mSupport\5.5.1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatf
    ormSupport\5.5.1\QtPlatformSupport -I....\include -I....\include\QtPlatformSup
    port -Itmp -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.
    1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.1\QtCore
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1 -IC:\Qt\qt
    -everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1\QtGui -IC:\Qt\qt-eve
    rywhere-enterprise-src-5.5.1\qtbase\include\QtGui -IC:\Qt\qt-everywhere-enterpri
    se-src-5.5.1\qtbase\include\QtANGLE -I....\include\QtGui -IC:\Qt\qt-everywhere-
    enterprise-src-5.5.1\qtbase\include\QtCore -I....\include\QtCore -I.moc\release
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\mkspecs\win32-msvc2015 -Fo.ob
    j\release\ @C:\Users\buckler\AppData\Local\Temp\qdevicediscovery_dummy.obj.1864.
    21279.jom
    qdevicediscovery_dummy.cpp
    cl -c -FIqt_pch.h -Yuqt_pch.h -Fp.pch\release\Qt5PlatformSupport_pch.pch
    -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -O2 -MD -D_HAS_EXCEPT
    IONS=0 -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -DUNICODE
    -DWIN32 -DWIN64 -DQT_NO_CAST_FROM_ASCII -DMESA_EGL_NO_X11_HEADERS -DQT_NO_FONTC
    ONFIG -DQT_BUILD_PLATFORMSUPPORT_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS
    -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMP
    AT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFO
    RE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPE
    NGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DNDEBUG -IC:\Qt\qt-everywhere-enterprise-src-5.
    5.1\qtbase\src\platformsupport -I. -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\3rdparty\freetype\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\platformsupport\accessibility -IC:\Qt\qt-everywhere-enterprise-src-5.5.
    1\qtbase\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPla
    tformSupport -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatfor
    mSupport\5.5.1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatf
    ormSupport\5.5.1\QtPlatformSupport -I....\include -I....\include\QtPlatformSup
    port -Itmp -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.
    1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.1\QtCore
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1 -IC:\Qt\qt
    -everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1\QtGui -IC:\Qt\qt-eve
    rywhere-enterprise-src-5.5.1\qtbase\include\QtGui -IC:\Qt\qt-everywhere-enterpri
    se-src-5.5.1\qtbase\include\QtANGLE -I....\include\QtGui -IC:\Qt\qt-everywhere-
    enterprise-src-5.5.1\qtbase\include\QtCore -I....\include\QtCore -I.moc\release
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\mkspecs\win32-msvc2015 -Fo.ob
    j\release\ @C:\Users\buckler\AppData\Local\Temp\qaccessiblebridgeutils.obj.1864.
    21372.jom
    qaccessiblebridgeutils.cpp
    cl -c -FIqt_pch.h -Yuqt_pch.h -Fp.pch\release\Qt5PlatformSupport_pch.pch
    -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -O2 -MD -D_HAS_EXCEPT
    IONS=0 -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -DUNICODE
    -DWIN32 -DWIN64 -DQT_NO_CAST_FROM_ASCII -DMESA_EGL_NO_X11_HEADERS -DQT_NO_FONTC
    ONFIG -DQT_BUILD_PLATFORMSUPPORT_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS
    -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMP
    AT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFO
    RE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPE
    NGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DNDEBUG -IC:\Qt\qt-everywhere-enterprise-src-5.
    5.1\qtbase\src\platformsupport -I. -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\3rdparty\freetype\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\platformsupport\accessibility -IC:\Qt\qt-everywhere-enterprise-src-5.5.
    1\qtbase\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPla
    tformSupport -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatfor
    mSupport\5.5.1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatf
    ormSupport\5.5.1\QtPlatformSupport -I....\include -I....\include\QtPlatformSup
    port -Itmp -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.
    1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.1\QtCore
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1 -IC:\Qt\qt
    -everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1\QtGui -IC:\Qt\qt-eve
    rywhere-enterprise-src-5.5.1\qtbase\include\QtGui -IC:\Qt\qt-everywhere-enterpri
    se-src-5.5.1\qtbase\include\QtANGLE -I....\include\QtGui -IC:\Qt\qt-everywhere-
    enterprise-src-5.5.1\qtbase\include\QtCore -I....\include\QtCore -I.moc\release
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\mkspecs\win32-msvc2015 -Fo.ob
    j\release\ @C:\Users\buckler\AppData\Local\Temp\qopenglcompositor.obj.1864.21762
    .jom
    qopenglcompositor.cpp
    cl -c -FIqt_pch.h -Yuqt_pch.h -Fp.pch\release\Qt5PlatformSupport_pch.pch
    -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -O2 -MD -D_HAS_EXCEPT
    IONS=0 -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -DUNICODE
    -DWIN32 -DWIN64 -DQT_NO_CAST_FROM_ASCII -DMESA_EGL_NO_X11_HEADERS -DQT_NO_FONTC
    ONFIG -DQT_BUILD_PLATFORMSUPPORT_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS
    -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMP
    AT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFO
    RE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPE
    NGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DNDEBUG -IC:\Qt\qt-everywhere-enterprise-src-5.
    5.1\qtbase\src\platformsupport -I. -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\3rdparty\freetype\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\platformsupport\accessibility -IC:\Qt\qt-everywhere-enterprise-src-5.5.
    1\qtbase\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPla
    tformSupport -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatfor
    mSupport\5.5.1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatf
    ormSupport\5.5.1\QtPlatformSupport -I....\include -I....\include\QtPlatformSup
    port -Itmp -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.
    1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.1\QtCore
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1 -IC:\Qt\qt
    -everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1\QtGui -IC:\Qt\qt-eve
    rywhere-enterprise-src-5.5.1\qtbase\include\QtGui -IC:\Qt\qt-everywhere-enterpri
    se-src-5.5.1\qtbase\include\QtANGLE -I....\include\QtGui -IC:\Qt\qt-everywhere-
    enterprise-src-5.5.1\qtbase\include\QtCore -I....\include\QtCore -I.moc\release
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\mkspecs\win32-msvc2015 -Fo.ob
    j\release\ @C:\Users\buckler\AppData\Local\Temp\qopenglcompositorbackingstore.ob
    j.1864.22901.jom
    qopenglcompositorbackingstore.cpp
    cl -c -FIqt_pch.h -Yuqt_pch.h -Fp.pch\release\Qt5PlatformSupport_pch.pch
    -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -O2 -MD -D_HAS_EXCEPT
    IONS=0 -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -DUNICODE
    -DWIN32 -DWIN64 -DQT_NO_CAST_FROM_ASCII -DMESA_EGL_NO_X11_HEADERS -DQT_NO_FONTC
    ONFIG -DQT_BUILD_PLATFORMSUPPORT_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS
    -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMP
    AT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFO
    RE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPE
    NGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DNDEBUG -IC:\Qt\qt-everywhere-enterprise-src-5.
    5.1\qtbase\src\platformsupport -I. -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\3rdparty\freetype\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\platformsupport\accessibility -IC:\Qt\qt-everywhere-enterprise-src-5.5.
    1\qtbase\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPla
    tformSupport -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatfor
    mSupport\5.5.1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatf
    ormSupport\5.5.1\QtPlatformSupport -I....\include -I....\include\QtPlatformSup
    port -Itmp -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.
    1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.1\QtCore
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1 -IC:\Qt\qt
    -everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1\QtGui -IC:\Qt\qt-eve
    rywhere-enterprise-src-5.5.1\qtbase\include\QtGui -IC:\Qt\qt-everywhere-enterpri
    se-src-5.5.1\qtbase\include\QtANGLE -I....\include\QtGui -IC:\Qt\qt-everywhere-
    enterprise-src-5.5.1\qtbase\include\QtCore -I....\include\QtCore -I.moc\release
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\mkspecs\win32-msvc2015 -Fo.ob
    j\release\ @C:\Users\buckler\AppData\Local\Temp\moc_qfbscreen_p.obj.1864.23806.j
    om
    moc_qfbscreen_p.cpp
    cl -c -FIqt_pch.h -Yuqt_pch.h -Fp.pch\release\Qt5PlatformSupport_pch.pch
    -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -O2 -MD -D_HAS_EXCEPT
    IONS=0 -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -DUNICODE
    -DWIN32 -DWIN64 -DQT_NO_CAST_FROM_ASCII -DMESA_EGL_NO_X11_HEADERS -DQT_NO_FONTC
    ONFIG -DQT_BUILD_PLATFORMSUPPORT_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS
    -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMP
    AT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFO
    RE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPE
    NGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DNDEBUG -IC:\Qt\qt-everywhere-enterprise-src-5.
    5.1\qtbase\src\platformsupport -I. -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\3rdparty\freetype\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\platformsupport\accessibility -IC:\Qt\qt-everywhere-enterprise-src-5.5.
    1\qtbase\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPla
    tformSupport -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatfor
    mSupport\5.5.1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatf
    ormSupport\5.5.1\QtPlatformSupport -I....\include -I....\include\QtPlatformSup
    port -Itmp -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.
    1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.1\QtCore
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1 -IC:\Qt\qt
    -everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1\QtGui -IC:\Qt\qt-eve
    rywhere-enterprise-src-5.5.1\qtbase\include\QtGui -IC:\Qt\qt-everywhere-enterpri
    se-src-5.5.1\qtbase\include\QtANGLE -I....\include\QtGui -IC:\Qt\qt-everywhere-
    enterprise-src-5.5.1\qtbase\include\QtCore -I....\include\QtCore -I.moc\release
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\mkspecs\win32-msvc2015 -Fo.ob
    j\release\ @C:\Users\buckler\AppData\Local\Temp\moc_qfbcursor_p.obj.1864.24102.j
    om
    moc_qfbcursor_p.cpp
    cl -c -FIqt_pch.h -Yuqt_pch.h -Fp.pch\release\Qt5PlatformSupport_pch.pch
    -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -O2 -MD -D_HAS_EXCEPT
    IONS=0 -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -DUNICODE
    -DWIN32 -DWIN64 -DQT_NO_CAST_FROM_ASCII -DMESA_EGL_NO_X11_HEADERS -DQT_NO_FONTC
    ONFIG -DQT_BUILD_PLATFORMSUPPORT_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS
    -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMP
    AT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFO
    RE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPE
    NGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DNDEBUG -IC:\Qt\qt-everywhere-enterprise-src-5.
    5.1\qtbase\src\platformsupport -I. -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\3rdparty\freetype\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\platformsupport\accessibility -IC:\Qt\qt-everywhere-enterprise-src-5.5.
    1\qtbase\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPla
    tformSupport -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatfor
    mSupport\5.5.1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatf
    ormSupport\5.5.1\QtPlatformSupport -I....\include -I....\include\QtPlatformSup
    port -Itmp -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.
    1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.1\QtCore
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1 -IC:\Qt\qt
    -everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1\QtGui -IC:\Qt\qt-eve
    rywhere-enterprise-src-5.5.1\qtbase\include\QtGui -IC:\Qt\qt-everywhere-enterpri
    se-src-5.5.1\qtbase\include\QtANGLE -I....\include\QtGui -IC:\Qt\qt-everywhere-
    enterprise-src-5.5.1\qtbase\include\QtCore -I....\include\QtCore -I.moc\release
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\mkspecs\win32-msvc2015 -Fo.ob
    j\release\ @C:\Users\buckler\AppData\Local\Temp\moc_qfbvthandler_p.obj.1864.2438
    3.jom
    moc_qfbvthandler_p.cpp
    cl -c -FIqt_pch.h -Yuqt_pch.h -Fp.pch\release\Qt5PlatformSupport_pch.pch
    -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -O2 -MD -D_HAS_EXCEPT
    IONS=0 -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -DUNICODE
    -DWIN32 -DWIN64 -DQT_NO_CAST_FROM_ASCII -DMESA_EGL_NO_X11_HEADERS -DQT_NO_FONTC
    ONFIG -DQT_BUILD_PLATFORMSUPPORT_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS
    -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMP
    AT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFO
    RE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPE
    NGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DNDEBUG -IC:\Qt\qt-everywhere-enterprise-src-5.
    5.1\qtbase\src\platformsupport -I. -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\3rdparty\freetype\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\platformsupport\accessibility -IC:\Qt\qt-everywhere-enterprise-src-5.5.
    1\qtbase\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPla
    tformSupport -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatfor
    mSupport\5.5.1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatf
    ormSupport\5.5.1\QtPlatformSupport -I....\include -I....\include\QtPlatformSup
    port -Itmp -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.
    1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.1\QtCore
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1 -IC:\Qt\qt
    -everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1\QtGui -IC:\Qt\qt-eve
    rywhere-enterprise-src-5.5.1\qtbase\include\QtGui -IC:\Qt\qt-everywhere-enterpri
    se-src-5.5.1\qtbase\include\QtANGLE -I....\include\QtGui -IC:\Qt\qt-everywhere-
    enterprise-src-5.5.1\qtbase\include\QtCore -I....\include\QtCore -I.moc\release
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\mkspecs\win32-msvc2015 -Fo.ob
    j\release\ @C:\Users\buckler\AppData\Local\Temp\moc_qdevicediscovery_p.obj.1864.
    24461.jom
    moc_qdevicediscovery_p.cpp
    cl -c -FIqt_pch.h -Yuqt_pch.h -Fp.pch\release\Qt5PlatformSupport_pch.pch
    -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -O2 -MD -D_HAS_EXCEPT
    IONS=0 -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -DUNICODE
    -DWIN32 -DWIN64 -DQT_NO_CAST_FROM_ASCII -DMESA_EGL_NO_X11_HEADERS -DQT_NO_FONTC
    ONFIG -DQT_BUILD_PLATFORMSUPPORT_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS
    -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMP
    AT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFO
    RE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPE
    NGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DNDEBUG -IC:\Qt\qt-everywhere-enterprise-src-5.
    5.1\qtbase\src\platformsupport -I. -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\3rdparty\freetype\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qt
    base\src\platformsupport\accessibility -IC:\Qt\qt-everywhere-enterprise-src-5.5.
    1\qtbase\include -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPla
    tformSupport -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatfor
    mSupport\5.5.1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtPlatf
    ormSupport\5.5.1\QtPlatformSupport -I....\include -I....\include\QtPlatformSup
    port -Itmp -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.
    1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.1\QtCore
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1 -IC:\Qt\qt
    -everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1\QtGui -IC:\Qt\qt-eve
    rywhere-enterprise-src-5.5.1\qtbase\include\QtGui -IC:\Qt\qt-everywhere-enterpri
    se-src-5.5.1\qtbase\include\QtANGLE -I....\include\QtGui -IC:\Qt\qt-everywhere-
    enterprise-src-5.5.1\qtbase\include\QtCore -I....\include\QtCore -I.moc\release
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\mkspecs\win32-msvc2015 -Fo.ob
    j\release\ @C:\Users\buckler\AppData\Local\Temp\moc_qopenglcompositor_p.obj.1864
    .24601.jom
    moc_qopenglcompositor_p.cpp
    lib /NOLOGO /OUT:....\lib\Qt5PlatformSupport.lib @C:\Users\buckler\App
    Data\Local\Temp\Qt5PlatformSupport.lib.1864.25413.jom
    C:\jom\jom_1_1_0\jom.exe -f Makefile.Release
    (set QT_PLUGIN_PATH=C:\Qt\Qt-build\qtbase\plugins) & (set PATH=C:\Qt\Qt-
    build\qtbase\lib;%%PATH:)=^)%%) & C:\Qt\Qt-build\qtbase\bin\uic.exe C:\Qt\qt-eve
    rywhere-enterprise-src-5.5.1\qtbase\src\widgets\dialogs\qfiledialog.ui -o .uic\u
    i_qfiledialog.h
    C:\Qt\Qt-build\qtbase\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DQT_NO_USIN
    G_NAMESPACE -DQT_BUILD_WIDGETS_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D
    USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
    -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE
    =0x040800 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_ST
    YLE_WINDOWSMOBILE -DQT_NO_STYLE_ANDROID -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_GU
    I_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DNDEBUG -D_MSC_VER=
    1900 -D_WIN32 -D_WIN64 -IC:/Qt/qt-everywhere-enterprise-src-5.5.1/qtbase/mkspecs
    /win32-msvc2015 -IC:/Qt/qt-everywhere-enterprise-src-5.5.1/qtbase/src/widgets -I
    C:/Qt/qt-everywhere-enterprise-src-5.5.1/qtbase/include -IC:/Qt/qt-everywhere-en
    terprise-src-5.5.1/qtbase/include/QtWidgets -IC:/Qt/Qt-build/qtbase/include -IC:
    /Qt/Qt-build/qtbase/include/QtWidgets -IC:/Qt/qt-everywhere-enterprise-src-5.5.1
    /qtbase/include/QtWidgets/5.5.1 -IC:/Qt/qt-everywhere-enterprise-src-5.5.1/qtbas
    e/include/QtWidgets/5.5.1/QtWidgets -IC:/Qt/qt-everywhere-enterprise-src-5.5.1/q
    tbase/src/widgets/tmp -IC:/Qt/qt-everywhere-enterprise-src-5.5.1/qtbase/src/3rdp
    arty/wintab -IC:/Qt/qt-everywhere-enterprise-src-5.5.1/qtbase/src/widgets/dialog
    s -IC:/Qt/Qt-build/qtbase/src/widgets/.uic -IC:/Qt/qt-everywhere-enterprise-src-
    5.5.1/qtbase/include/QtCore/5.5.1 -IC:/Qt/qt-everywhere-enterprise-src-5.5.1/qtb
    ase/include/QtCore/5.5.1/QtCore -IC:/Qt/qt-everywhere-enterprise-src-5.5.1/qtbas
    e/include/QtGui/5.5.1 -IC:/Qt/qt-everywhere-enterprise-src-5.5.1/qtbase/include/
    QtGui/5.5.1/QtGui -IC:/Qt/qt-everywhere-enterprise-src-5.5.1/qtbase/include/QtGu
    i -IC:/Qt/qt-everywhere-enterprise-src-5.5.1/qtbase/include/QtANGLE -IC:/Qt/Qt-b
    uild/qtbase/include/QtGui -IC:/Qt/qt-everywhere-enterprise-src-5.5.1/qtbase/incl
    ude/QtCore -IC:/Qt/Qt-build/qtbase/include/QtCore -I. C:\Qt\qt-everywhere-enterp
    rise-src-5.5.1\qtbase\src\widgets\kernel\qaction.h -o .moc\release\moc_qaction.c
    pp
    jom: C:\Qt\Qt-build\qtbase\src\widgets\Makefile.Release [.uic\ui_qfiledialog.h]
    Error 2
    cl -c -Yc -Fp.pch\release\Qt5Widgets_pch.pch -Fo.pch\release\Qt5Widgets

    pch.obj -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -O2 -MD -D_HAS
    _EXCEPTIONS=0 -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -D
    UNICODE -DWIN32 -DWIN64 -DQT_NO_USING_NAMESPACE -DQT_BUILD_WIDGETS_LIB -DQT_BUIL
    DING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT
    _ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WAR
    NINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_GT
    K -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_ANDROID -DQT
    _NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OP
    ENGL_ES_2_ANGLE -DNDEBUG -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\src\w
    idgets -I. -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include -IC:\Qt\qt-
    everywhere-enterprise-src-5.5.1\qtbase\include\QtWidgets -I....\include -I....
    \include\QtWidgets -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtW
    idgets\5.5.1 -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtWidgets
    \5.5.1\QtWidgets -Itmp -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\src\3rd
    party\wintab -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\src\widgets\dialo
    gs -I.uic -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.1
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtCore\5.5.1\QtCore -
    IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1 -IC:\Qt\qt-
    everywhere-enterprise-src-5.5.1\qtbase\include\QtGui\5.5.1\QtGui -IC:\Qt\qt-ever
    ywhere-enterprise-src-5.5.1\qtbase\include\QtGui -IC:\Qt\qt-everywhere-enterpris
    e-src-5.5.1\qtbase\include\QtANGLE -I....\include\QtGui -IC:\Qt\qt-everywhere-e
    nterprise-src-5.5.1\qtbase\include\QtCore -I....\include\QtCore -I.moc\release
    -IC:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\mkspecs\win32-msvc2015 -TP C:
    Qt\qt-everywhere-enterprise-src-5.5.1\qtbase\src\widgets\kernel\qt_widgets_pch.h

    qt_widgets_pch.h
    jom: C:\Qt\Qt-build\qtbase\src\widgets\Makefile [release] Error 2
    jom: C:\Qt\Qt-build\qtbase\src\Makefile [sub-widgets-make_first] Error 2
    jom: C:\Qt\Qt-build\qtbase\Makefile [sub-src-make_first] Error 2
    jom: C:\Qt\Qt-build\Makefile [module-qtbase-make_first] Error 2

    C:\Qt\Qt-build>



  • Hi, just guessing but if your Qt in C:\Qt\qt-everywhere-enterprise-src-5.5.1\qtbase is 32-bit flavored and the other Qt in C:\Qt\Qt-build\qtbase is 64-bit then error 0xc000007b can occur.



  • Hmm... but the source distribution I used was "Qt Source Package. Full Framework with Windows style line endings". It doesn't specify 32 or 64-bit; is there a step I have not taken correctly to ensure 64-bit?

    1. am I correct, that this download was OK for 64-bit, and
    2. are my cmd window statements correct as below:
      cd "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC"
      vcvarsall amd64
      cd C:\Qt\Qt-build
      ..\qt-everywhere-enterprise-src-5.5.1\configure -release -nomake tests -nomake examples -skip qtwebchannel -skip qt3D -skip qtsensors -skip qtserialport -skip qtwayland -skip qtandroidextras -icu -platform win32-msvc2015
      jom –j2


  • Hmm, indeed your settings look kosher to me.
    If you try building a small 64-bit Qt widget test app, does that build ok?



  • Solved! hskoglund's hunch was correct. Uic was running with mixed architectectures because a 32-bit version of msvcr100.dll was being used. I replaced it with 64-bit version and it ran fine.


Log in to reply
 

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