Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Getting error finding Qt versions and kits after changing the Qt location.
Forum Updated to NodeBB v4.3 + New Features

Getting error finding Qt versions and kits after changing the Qt location.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 198 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.
  • S Offline
    S Offline
    surajgoswami
    wrote 19 days ago last edited by
    #1

    Screenshot from 2025-06-17 11-37-17.png Screenshot from 2025-06-17 11-37-04.png

    I'm working with Qt version 5.15.2. I recently changed the Qt installation directory, but Qt Creator still tries to use the old location when linking Qt.
    I have already updated all the paths and environment variables to point to the new directory. However, when I go to Qt Versions in Qt Creator, it still fetches the old paths and shows errors related to finding kits and versions.

    I have also deleted all old configuration files and caches, but that didn’t help.
    Can someone please help me fix this issue?

    J 1 Reply Last reply 19 days ago
    0
    • S surajgoswami
      19 days ago

      Screenshot from 2025-06-17 11-37-17.png Screenshot from 2025-06-17 11-37-04.png

      I'm working with Qt version 5.15.2. I recently changed the Qt installation directory, but Qt Creator still tries to use the old location when linking Qt.
      I have already updated all the paths and environment variables to point to the new directory. However, when I go to Qt Versions in Qt Creator, it still fetches the old paths and shows errors related to finding kits and versions.

      I have also deleted all old configuration files and caches, but that didn’t help.
      Can someone please help me fix this issue?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote 19 days ago last edited by
      #2

      @surajgoswami I guess you moved the folder containing Qt to other location?
      This is problematic because Qt uses rpath to store the locations of libraries. See https://en.wikipedia.org/wiki/Rpath
      You should rather reinstall Qt in the new location.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        surajgoswami
        wrote 18 days ago last edited by
        #3

        Yeah, I have moved the folder containing Qt. Is there no other solution than reinstalling Qt?

        J 1 Reply Last reply 18 days ago
        0
        • S surajgoswami
          18 days ago

          Yeah, I have moved the folder containing Qt. Is there no other solution than reinstalling Qt?

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote 18 days ago last edited by
          #4

          @surajgoswami You would need to patch the binaries (Qt libs) to change the rpath, but reinstalling Qt is easier.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          3/4

          18 Jun 2025, 02:59

          • Login

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