Qt World Summit: Submit your Presentation

[SOLVED] can't build qtjsbackend

  • I try to build Qt5 for Blackberry Playbook (blackberry-armv7le-qcc) under Windows7 x64. qtbase was built normally, but i can't build qtjsbackend:
    @process_begin: CreateProcess(NULL, python C:/Users/efg/qtjsbackend/src/v8/../3rd
    party/v8/tools/js2c.py generated-release/libraries.cpp CORE off C:/Users/efg/qtj
    sbackend/src/v8/../3rdparty/v8/src/macros.py ../3rdparty/v8/src/runtime.js ../3r
    dparty/v8/src/v8natives.js ../3rdparty/v8/src/array.js ../3rdparty/v8/src/string
    .js ../3rdparty/v8/src/uri.js ../3rdparty/v8/src/math.js ../3rdparty/v8/src/mess
    ages.js ../3rdparty/v8/src/apinatives.js ../3rdparty/v8/src/date.js ../3rdparty/
    v8/src/regexp.js ../3rdparty/v8/src/json.js ../3rdparty/v8/src/liveedit-debugger
    .js ../3rdparty/v8/src/mirror-debugger.js ../3rdparty/v8/src/debug-debugger.js,
    ...) failed.
    make (e=2): Can not find specified file.
    Makefile:609: recipe for target 'generated-release/libraries.cpp' failed
    mingw32-make[2]: *** [generated-release/libraries.cpp] Error 2
    mingw32-make[2]: *** Waiting for unfinished jobs....
    mingw32-make[2]: Leaving directory 'c:/Users/efg/qtjsbackend/src/v8'
    Makefile:81: recipe for target 'sub-v8-make_first-ordered' failed
    mingw32-make[1]: *** [sub-v8-make_first-ordered] Error 2
    mingw32-make[1]: Leaving directory 'c:/Users/efg/qtjsbackend/src'
    Makefile:38: recipe for target 'sub-src-make_first' failed
    mingw32-make: *** [sub-src-make_first] Error 2@
    What's the problem? It's make me crazy

  • Do you have python installed?

  • yes i have

  • is it in path?

  • [quote author="TioRoy" date="1351195632"]is it in path?[/quote]
    thank you so much!

  • now I have a trouble with building qtdeclarative:
    @QtQml: created headers.pri file
    Project ERROR: Unknown module(s) in QT_PRIVATE: v8
    Makefile:43: recipe for target 'sub-qml-make_first-ordered' failed
    mingw32-make[1]: *** [sub-qml-make_first-ordered] Error 3
    mingw32-make[1]: Leaving directory 'c:/Users/efg/qtdeclarative/src'
    Makefile:40: recipe for target 'sub-src-make_first' failed
    mingw32-make: *** [sub-src-make_first] Error 2@
    I know what additional modules should be build in the right order, so first I have build qtjsbackend and qtxmlpatterns and I move contents of qtjsbackend/lib and qtxmlpatterns/lib into qtbase/lib.
    What's I'm doing wrong?

  • i solve it

    mingw32-make -j install
    after every module build

Log in to reply