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

MinGW cross compile error in qwinjumplist.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.9
    • Extras: Win
    • None

    Description

      Cross Compilation for Windows MinGW64 on Linux fails. There is already a bugfix, but the bugfix does not work as expected,

      In:

      qtwinextras/src/winextras

      Error:

      qwinjumplist.cpp:404:106: error: ‘SHCreateItemFromParsingName’ was not declared in this scope
      

      Solution:

      Please run the following bug fix:

      sed -i '/# *if *defined *( *_WIN32_IE *) *&& *_WIN32_IE *<< *0x0700/{s,<<,<,}' qtwinextras/src/winextras/qwinjumplist.cpp
      

      This changes in file qtwinextras/src/winextras/qwinjumplist.cpp

      From line:

      #  if defined(_WIN32_IE) && _WIN32_IE << 0x0700 // _WIN32_IE_IE70
      

      To line

      #  if defined(_WIN32_IE) && _WIN32_IE < 0x0700 // _WIN32_IE_IE70
      

      Attachments

        Activity

          People

            kleint Friedemann Kleint
            mwaeckerlin Marc Wäckerlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: