It would appear to me that something in the rs_dimension.cpp file is referencing the replace routine on a QString and it says that routine is private, thus can't be used.
Why this is happening I cannot say. Looking at the QT API that function is definitly a public member function of the QString class. Here is the doc on it from the QT API:
QString & QString::replace ( const QString & before, const QString & after )
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Replaces every occurrence of the string before in the string with the string after. Returns a reference to the string.
QString s = "Greek is Greek";
s.replace( "Greek", "English" );
// s == "English is English"