diff --git a/src/Main/main.cpp b/src/Main/main.cpp index 4ab058a44ea226d159886df8657ceb0685bd686b..5e9829ec8e53ca135b9ec90155229f80ac288ed6 100644 --- a/src/Main/main.cpp +++ b/src/Main/main.cpp @@ -23,10 +23,10 @@ #include "config.h" #include "ConsoleRenderer.h" #include "ProjectManager.h" +#include "VlmcDebug.h" #include "WorkflowFileRenderer.h" #include -#include #include #include @@ -52,7 +52,7 @@ VLMCmain( int argc, char **argv ) if ( app.arguments().count() < 3 ) { - qCritical() << "Usage: ./vlmc project.vlmc output_file"; + vlmcCritical() << "Usage: ./vlmc project.vlmc output_file"; return 1; } ProjectManager *pm = ProjectManager::getInstance(); diff --git a/src/Main/vlmc.cpp b/src/Main/vlmc.cpp index ebe58f4740ff3802d5b539208af488d95d431802..7de5f145dd53e8e878e6b6742280485b8f7471fc 100644 --- a/src/Main/vlmc.cpp +++ b/src/Main/vlmc.cpp @@ -23,6 +23,7 @@ #include "config.h" #include "Types.h" +#include "VlmcDebug.h" #include #include @@ -122,7 +123,7 @@ main( int argc, char **argv ) { pid_t pid = fork(); if( pid < 0 ) - qFatal("Can't fork to launch VLMC. Exiting."); + vlmcFatal("Can't fork to launch VLMC. Exiting."); if( pid == 0 ) { signal( SIGSEGV, signalHandler );