Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-50191

New Qt Quick application does not build with VS2015 (cannot include corecrt.h)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.6.0 Beta
    • Build tools: qmake
    • None
    • Windows 10, VS2015, qt5.6 beta

    Description

      • Upgraded to W10.
      • Uninstalled qt5.5, vs2013.
      • Installed VS2015. (Microsoft Visual Studio Professional 2015
        Version 14.0.24720.00 Update 1)
      • Installed wdk for w10.
      • Installed qt 5.6 beta.

      In Visual Studio a new (c++ only, no qt) project compiles fine.
      In QtCreator (that comes with 5.6 beta) I get the error:

      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\crtdefs.h:10: error: C1083: Cannot open include file: 'corecrt.h': No such file or directory

      Adding the following to the .pro file:
      INCLUDEPATH = "C:/Program Files (x86)/Windows Kits/10/Include/10.0.10240.0/ucrt"
      Results in the following error:
      error: LNK1104: cannot open file 'ucrt.lib'

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jbornema Joerg Bornemann
            luismdevries L.M. de Vries
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes