summaryrefslogtreecommitdiffstats
path: root/src/tools/idc/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/idc/main.cpp')
-rw-r--r--src/tools/idc/main.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/tools/idc/main.cpp b/src/tools/idc/main.cpp
index 8d2f0cc..48ce9cc 100644
--- a/src/tools/idc/main.cpp
+++ b/src/tools/idc/main.cpp
@@ -1,7 +1,7 @@
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
+** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the tools applications of the Qt Toolkit.
**
@@ -34,7 +34,7 @@
** met: http://www.gnu.org/copyleft/gpl.html.
**
** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
+** contact the sales department at http://www.qtsoftware.com/contact.
** $QT_END_LICENSE$
**
****************************************************************************/
@@ -331,6 +331,9 @@ int runIdc(int argc, char **argv)
switch(res) {
case S_OK:
break;
+ case E_FAIL:
+ fprintf(stderr, "IDL generation failed trying to run program %s!\n", (const char*)input.toLocal8Bit().data());
+ return res;
case -1:
fprintf(stderr, "Couldn't open %s for writing!\n", (const char*)idlfile.toLocal8Bit().data());
return res;