Reply
Thread Tools
Posts: 249 | Thanked: 277 times | Joined on May 2010 @ Brighton, UK
#1
I'm learning Qt/Maemo using QtCreator, and I've hit a weird problem.

I'm trying to bring up a Directory picker dialog, and
Code:
QFileDialog::getExistingDirectory()
...seems like what I want. When I run this it works correctly, but when I run this using the debugger, it bails on me with SIG33:
The inferior stopped because it recieved a signal from the Operating System.

Signal name : SIG33
Signal meaning : Real-time event 33
My application creates various stacked windows in a wizard-like manner, but I get the same crash if I comment out things in my main loop like thus:
Code:
int main(int argc, char *argv[])
{
	QApplication app(argc, argv);

	Settings settings;

QFileDialog::getExistingDirectory(NULL, "", "");

	//Windows::ModeWindow* window = new Windows::ModeWindow(settings);
	//window->show();

	return app.exec();
}
Any ideas why the debugger is barfing? I can continue debugging by hardcoding out the directory dialogue for the time being, but I'd like to know what I'm doing wrong. The "meaning" description doesn't exactly help me out here much.
 
Posts: 249 | Thanked: 277 times | Joined on May 2010 @ Brighton, UK
#2
Well, it seems that I can bypass the issue by adding a gdb script containing:
Code:
handle SIG33 nostop noprint pass
...which tells gdb to ignore the signal and pass it to the application, but I'm still concerned as I read nothing in the Qt Creator documentation telling me I would need to do this?
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:32.