You are not logged in.
Good evening, during building of openmodelica package version 1.25.5-1 i encounter the following error:
In member function ‘void GraphicsView::getCoordinateSystemAndGraphics(QStringList&, QStringList&)’:
error: no matching function for call to ‘QString::arg(const RealAnnotation&)’
3946 | coOrdinateSystemList.append(QString("initialScale=%1").arg(mCoordinateSystem.getInitialScale()));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Doing a little research, the getInitialScale() of the mCoordinateSystem class has type RealAnnotation&, but checking
the qt documentation for QString, there is no arg method which can accept such an input.
The output of
qmake --version is
QMake version 3.1
Using Qt version 5.15.18 in /usr/libAny advice would be appreciated, thank you
Offline
Your pull request https://github.com/OpenModelica/OpenModelica/pull/14760 or coincidence?
Offline
nope, just a coincidence
Offline
Actually, the commit that you linked helped me solve the problem. Thanks a lot
Offline