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

QOperatingSystemVersion is not implemented for Linux

    XMLWordPrintable

Details

    • Task
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.11.0 RC 1
    • Core: Other
    • None

    Description

        QOperatingSystemVersion v = QOperatingSystemVersion::current();
          qDebug() << QLibraryInfo::build() << '\n'
                   << v.name() << "v" << v.majorVersion() << '.'
                  << v.minorVersion();
      

      prints

      Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.2.0) 
       "" v -1 . -1
      

      name/version is debatable, I guess, but it should output something.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes