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

WinRT build fails to compile due to missing filesystemwatcher in qfilesystemwatcher.h

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • None
    • 5.15.0
    • None
    • Windows 10, VS 2022
    • WinRT

      When trying to compile a UWP project using CMake and Qt 5.15.0 (not 5.15.5 because that fails to compile, so I downloaded some precompiled binaries from here), compilation fails due to this error:

      static_assert failed: 'Required feature filesystemwatcher for file ---Qt\Qt5.15.0\winrt_x64_msvc2019\include\QtCore\qfilesystemwatcher.h not available.'

      I'm not sure what is going on here, given that this version of Qt was compiled for UWP.

      I've attached the logs from an old failed Qt 5.15.5 build, showing why I couldn't compile it.

        1. logs_9.zip
          25 kB
          Max Downey Twiss
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            thiago Thiago Macieira
            zopolis4 Max Downey Twiss
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes