Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved Qt5ScriptConfig required

    General and Desktop
    2
    3
    2546
    Loading More Posts
    • 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.
    • A
      Ankit.Jain last edited by

      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

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        hi
        is that not
        Qt script ?

        alt text

        you can install it using maintenancetoo.exe

        A 1 Reply Last reply Reply Quote 4
        • A
          Ankit.Jain @mrjj last edited by

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

          1 Reply Last reply Reply Quote 1
          • First post
            Last post