nodeeditor icon indicating copy to clipboard operation
nodeeditor copied to clipboard

Question: What versions of Qt does Nodeeditor support

Open jamesbloom-scheff opened this issue 1 year ago • 1 comments

We were using Qt 5.15.2 with QtNodes with no problems. We are in the process of moving to Qt 5.15.14-1. We've tried both rebuilding QtNodes with Qt 5.15.14-1 on linux and also not rebuilding QtNodes, using Qt 5.15.2. In both cases, address sanitizer gives an error with an uninitialized ptr (or misaligned address). There is no problem when we build our product with Qt 5.15.2.

/opt/rh/gcc-toolset-11/root/usr/include/c++/11/bits/unique_ptr.h:85:2: runtime error: member access within misaligned address 0xbebebebebebebebe for type 'struct NodeDelegateModel', which requires 8 byte alignment 0xbebebebebebebebe: note: pointer points here #0 0x12f500f in std::default_deleteQtNodes::NodeDelegateModel::operator()(QtNodes::NodeDelegateModel*) const (/fa/sw/registry/34153-paobjectmodel6-368-dtn6-01/components/spectrum_ui/amd64_gcc11/spectrum_client+0x12f500f) #1 0x247dcb2 in std::unique_ptr<QtNodes::NodeDelegateModel, std::default_deleteQtNodes::NodeDelegateModel >::reset(QtNodes::NodeDelegateModel*) (/fa/sw/registry/34153-paobjectmodel6-368-dtn6-01/components/spectrum_ui/amd64_gcc11/spectrum_client+0x247dcb2) #2 0x247d275 in std::unique_ptr<QtNodes::NodeDelegateModel, std::default_deleteQtNodes::NodeDelegateModel >::operator=(std::unique_ptr<QtNodes::NodeDelegateModel, std::default_deleteQtNodes::NodeDelegateModel >&&) (/fa/sw/registry/34153-paobjectmodel6-368-dtn6-01/components/spectrum_ui/amd64_gcc11/spectrum_client+0x247d275) #3 0x2478896 in QtNodes::DataFlowGraphModel::addNode(QString) (/fa/sw/registry/34153-paobjectmodel6-368-dtn6-01/components/spectrum_ui/amd64_gcc11/spectrum_client+0x2478896)

My question is what versions of Qt are supported by QtNodes? Is Qt 5.15.14-1 supported?

jamesbloom-scheff avatar Jan 27 '25 18:01 jamesbloom-scheff

Nvm. It turned out that the person who rebuilt QtNodes built it wrong.

jamesbloom-scheff avatar Jan 27 '25 19:01 jamesbloom-scheff