:-1: erreur : Unknown module(s) in QT: script



  • **Hello, I'm a french student in computing and i begin to use Qt creator to work on an app available here https://github.com/ArduPilot/apm_planner
    When i try to start the source code with qt creator compiler i have this ":-1: erreur : Unknown module(s) in QT: script" and i'm a beginner.

    Someone can help me ? Thank a lot

    (I'm french sorry for the language level )**


  • Moderators

    Welcome to the Qt Forum

    Can you try the solution in this post

    Eddy


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    To add to @Eddy, what version of Qt are you currently using ? The QtScript module has been deprecated in Qt 5.5 and then removed from the pre-built binaries with Qt 5.6 so you may have to build it yourself by hand.



  • I use windows 10 and qt 5.6.2 to 5.9, so if qt script is removed since the 5.6, its possible than use qt 5.4 or older resolve this problem ?

    thank you for your help :)


  • Moderators

    @MairigPEACE said in :-1: erreur : Unknown module(s) in QT: script:

    its possible than use qt 5.4 or older resolve this problem ?

    yes


  • Lifetime Qt Champion

    Rather go with 5.5 but in any case, the module is not hard to build so you should rather go with a recent version of Qt.


Log in to reply