Help with getExistingDirectory and gdb
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:
Quote:
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.
|