Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-9940

Building failed with error: 'GetNativeSystemInfo' was not declared in this scope

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 2.8.1
    • Qt Creator 2.8.0
    • All Other Issues
    • None
    • Windows8, Qt 4.8.5, MinGW 4.4

    Description

      In attempt to build QtCreator from sources on Windows, compilation failed with an error:

      E:/git/ng/git/qt-creator-emb/src/libs/utils/hostosinfo.cpp: In static member function 'static Utils::HostOsInfo::HostArchitecture Utils::HostOsInfo::hostArchitecture()':
      E:/git/ng/git/qt-creator-emb/src/libs/utils/hostosinfo.cpp:42: error: 'GetNativeSystemInfo' was not declared in this scope

      Seems, skipped a "#define _WIN32_WINNT 0x0501" macro.

      Attachments

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

        Activity

          People

            dt Daniel Teske
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes