Skip to content

Conversation

@dl1jbe
Copy link

@dl1jbe dl1jbe commented Sep 15, 2025

Pick up start of currentDataPacket.ba not only once but after each advance() operation.

Qt documentation states that an address of a QByteArray obtained by ba.data() gets invalidaded by an remove() action (part of advance() ). With Qt5 it seems to work by accident, but fails with Qt6.

Fixes issue #63. See discussion there.

Pick up start of currentDataPacket.ba not only once but after each
advance() operation.
Qt documentation states that an address of a QByteArray obtained by
ba.data() gets invalidaded by an remove() actioni (part of advance() ).
With Qt5 it seems to work by accident, but fails with Qt6.
@dl1jbe dl1jbe mentioned this pull request Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant