Qt 5.2.0 MSVC2012 include problem

  • Hi everyone,

    I want to build my project with MSVC2012 in Qt 5.2.0 but every time I try I get this message:

    C:\Programming\Qt\5.2.0\msvc2012\include\QtCore\qglobal.h:46: Error: C1083: Cannot open include file: 'stddef.h': No such file or directory

    What did i forget to include?

  • Moderators

    do you have the Windows platform SDK installed also on your machine?

  • Yes, i have.
    Version 8.0.

  • By commenting out i have found out that Qt-Creator with MSVC2102 cannot include not only one but three things.

    qglobal.h: <stddef.h> and <algorithm>
    qmutex.h: <new>

Log in to reply

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