In my QT project I am reading values from .ini file using QSettings. If the value contains comma character QSettings is not able to read it. How should I read such values?
How to read a value using QSetting if the value contains comma character
6.7k Views Asked by Vinod At
2
There are 2 best solutions below
Related Questions in QT
- qt c++ fonction converting adress to coordinates (longitude, latitude)
- Qml table and chart using python
- Qt: running callback in the main thread from the worker thread
- i have installed qt version 6.0.3 and this error QMYSQL driver not loaded displaying again and again
- Frameless Qt + WinAPI maximized window size is bigger than the availableGeometry()
- new window with c++ qt
- How to get scaling from transformation matrix
- How to build just Qt core libraries from Qt sources
- doxyqml not documenting qml files properly
- Incorrect assignment from a QStringList to a char * array
- How to make QT Chart size larger than widget size?
- Queued async operations with QtConcurrent interfere QImage from freed
- Questions about qt5 dynamic link library
- how to document QML files inside C++ project?
- How do I keep my screen contents centered and also have a scrollbar in QT?
Related Questions in INI
- Problem with parsing a INI file into structs with Boost Spirit
- Parsing INI Configuration File with Java: Section Values Missing
- Setup access.ini file permession so it can be read by php script
- php read nested sections in ini file
- strange Java org.ini4j.Ini behaviour - file is edited without intentional edit
- ConfigParser can't read file when using Relative Imports in Local Package
- How to use dynamic SQL queries from an .ini file?
- Is there a way to make the ini file easy to see?
- Kivy: calling app.config.get in .kv only returns string values bounded by " ", even with raw=True - the same call in .py correctly returns raw string
- Warnung: parse_ini_file(sprachen/de-DE/Language.info.ini) [function.parse-ini-file]:
- Is there a way to overwrite existing values with ReflectFrom in go-ini?
- Reading specific line in batch file
- Export column with with additional text to Notepad++ for INI File
- Read ini files with PowerBI and keep sections
- How to check php.ini / php settings about crypting (BLOWFISH)
Related Questions in QSETTINGS
- Can QSettings be safely accessed by multiple threads?
- How to save a QIcon in a settings.ini using QSettings?
- Particular case of ini file : new elements in QMap and Enum from another file
- I'm trying to save the state of qtreeview with the directories expanded or not (load in the state I left when I closed .) using Qsettings but I can't
- Save QString in QSettings without quotes
- Qsettings, how to save an empty list
- Get all keys and values as QList<Map> from QSettings
- Saving states of QRadioButtons using QSettings not persisting values correctly in PyQt5
- Is there a way to make QSettings generated ini files read only?
- How to enable IniFormat in QSettings using PyQt6?
- How can I use QSettings to write UTF-8 characters into [section] and [name] of *.ini file properly?
- Qt class as the return type in QSettings().value(...) produces SystemError
- Can't get QSettings to write my settings properly
- In PyQt5, how do you save and restore user-typed values and dynamically created widgets inserted in to QTableWidget cells?
- QSettings printout default value for specific key
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Comma character is treated as list separator by
QSettings. INI values with commas are parsed as string lists. You can convert a string list back to original string as follows: