I'm using QtCreator in MacOSX and working on a program which includes downloading some pages with QHttp.
I made it download page, save it on hard drive and pop-out MessageBox with content and update QTextEdit with same web page content.
1) I compiled program in 'Debug' mode in QtCreator and it works perfectly
2) If I go to project location with Finder and open application from there, it will pop-out <blank> text from web page and correctly save web page to hard drive.
3) What's even more weird, if I right-click on application from Finder -> 'Show Package Contents' and open it from there, it works again :/

This is what I'm using for msgbox:
Qt Code:
  1. QHttp *http = (QHttp*)sender();
  2. QString testing = http->readAll();
  3. ui->plainTextEdit->setPlainText(testing);QMessageBox::information( this, "test",testing.right(50) );
To copy to clipboard, switch view to plain text mode