I am trying to build qtiplot-0.9.8.9 on my fedora-24 system. I have downloaded all the necessary dependencies (i.e. Qt, GSL, muParser, zlib, libpng, Qwtand qwtplot3d).
I am running qmake && make but it fails! The first error message is the following

In file included from src/analysis/NonLinearFit.cpp:32:0:
src
/scripting/MyParser.cpp:In constructor MyParser::MyParser()’:
src
/scripting/MyParser.cpp:57:22: error:getLocale was not declared inthis scope
setLocale
(getLocale());


I
checked the MyParser.cpp and surprisingly I found out that getLocale() is in there, which you can see in the following part of the file.


MyParser::MyParser()
:Parser()
{
DefineConst("pi", M_PI);
DefineConst("Pi", M_PI);
DefineConst("PI", M_PI);

for(const muParserScripting::mathFunction *i=muParserScripting::math_functions; i->name; i++){
if(i->numargs ==1&& i->fun1 != NULL)
DefineFun(i->name, i->fun1);
elseif(i->numargs ==2&& i->fun2 != NULL)
DefineFun(i->name, i->fun2);
elseif(i->numargs ==3&& i->fun3 != NULL)
DefineFun(i->name, i->fun3);
}
gsl_set_error_handler_off
();

setLocale
(getLocale());
}

QLocaleMyParser::getLocale()
{
bool cLocale =true;
foreach(QWidget*w,QApplication::allWidgets()){
ApplicationWindow*app = qobject_cast<ApplicationWindow*>(w);
if(app){
cLocale
= app->d_muparser_c_locale;
break;
}
}

QLocale locale =QLocale::c();
if(!cLocale)
locale
=QLocale();

return locale;
}

So I was wondering, if anyone has any idea on that?

Thanks in advance!