Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt5ScriptConfig required
QtWS25 Last Chance

Qt5ScriptConfig required

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 2.9k Views
  • 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 Offline
    A Offline
    Ankit.Jain
    wrote on last edited by
    #1

    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
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      hi
      is that not
      Qt script ?

      alt text

      you can install it using maintenancetoo.exe

      A 1 Reply Last reply
      4
      • mrjjM mrjj

        hi
        is that not
        Qt script ?

        alt text

        you can install it using maintenancetoo.exe

        A Offline
        A Offline
        Ankit.Jain
        wrote on last edited by
        #3

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

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved