xsltproc.cpp
changeset 603 c73bb30448db
parent 431 c2ffbc9b832d
child 660 d0e047b8d412
     1.1 --- a/xsltproc.cpp	Sat Feb 24 12:32:53 2007 +0000
     1.2 +++ b/xsltproc.cpp	Tue Oct 16 11:42:21 2007 +0000
     1.3 @@ -6,6 +6,8 @@
     1.4  #include "process.h"
     1.5  
     1.6  
     1.7 +extern bool debug;
     1.8 +
     1.9  XSLTProc::XSLTProc ()
    1.10  {
    1.11  	xsltprocessor="xsltproc";
    1.12 @@ -66,7 +68,7 @@
    1.13  	args << xslFile;
    1.14  	args << inputFile;
    1.15  	QString com=xsltprocessor+" "+args.join(" "); 
    1.16 -	cout <<com.ascii()<<endl;
    1.17 +	if (debug) cout <<"xsltproc executing:\n"<<com.ascii()<<endl;
    1.18  	dia.append ("vym is executing: \n" + com );	
    1.19  	xsltProc->start(xsltprocessor,args);
    1.20  	if (!xsltProc->waitForStarted() )