To open file , doc, pdf , url , xml, ecc...
i found this method .... on win32..
Qt Code:
  1. /* function preview html result ...*/
  2. bool is;
  3. /*file_put_contents(BROWSER_PAGE_2,TidyXHTML(bridge_real_tag));*/
  4. is = file_put_contents(BROWSER_PAGE_1,bridge_real_tag); /* path/index.html */
  5. if (is) {
  6. #if defined(Q_WS_WIN)
  7. s << "url.dll,FileProtocolHandler" << BROWSER_PAGE_1;
  8. p.startDetached(QString("rundll32.exe") , s );
  9. #endif
  10. #if defined( Q_WS_MACX )
  11. /* ............ */
  12. #endif
  13. #if defined( Q_WS_X11 )
  14. /* ............ */
  15. #endif
  16. }
To copy to clipboard, switch view to plain text mode 

and on mac anybody know a similar function? or hack?