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. QSettings using .ini file not working on Desktop Qt 5.10.1 MSVC2013 Kit
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 471 Views
  • 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 Offline
    I Offline
    ironMark
    wrote on last edited by ironMark
    #1

    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
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • I 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 Offline
        I Offline
        ironMark
        wrote on last edited by ironMark
        #3

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

        1 Reply Last reply
        2
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0

          • Login

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