synthclone icon indicating copy to clipboard operation
synthclone copied to clipboard

error building with Qt6 on Manjaro

Open lorenzosu opened this issue 1 year ago • 1 comments

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.

lorenzosu avatar Nov 21 '24 16:11 lorenzosu

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.

surfacepatterns avatar Jan 06 '25 20:01 surfacepatterns