Search found 7 matches

by mortaromarcello
Tue Aug 18 2015 7:44 am
Forum: Issues
Topic: How it connects a signal to another signal?
Replies: 1
Views: 9701

How it connects a signal to another signal?

Compiling the file src/multimedia/audio/qaudioinput.cpp give this error: /home/marcello/cs/copperspice/src/multimedia/audio/qaudioinput.cpp: In constructor 'QAudioInput::QAudioInput(const QAudioFormat&, QObject*)': /home/marcello/cs/copperspice/src/multimedia/audio/qaudioinput.cpp:123:49: error:...
by mortaromarcello
Sat Jul 18 2015 12:22 pm
Forum: Developers
Topic: Bug using gtk style
Replies: 1
Views: 11132

Re: Bug using gtk style

I define my debug function in my apps: #define MyDBG( args ) ( qDebug() << "File:" << __FILE__ << "Line:" << __LINE__ << "Function:" << __PRETTY_FUNCTION__ << "\n\t->" << args ) if compile this code in app: MyDBG(qApp->style()->standardIcon(QStyle::SP_DialogOk...
by mortaromarcello
Wed Jul 15 2015 4:39 am
Forum: Developers
Topic: QSettings not create the configuration file
Replies: 2
Views: 12734

Re: QSettings not create the configuration file

When QConfFileSettingsPrivate::syncConfFile (int confFileNo) (in qtsettings.cpp) with instructions if (!file.isOpen()) file.open (QFile::ReadOnly); tries to open the file in read-only and this does not exist, QFSFileEnginePrivate :: nativeOpen (QIODevice :: OpenMode openMode) (in qfsfileengine_unix....
by mortaromarcello
Mon Jul 13 2015 8:42 am
Forum: Developers
Topic: QSettings not create the configuration file
Replies: 2
Views: 12734

Re: QSettings not create the configuration file

It seems that the problem is in the creation of the configuration file. If I create an empty file with the same name and path (touch /home/marcello/.config/pippo/simple.conf) the error disappears, and the values are read and written correctly. QString value = settings.value("pippo/nome", Q...
by mortaromarcello
Fri Jul 10 2015 4:23 am
Forum: Developers
Topic: QSettings not create the configuration file
Replies: 2
Views: 12734

QSettings not create the configuration file

Compiling the following code: int main(int argc, char *argv[]) { QCoreApplication::setOrganizationName("pippo"); QCoreApplication::setApplicationName("simple"); QSettings settings; qDebug() << settings.fileName(); settings.setValue("pippo/nome", QString("pluto"...
by mortaromarcello
Mon Jul 06 2015 5:43 pm
Forum: Developers
Topic: Bug using gtk style
Replies: 1
Views: 11132

Bug using gtk style

Hello. Using the gtk style, a program compiled with copperspice gives me this error: ''' (simpletextviewer:6758): GdkPixbuf-WARNING **: Bug! loader 'png' didn't set an error on failure (simpletextviewer:6758): Gtk-WARNING **: Error loading theme icon 'dialog-information' for stock: Errore interno: i...