Hi! This is my first time to program in Qt and having problems with QSettings. I followed a code i saw online
private:
private:
QSettings settings;
To copy to clipboard, switch view to plain text mode
and adding this to the constructor:
MainWindow
::MainWindow(QWidget *parent
) : ...
settings("Contemposoft", "SimpleTextEdit")
MainWindow::MainWindow(QWidget *parent) :
...
settings("Contemposoft", "SimpleTextEdit")
To copy to clipboard, switch view to plain text mode
but i get the folowing error:
no match for call to '(QSettings) (const char [5], const char [8])'
thanks
Bookmarks