svalaskevicius / qtjs-generator

Qt API bindings generator for Node.js
38 stars 9 forks source link

metagen generate data failed #20

Closed ericmayc closed 10 years ago

ericmayc commented 10 years ago

Preprocessing /home/eric/work/qtjs-generator-metagen/metagen/qtheaders/qtbase/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/japanese/pr-xml-utf-16.xml... error: /home/eric/work/qtjs-generator-metagen/metagen/qtheaders/qtbase/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/japanese/pr-xml-utf-16.xml: failed to translate characters from UCS-2 to UTF-8: check INPUT_ENCODING Exiting...

ericmayc commented 10 years ago

I user command "./generate_bindings.sh Qt5.3.0/5.3/Src", is it right? I think it is wrong dir. After I read the file generate_bindings.sh, I think maybe I should use command "./generate_bindings.sh Qt5.3.0/5.3/android_armv7".

svalaskevicius commented 10 years ago

Ah right. I remember qt had different directory structure in other OS'es.

As the current generator is written for linux pkg structure - can you maybe check if it's possible to use those headers for the first generator phase?

ericmayc commented 10 years ago

Maye you should state it in metagen instructions.

svalaskevicius commented 10 years ago

You're right - will do it this evening :)

Thanks!