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

Qt multimedia compilation error windows 32 bit

    XMLWordPrintable

Details

    • Windows
    • 2a468dac4 (dev), da9d41816 (6.10), 9c33edead (6.9), c2e11ce56 (tqtc/lts-6.8)

    Description

      Compilation error for Windows 32 bit

      uint32_t requiredDataSize = m_format.bytesForFrames(requiredFrames); 
      auto hostBufferSpan = as_writable_bytes(QSpan{ hostBuffer, requiredDataSize });

      qwindowsaudiosink.cpp(346): error C2398: Element '2': conversion from 'uint32_t' to 'qsizetype' requires a narrowing conversion

      possible fix:

      uint32_t requiredDataSize = m_format.bytesForFrames(requiredFrames); 
      auto hostBufferSpan = as_writable_bytes(QSpan{ hostBuffer, qsizetype(requiredDataSize) }); 

       

       

      Attachments

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

        Activity

          People

            timblechmann tim blechmann
            ace_of_snakes Ace Snakes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes