Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. With which Qtcreator to "link with" ?
Forum Update on Monday, May 27th 2025

With which Qtcreator to "link with" ?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 3 Posters 1.6k 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
    Anonymous_Banned275
    wrote on last edited by Anonymous_Banned275
    #1

    I think I have asked this before. but I am not sure - senior moment.
    I have "install" using Ubuntu and need to install it again using Qt Install but do not want to have both.

    qs@qs-desktop:~$ sudo find . / -name qtcreator
    ./.config/QtProject/qtcreator
    find: ‘/run/user/1000/gvfs’: Permission denied
    /usr/bin/qtcreator
    /usr/libexec/qtcreator
    /usr/lib/x86_64-linux-gnu/qtcreator
    /usr/share/doc/qtcreator
    /usr/share/qtcreator
    /usr/share/qtcreator/doc/qtcreator

    Here is the GUI dialog

    527130b2-8db3-4278-bf18-c5ae20629f5e-image.png

    After "Link with Qt "

    2946a393-1d21-42ab-aa45-20bc3cfd5980-image.png

    How do I find "Qt installation path ?"
    Qtcreator was installed using "sudo apt install qtcreator" and no installation path was selected - only Ubuntu default.

    With which one of the above "qtcreator" file should I browse / link with AND WHY ?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Paths look like Qt Creator is indeed installed through apt get. So:

      sudo apt remove qtcreator
      

      Should clean it up for you. Then you can install using Qt online installer, preferrably without root permissions.

      (Z(:^

      A 1 Reply Last reply
      1
      • sierdzioS sierdzio

        Paths look like Qt Creator is indeed installed through apt get. So:

        sudo apt remove qtcreator
        

        Should clean it up for you. Then you can install using Qt online installer, preferrably without root permissions.

        A Offline
        A Offline
        Anonymous_Banned275
        wrote on last edited by
        #3

        @sierdzio OK that will work but I still like to know with which copy of "qtcreator" to "link with" to get correct "kits" to work.

        sierdzioS 1 Reply Last reply
        0
        • A Anonymous_Banned275

          @sierdzio OK that will work but I still like to know with which copy of "qtcreator" to "link with" to get correct "kits" to work.

          sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          @AnneRanch said in With which Qtcreator to "link with" ?:

          @sierdzio OK that will work but I still like to know with which copy of "qtcreator" to "link with" to get correct "kits" to work.

          I don't understand the question, sorry.

          If I get it right, you want to have one copy of Qt Creator - in such case that will be the one to "link" to. But when you install through the Qt installer, the Qt version you choose will be linked to Qt Creator automatically. Any other Qt versions (compiled manually or installed elsewhere) need to be added manually in Qt Creator options.

          (Z(:^

          1 Reply Last reply
          1
          • S Offline
            S Offline
            SimonSchroeder
            wrote on last edited by
            #5

            Qt Creator is just the IDE and is independent of the Qt libraries (other than Qt Creator is itself a Qt application and needs Qt runtime libraries). You don't link against Qt Creator. You link against the Qt libraries. It is perfectly fine to have different Qt library versions installed, either major or minor versions. As long as they are in different directories, you are fine. For each kit you just select the corresponding qmake inside the install directory of the Qt library version. BTW: Never move/copy/rename the install location of your libraries. qmake will have that path baked in. I believe there are tricks around that, but the advice is: just don't do it.

            Each installation of Qt Creator can be configured to work with any Qt library. Two installations of Qt Creator might even share the kits configuration.

            1 Reply Last reply
            2

            • Login

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