synthclone
synthclone copied to clipboard
error building with Qt6 on Manjaro
After setting qt6 (via ./configure) I got a build error:
controller.cpp:587:37: error: cannot convert ‘QDomDocument::ParseResult’ to ‘bool’ in assignment
587 | loaded = document.setContent(data);
| ~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| QDomDocument::ParseResult
It seemed that changing that line in ./src/synthclone/controller/ to:
loaded = bool(document.setContent(data));
eventually allowed to compile, install and run.
Thanks for the report. :) I'm slowly working on revamping synthclone, which has a number of issues right now (including this one) due to bitrot (I didn't maintain synthclone for around a decade). If and when I have time, I'll take a look at this.