Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

What is Unknow module(s) in QT?



  • I'm not familiar with Qt, so what exactly means this? How can I debug or at least find the source of the error?
    Look at this:
    387017f1-2dc9-4abe-be95-c92179476b99-image.png

    Unknow module(s) in QT: script
    

    In other words, for you newbie, there's no clue. :/



  • That means the project you are trying to build is configured to use the Qt Script module, but you haven't installed this module.
    Did you install Qt by apt? Try installing libqt5script5.
    (BTW, Qt Script module is deprecated)



  • This post is deleted!


  • Thanks for the reply.
    It's funny because it seems already installed.

    09f29f26-578a-499d-830f-d0970ab692bd-image.png

    Well, I used the installer, but as discussed here, I used a certain parameter to ignore some hash failures on the download: https://forum.qt.io/topic/115250/cannot-install-qt-on-linux-using-online-installer/19
    I don't know the real impacts of the workaround. :/

    About the project, just FYI, I'm not the dev, took it from GitHub. My main concern is not with Qt, but had to install it just to build the project...

    Also, here's the ostproto.pro file which has raised the error:

    https://github.com/pstavirs/ostinato/blob/master/common/ostproto.pro

    The project uses Protocol Buffers, which I had installed, but suspect that can be the source of the problem. Still, looking to the file, I could not identify what is exactly wrong... :(



  • If you use the installer, then you'd better not to install any qt component from apt. :)
    The Qt Script module need to be chosen from the installer manually.
    So you should run the maintenance tool, select add or remove components, and add Qt Script to your installation.



  • I see. I'm trying to check this out, but unfortunately the problem I had first at the installation is back, and now the workaround said on the other post (use --no-force-installations) did not work. :(
    fff82268-4595-419a-99f4-b4ae56dd62a3-image.png



  • @Bonnie I just uninstalled and installed from the scratch again, using the installer (not the maintainer) setting the --no-force-installations and now marking the Script module has you said. It worked. Thank you!


Log in to reply