I'll take a guess assuming that this line is the actual cause: that's all that is possible without any description of the nature of the crash.

Qt Code:
  1. QString str = QFileDialog::getOpenFileName(
  2. this, // parent, possible cause of crash if invalid or becomes invalid after dialog opens
  3. tr("OPen"), // caption
  4. QDir::currentPath(), // directory
  5. NULL, // filter string (type should be const QString &)
  6. NULL, // selected filter, null is default
  7. QFileDialog::DontUseNativeDialog // options
  8. );
To copy to clipboard, switch view to plain text mode 
From the QFileDialog::getOpenFileName() docs:
Only files that match the given filter are shown. The filter selected is set to selectedFilter. The parameters dir, selectedFilter, and filter may be empty strings.
A null pointer is not an empty string so start there. Doesn't crash my Linux or Windows boxes though.

You could help your cause by using your debugger to see where it dies and reporting more information.