Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-1454

Regression with QSettings ini file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 1.3.83 (2.0.0-beta)
    • Debugger
    • None
    • Windows Vista
    • a45bfdc4e6f037b2f555374e67c6f38cdcedda45

    Description

      With 1.3.1 QT Creator debugger, below code works ok.
      "QSettings settings("Test.ini",QSettings::IniFormat);
      value = settings.value("item1","").toString();"

      With 1.3.83 the code is not working, "item1" is not found.
      I tried Test.ini file to be located in project root folder and in debug folder.
      Test.ini file contents are like this:
      [General]
      item1=data

      The code seems to be working ok when built with 4.7.0-Beta for Symbian.

      It seems that debugger creates "-build-desktop" folder in parallel of project folder. If ini file is saved in that "-build-desktop" folder then it works. Why is that "-build-desktop" folder created and why it is not project's subfolder?

      Attachments

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

        Activity

          People

            hjk hjk
            petri1 petri1
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes