Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/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.

    Dump:

    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:
    
        Qt5ScriptConfig.cmake
        qt5script-config.cmake
    
      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 [https://stackoverflow.com/questions/37730776/error-when-installing-marble-for-qt5-could-not-find-a-package-qt5scriptconfig-c]. But I can only find installers for Linux variants.
    I am curently working on a windows environment. Any help would be appreciated.
    Thanks


  • Lifetime Qt Champion

    hi
    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