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

OSX: qint64 set to QSettings is converted to int

    XMLWordPrintable

Details

    • macOS
    • bd94a46f619395032ef48b2a53db294488738532

    Description

      Qint64 set to QSettings and then read back is translated to int.

      Use attached snippet to reproduce the issue:

      QSettings set; 
      set.setValue("Time", QDateTime::currentDateTime().toMSecSinceEpoch()); 
      
      QSettings set2; 
      qint64 msecs(set2.value("Time").toLongLong()); 
      

      Attachments

        1. cf-test.tar
          4 kB
        2. QTBUG-42017.tgz
          0.8 kB
        3. QTBUG-42017-2.tar
          10 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            kileppal Kimmo Leppälä
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes