Changeset 846 for trunk/tools/qdoc3/command.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/tools/qdoc3/command.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 48 48 #include "command.h" 49 49 50 #include <stdlib.h> 51 50 52 QT_BEGIN_NAMESPACE 51 53 … … 70 72 toolName.truncate(space); 71 73 74 #ifdef QT_BOOTSTRAPPED 75 int status = system(qPrintable(actualCommand)); 76 int exitCode = WEXITSTATUS(status); 77 if (status == -1 || exitCode != EXIT_SUCCESS) 78 location.fatal(QString("Error executing '$1': $2").arg(toolName).arg(exitCode)); 79 #else 72 80 QProcess process; 73 81 process.start(QLatin1String("sh"), … … 90 98 "It emitted these errors:\n%2") 91 99 .arg(actualCommand).arg(errors)); 100 #endif 92 101 } 93 102
Note:
See TracChangeset
for help on using the changeset viewer.