Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QCircularBuffer
Qt 6.11 is out! See what's new in the release blog

QCircularBuffer

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HappyCoder
    wrote on last edited by
    #1

    Hi,

    in Qt 5.5 was a QCircularBuffer Class.

    Where is this Class now in Qt 5.7 oder Q5.9?

    Thx

    1 Reply Last reply
    0
    • T Offline
      T Offline
      taedium
      wrote on last edited by
      #2

      It's now marked as internal. Which means it's not intended for public usage anymore. To use it you need to add into your .pro

      QT += 3dcore-private
      

      and include:

      #include <Qt3DCore/private/qcircularbuffer_p.h>
      

      and that's it:

      Qt3DCore::QCircularBuffer<int> b {1,2,3,4};
      qDebug() << b.last();
      
      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved