- Timestamp:
- Apr 7, 2008 1:12:25 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 29319
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/main.cpp
r7342 r7767 100 100 /* Needed for instance for the message ``cannot connect to X server'' */ 101 101 RTStrmPrintf(g_pStdErr, "Qt WARNING: %s\n", msg); 102 #endif 103 break; 104 case QtCriticalMsg: 105 Log (("Qt CRITICAL: %s\n", msg)); 106 #ifdef Q_WS_X11 107 /* Needed for instance for the message ``cannot connect to X server'' */ 108 RTStrmPrintf(g_pStdErr, "Qt CRITICAL: %s\n", msg); 102 109 #endif 103 110 break; … … 201 208 QString msg = 202 209 QApplication::tr ("Executable <b>%1</b> requires Qt %2.x, found Qt %3.") 203 .arg ( QString::fromLatin1 (qAppName()))210 .arg (qAppName()) 204 211 .arg (ver_str_base) 205 212 .arg (rt_ver_str); … … 207 214 0, QApplication::tr ("Incompatible Qt Library Error"), 208 215 msg, QMessageBox::Abort, 0); 209 qFatal (msg. ascii());216 qFatal (msg.toAscii().constData()); 210 217 } 211 218 #endif
Note:
See TracChangeset
for help on using the changeset viewer.