src/hbtools/docml2bin/main.cpp
branchGCC_SURGE
changeset 15 f378acbc9cfb
parent 7 923ff622b8b9
--- a/src/hbtools/docml2bin/main.cpp	Thu Jul 15 14:03:49 2010 +0100
+++ b/src/hbtools/docml2bin/main.cpp	Thu Jul 22 16:36:53 2010 +0100
@@ -23,12 +23,13 @@
 **
 ****************************************************************************/
 
+#include <QCoreApplication>
+#include <QStringList>
+#include <QFile>
 #include <hbdocumentloader.h>
-#include <QtGui>
 #include <assert.h>
 #include <iostream>
 
-
 void showHelp() {
     std::cout << "docml2bin.exe usage:\n\n";
 
@@ -50,7 +51,7 @@
 
 int main(int argc, char *argv[])
 {
-    QApplication app(argc, argv, false); // GUIenabled=false
+    QCoreApplication app(argc, argv);
 
     if (argc <= 2) {
         showHelp();
@@ -126,7 +127,6 @@
             }
         }
     }
-
     return 0;
 }