nodeeditor icon indicating copy to clipboard operation
nodeeditor copied to clipboard

undefined reference to `QtNodes::NodeGraphicsObject::nodeScene() const'

Open homeless2010 opened this issue 3 months ago • 2 comments

Description with steps to reproduce

implement AbstractNodePainter override paint compile error!

Supporting files, videos and screenshots

Image

Qt Version

5.15.2

Operating system

Win11

Additional context

No response

Checklist

  • [x] I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • [x] I have attached all requested files and information to this report
  • [x] I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible

homeless2010 avatar Sep 24 '25 02:09 homeless2010

I met the same issue right now.

It can be easily fixed by declaring NodeGraphicsObject class as class NODE_EDITOR_SHARED NodeGraphicsObject. The problem is the missing NODE_EDITOR_SHARED.

bauerdavid avatar Sep 24 '25 14:09 bauerdavid

@bauerdavid do you think you could add this fix to a PR?

Llcoolsouder avatar Sep 30 '25 22:09 Llcoolsouder