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 112 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 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?

    jsulmJ 1 Reply Last reply
    0
    • S surajgoswami

      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?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote 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 last edited by
        #3

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

        jsulmJ 1 Reply Last reply
        0
        • S surajgoswami

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

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote 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

          • Login

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