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

Cross-compiling qtbase/src/corelib/io/qstorageinfo_win.cpp can't find <Windows.h>

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.4.0
    • Fix Version/s: 5.4.0 RC
    • Component/s: Core: I/O
    • Labels:
      None
    • Environment:
      MXE.cc
    • Commits:
      631a55ccf48f2a128d03a4d2554a8154dfd2f7ee

      Description

      When cross-compiling Qt on Linux for Windows, compilation of qstorageinfo_win.cpp fails because Windows.h cannot be found. However, there is a windows.h (lower case!) which is also included by multiple other files.

      Changing the first character to lower case fixes this issue.

        Attachments

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

          Activity

            People

            Assignee:
            laknoll Lars Knoll
            Reporter:
            dg0yt Kai Pastor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes