Important: Please read the Qt Code of Conduct -

Qt5ScriptConfig required

  • Hi,
    I am currently trying to compile a code using CMake. The same started giving me errors for Qt5 not found and later for some .dll files.
    I set the path and downloaded the dll files, but currently I am getting an error for Qt5ScriptConfig.


    CMake Error at D:/Qt/Tools/Qt3DStudio/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package):
      Could not find a package configuration file provided by "Qt5Script" with
      any of the following names:
      Add the installation prefix of "Qt5Script" to CMAKE_PREFIX_PATH or set
      "Qt5Script_DIR" to a directory containing one of the above files.  If
      "Qt5Script" provides a separate development package or SDK, be sure it has
      been installed.
    Call Stack (most recent call first):
      qtsrc/CMakeLists.txt:22 (find_package)

    I searched for it and found that the same can be fixed by installing qt5script-dev []. But I can only find installers for Linux variants.
    I am curently working on a windows environment. Any help would be appreciated.

  • Lifetime Qt Champion

    is that not
    Qt script ?

    alt text

    you can install it using maintenancetoo.exe

  • @mrjj
    Silly me. Didn't see the maintenance tool. I'll try it out.
    Thanks for the swift answer.

Log in to reply