No crash here with Qt 4.7.2 on Linux. Using the debugger after a full, clean, debug build is a good start. When (if) it crashes read down the backtrace until you find the line in your code that triggered the crash. Look at the parameters you pass at that point for clues.
Also try just the following program to eliminate file handling and other aspects:
#include <QtGui/QApplication>
#include <QtGui/QLabel>
int main(int argc, char *argv[])
{
l.show();
return a.exec();
}
#include <QtGui/QApplication>
#include <QtGui/QLabel>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QLabel l("d\t\n");
l.show();
return a.exec();
}
To copy to clipboard, switch view to plain text mode
Bookmarks