Error compiling 3.14.1 Fedora 43 and 44

Hi all,

I’ve been getting an error compiling SC 3.14.1 in Fedora 42, 43 and 44 with Qt 6.10.2 and 6.10.3 The error is the following:

[ 77%] Building CXX object editors/sc-ide/CMakeFiles/libscide.dir/widgets/code_editor/editor.cpp.o 

/usr/include/qt6/QtCore/qstring.h:364:5: error: no type named ‘type’ in ‘struct std::enable_if<false, QString>’
  364 |     arg(Args &&...args) const
      |     ^~~                           

SC 3.15-dev compiles but it seems that is using a lot of cpu

any idea how can I fix this?

thanks

The easiest fix is to downgrade Qt to 6.8(?) - 6.10 is not officially supported by 3.14.

The necessary fix for the dev version has been merged via ide: Explicitly convert KeyboardModifiers to an integer type by xunil-cloud · Pull Request #7290 · supercollider/supercollider · GitHub

Can you provide a snippet which demonstrates that 3.15-dev has higher CPU usage? I would be really curious about it and take a look at fixing it.

at the end I changed the lines in the file editors/sc-ide/widgets/code_editor/editor.cpp in the 3.14.1 code and it worked.

thanks a lot

1 Like

Regarding the higher CPU, I will try the 3.15-dev into another computer. I was not using the computer I commonly use.