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

qwineventnotifier.h pulls windows.h and pulled by QtCore and pulled by all other modules

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.0 RC1
    • 5.1.1
    • Core: Event loop
    • None
    • 721ec985011489b35ec9fd4f3c3cb9d51864f003

    Description

      because windows.h is pulled, so when we include QtCore,
      we will pull a lots of windows.h macro definition to pollute the namespace.
      wanna that can be removed from qwineventnotifier.h,
      just simple use void* replace HANDLE.
      or just define HANDLE as void* and then undefine it.

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              lygstate Yonggang Luo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes