X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSALOME_XmlHandler.cxx;h=3eca49f9f2034ff9f9b222bdf142eda268ee7bdd;hb=0e849067e3cfa65a6fa0ad979876f58355e3ce9f;hp=bd58546f3b199697878ace24c57d85b75258ec53;hpb=b5aea823355ebb10aec73358c120b805abc9b783;p=tools%2Finstall.git diff --git a/src/SALOME_XmlHandler.cxx b/src/SALOME_XmlHandler.cxx index bd58546..3eca49f 100644 --- a/src/SALOME_XmlHandler.cxx +++ b/src/SALOME_XmlHandler.cxx @@ -3,7 +3,7 @@ // Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) // Project : SALOME // Module : Installation Wizard -// Copyright : 2002-2008 CEA +// Copyright : 2002-2009 CEA #include "globals.h" @@ -144,7 +144,7 @@ void StructureParser::setTempDir( QLineEdit* dir ) // ================================================================ void StructureParser::getConfigInfo(const QDomElement &theElem) { - QString myVersion, myCaption, myCopyright, myLicense, myPlatforms; + QString myVersion, myCaption, myCopyright, myLicense, myPlatforms, myOptLibs; if ( theElem.attribute( "version" ) ) { myVersion = theElem.attribute( "version" ).stripWhiteSpace(); if ( myWizard && !myVersion.isEmpty() ) @@ -178,6 +178,11 @@ void StructureParser::getConfigInfo(const QDomElement &theElem) if ( myTempDir ) myTempDir->setText( substituteVars( theElem.attribute( "tempdir" ) ) ); } + if ( theElem.attribute( "optionallibs" ) ) { + myOptLibs = theElem.attribute( "optionallibs" ).stripWhiteSpace(); + if ( myWizard && !myOptLibs.isEmpty() ) + myWizard->setOptionalLibs( myOptLibs ); + } } // ================================================================ /*!