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

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.4.0 RC
    • 5.4.0
    • Core: I/O
    • None
    • MXE.cc
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: