You are not logged in.

#1 2025-12-05 20:41:45

LO_ORE
Member
Registered: 2025-09-05
Posts: 3

openmodelica: error during building process, qt related?

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/lib

Any advice would be appreciated, thank you

Offline

#2 2025-12-05 21:09:42

loqs
Member
Registered: 2014-03-06
Posts: 18,725

Re: openmodelica: error during building process, qt related?

Offline

#3 2025-12-05 21:12:14

LO_ORE
Member
Registered: 2025-09-05
Posts: 3

Re: openmodelica: error during building process, qt related?

nope, just a coincidence

Offline

#4 2025-12-06 17:25:22

LO_ORE
Member
Registered: 2025-09-05
Posts: 3

Re: openmodelica: error during building process, qt related?

Actually, the commit that you linked helped me solve the problem. Thanks a lot

Offline

Board footer

Powered by FluxBB