Jean-Yves Didier

comments restored in builder

......@@ -105,13 +105,13 @@ QString getLibraryName(QString libpath)
void exploreProjectFile(QString profile)
{
* First : strip the name of the pro file*
/* First : strip the name of the pro file*/
QFileInfo fi(profile) ;
QString name = fi.baseName();
QString path = fi.absolutePath();
* Second open the file and detect lines
* TARGET = something
/* Second open the file and detect lines
* TARGET = something */
QString target;
QFile filepro(profile);
......@@ -131,7 +131,7 @@ void exploreProjectFile(QString profile)
}
while ( !line.isNull());
* select what to put inside mapper
/* select what to put inside mapper */
if (target.isEmpty())
{
std::cout << std::setw(15) << qPrintable(name) << " => " << qPrintable(path) << std::endl;
......@@ -173,11 +173,11 @@ void buildBounds(QString path)
unsigned int i;
QDir d(path);
* Make sure path is '/' terminated
/* Make sure path is '/' terminated*/
if (path.at(path.length()-1) != QDir::separator())
path += QDir::separator();
* First pass : scan all .pro files
/* First pass : scan all .pro files*/
QStringList profiles = d.entryList(QStringList("*.pro"));
for (i=0; i < profiles.count() ; i++)
exploreProjectFile(path + profiles[i]);
......@@ -193,11 +193,11 @@ void buildBounds(QString path)
}
}
* Second pass : scan all directories
/* Second pass : scan all directories */
QStringList dirs = d.entryList(QDir::Dirs);
for (i=0; i < dirs.count() ; i++)
{
* filter out directories with leading '.'
/* filter out directories with leading '.'*/
if (dirs[i].at(0) != '.' )
buildBounds(path + dirs[i]);
}
......