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

Qt5: qwindowsdialoghelpers.cpp declarations are now part of MinGW

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.0
    • 5.0.0
    • Core: Plugins
    • None
    • Qt5 refs/head/master 0f86b327e4c71dcd811472a53c0b685eb6cbe0e1
      MinGW64 GCC 4.7.0 20120216 rubenvb
    • f58390e0f495e229d9f2f1301c3a9dec978af9c2

    Description

      qwindowsdialoghelper.cpp in qtbase/src/plugins/platform/windows contains a set of declarations which were obviously missing in previous versions of MinGW.
      At least MinGW64 GCC 4.7.0 now contains this declarations (propsys.h and alike), and compilation of current master breaks due to stuff beeing redefined in qwindowsdialoghelper.cpp.

      #ifdef Q_CC_MINGW /* Add missing declarations for MinGW */
      
      /* Constants obtained by running the below stream operator for
       * CLSID, IID on the constants in the Windows SDK libraries. */
      
      static const IID   IID_IFileOpenDialog   = {0xd57c7288, 0xd4ad, 0x4768, {0xbe, 0x02, 0x9d, 0x96, 0x95, 0x32, 0xd9, 0x60}};
      static const IID   IID_IFileSaveDialog   = {0x84bccd23, 0x5fde, 0x4cdb,{0xae, 0xa4, 0xaf, 0x64, 0xb8, 0x3d, 0x78, 0xab}};
      
      ...
      
          STDMETHOD(GetProperties)(THIS_ IPropertyStore **ppStore) PURE;
          STDMETHOD(ApplyProperties)(THIS_ IShellItem *psi, IPropertyStore *pStore, HWND hwnd, IFileOperationProgressSink *pSink) PURE;
      };
      
      #endif // Q_CC_MINGW
      

      Attachments

        For Gerrit Dashboard: QTBUG-24699
        # Subject Branch Project Status CR V

        Activity

          People

            net147 Jonathan Liu
            lgeyer Lukas Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes