Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Native_build qt creator on rapsberry 2
Forum Updated to NodeBB v4.3 + New Features

Native_build qt creator on rapsberry 2

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    modjo
    wrote on last edited by
    #1

    Hi, i have build qt 5.4.2 on my rpi 2 with this tutorial "qt5 on pi":http://qt-project.org/wiki/Native_Build_of_Qt5_on_a_Raspberry_Pi . It's work fine but know i want to build qtcreator also on the card. For this i followed this : "creator":http://qt-project.org/wiki/Building-Qt-Creator-from-Git
    when i use qmake -r i have this error :
    Project ERROR: Unknown module(s) in QT: script

    In the tutorial they said this :
    Note: If you built qt5 from the git repository and you get an error like

    Project ERROR: Unknown module(s) in QT: script
    ..then In your qt5 repository run:

    make module-qtscript

    but when i looked to my qtscript i saw that is empty ! i decided to get it since git, then i relaunched ./configure to update the makefile. Then i launch :

    @make module-qtscript@

    it started fine but after many seconds i obtained this errors :
    @make[1]: Entering directory '/home/pi/opt/qt5/qtscript'
    cd src/ && ( test -e Makefile || /usr/local/qt5/bin/qmake /home/pi/opt/qt5/qtscript/src/src.pro -o Makefile ) && make -f Makefile
    make[2]: Entering directory '/home/pi/opt/qt5/qtscript/src'
    cd script/ && ( test -e Makefile || /usr/local/qt5/bin/qmake /home/pi/opt/qt5/qtscript/src/script/script.pro -o Makefile ) && make -f Makefile
    Project WARNING: You should probably load(qt_build_config) first in script.pro for QtScript, as the latter also load()s qt_module.
    Project MESSAGE: Not doing so may lead to qt_module.prf overriding compiler/linker options in your .pro file.
    Project MESSAGE: Ignore this warning with CONFIG+=no_qt_module_warning if you know what you are doing.
    Project ERROR: Module does not define version.
    Makefile:43: recipe for target 'sub-script-make_first-ordered' failed
    make[2]: *** [sub-script-make_first-ordered] Error 3
    make[2]: Leaving directory '/home/pi/opt/qt5/qtscript/src'
    Makefile:44: recipe for target 'sub-src-make_first' failed
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory '/home/pi/opt/qt5/qtscript'
    Makefile:372: recipe for target 'module-qtscript' failed
    make: *** [module-qtscript] Error 2
    @

    Do you know how i can resolve this ?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      raf924
      wrote on last edited by
      #2

      Maybe look around the files (most likely in the .pro files) of other modules in the source and see if they mention a version-related property, constant, etc... and just copy/paste and see what happens (although you may have done that already and found nothing that would help you, which made you post your issue here).

      1 Reply Last reply
      0
      • M Offline
        M Offline
        modjo
        wrote on last edited by
        #3

        Thanks for your reply, i will try when i have the time your solution... i let you know if it work !

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved