Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved QSettings using .ini file not working on Desktop Qt 5.10.1 MSVC2013 Kit

    General and Desktop
    2
    4
    357
    Loading More Posts
    • 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.
    • I
      ironMark last edited by ironMark

      Hi! I am currently using Desktop Qt 5.10.1 MSVC2013 Kit and I found out that QSettings using .ini file is not working. Any solution or workaround you can recommend?

      I 1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        Hi and welcome to the forums
        Do you have some test code to play with ?

        1 Reply Last reply Reply Quote 0
        • I
          ironMark @ironMark last edited by ironMark

          Found the issue. QDir::separator() gives me '\' it should be '/' for QSettings to understand. :)

          1 Reply Last reply Reply Quote 2
          • mrjj
            mrjj Lifetime Qt Champion last edited by

            Ah, yep
            separator() gives native directory separator.
            Well good found then and please mark as solved

            1 Reply Last reply Reply Quote 0
            • First post
              Last post