Qt-interest Archive, September 1998
QT & Core dumps
Message 1 in thread
Hi
I'm currently working with Qt 1.4 under Linux and KDE. I'm having a problem
spawing a Dialogbox. I've derived a new class from QDialog and create it as a
modal dialog and then call MyDialog->exec() after setting up the connections to
the signal & slots. What's happening at the moment is that when I try to move it
sometimes or click on the main window which spawned it, I get a seg fault and a
core dump. So far it seems only to happen when I try to send data for the
different widgets inside the dialog, like QCheckBoxe and QLineEdit widgets. If
I do a plain call like 'new MYDialog(parent,name ...) no errors occur.
Is there a specifi way of sending data to a Dialog. The new class only calls the
different QLineEdit->setText or QCheckBox->setChecked methods once they have
been 'newed' at the end of my constructor.
I've looked at other application's source code, and mine looks exactly the
same, except that I get core dumps.
Any help will be greatly appreciated.
Thanks
----------------------------
Jacques Eloff, email to:
9504311@fharga.sun.ac.za
repstosd@global.co.za
eloff@kde.org
KDE - To define is to limit
http://www.kde.org
---------------------------