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. When was QIODeviceBase introduced?
Qt 6.11 is out! See what's new in the release blog

When was QIODeviceBase introduced?

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 1.7k Views 1 Watching
  • 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.
  • R Offline
    R Offline
    Robert Hairgrove
    wrote on last edited by
    #1

    The QIODevice::OpenMode flags were changed between 5.15 and 6.x to use QIODeviceBase::OpenMode. Unfortunately, I only have access to the source code for Qt 6.5 and higher, where it seems the change was already made. However, I am still trying to support at least Qt 5.15.3, so when I write code to open a file, I would like to be able to wrap the code in #if QT_VERSION_CHECK...#else... etc.

    What was the exact version of Qt where this change was introduced?

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Since it was an api change it could only happened in Qt6.0

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      R 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        Since it was an api change it could only happened in Qt6.0

        R Offline
        R Offline
        Robert Hairgrove
        wrote on last edited by
        #3

        @Christian-Ehrlicher Thanks!

        Can anyone tell me where I can browse the source code for Qt for versions older than 6.5, i.e. between 6.0 and 6.4? Although I had them until recently, they seem to have disappeared after I upgraded my laptop's Ubuntu OS.

        I 1 Reply Last reply
        0
        • R Robert Hairgrove

          @Christian-Ehrlicher Thanks!

          Can anyone tell me where I can browse the source code for Qt for versions older than 6.5, i.e. between 6.0 and 6.4? Although I had them until recently, they seem to have disappeared after I upgraded my laptop's Ubuntu OS.

          I Offline
          I Offline
          IgKh
          wrote on last edited by
          #4

          @Robert-Hairgrove The easiest way is through git. The Github mirror at https://github.com/qt/qtbase/ has the entire open source history of Qt 5 and 6 core modules - use the branch selector. The are also all the released source archives of those as well of Qt 4 and Qt 3 releases in the downloads server.

          1 Reply Last reply
          2
          • R Robert Hairgrove has marked this topic as solved on

          • Login

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