node-qt icon indicating copy to clipboard operation
node-qt copied to clipboard

Example fails with QT 5.3.1 on OSX 10.9.3

Open kommander opened this issue 10 years ago • 2 comments

Assertion failed: (handle->InternalFieldCount() > 0), function Unwrap, file /Users/sebastian/.node-gyp/0.10.29/src/node_object_wrap.h, line 61. [1] 54418 abort node index.js

kommander avatar Jul 19 '14 21:07 kommander

I see the same on Ubuntu 14.04:

# nodejs nodeqt-demo.js 
nodejs: /home/at/.node-gyp/0.10.30/src/node_object_wrap.h:61: static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = QApplicationWrap]: Assertion `handle->InternalFieldCount() > 0' failed.
zsh: abort      nodejs nodeqt-demo.js

ivan avatar Aug 06 '14 18:08 ivan

Ah, it needs a .bind(): see https://github.com/arturadib/node-qt/pull/29

ivan avatar Aug 06 '14 19:08 ivan