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. How to have multiple Qt Kits using pre-built libraries? (and not building them) [SOLVED]
Forum Updated to NodeBB v4.3 + New Features

How to have multiple Qt Kits using pre-built libraries? (and not building them) [SOLVED]

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 1.8k Views 1 Watching
  • 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
    amahta
    wrote on last edited by
    #1

    Hi
    Maybe the title is a little bit vague but here it goes,
    I want to have Qt 5.3.1 MinGW and MSVC2010 and MSVC2012 altogether.
    What I am doing is that I first install Qt 5.3.1 MinGW into default directory and then install the other two into different folders.
    Then I copy the build folder for the other two into another place so that I can uninstall them.
    After that I add two new kits using the qmake files inside the two MSVC folders.
    But the problem is that when I try to build the project using newly added kits, it looks for the lib files inside the folder that was used to install them and not the new folder that I have copied them there.

    Anyone has any ideas? Does qmake add lib references from a file created during installation or something?!

    Thou shalt programme
    http://www.amin-ahmadi.com

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      If I understand correctly, you would like to have multiple qt kits in same and use them. If that is the question, you can install many kits in same box and configure them Qt creator kits. I have MING and VC in same box. You need to configure them in QtCreator->Tools->Options->Build and Run

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0
      • A Offline
        A Offline
        amahta
        wrote on last edited by
        #3

        [quote author="Dheerendra" date="1403701331"]If I understand correctly, you would like to have multiple qt kits in same and use them. If that is the question, you can install many kits in same box and configure them Qt creator kits. I have MING and VC in same box. You need to configure them in QtCreator->Tools->Options->Build and Run[/quote]

        Yes, thanks but I already know this. What I asked is that if I move the installation (pre-built binaries to be specific) to another folder and configure Qt to use that, it wont work! and Qt still looks for the libs in the folder that I used during the installation

        Thou shalt programme
        http://www.amin-ahmadi.com

        1 Reply Last reply
        0
        • dheerendraD Offline
          dheerendraD Offline
          dheerendra
          Qt Champions 2022
          wrote on last edited by
          #4

          If i remember correctly you need to reset QDIR(hope this is correct env variable) to new directory. Then it shuld work fine.

          Dheerendra
          @Community Service
          Certified Qt Specialist
          http://www.pthinks.com

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            You can't just move a Qt installation to another folder. Search for "windows move qt installation directory" and you should get what you need to do it properly

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • A Offline
              A Offline
              amahta
              wrote on last edited by
              #6

              [quote author="SGaist" date="1403733415"]Hi,

              You can't just move a Qt installation to another folder. Search for "windows move qt installation directory" and you should get what you need to do it properly[/quote]

              Thanks SGaist. I found "this very useful link":http://qt-project.org/faq/answer/is_it_possible_to_move_the_qt_directory_to_another_directory_after_installa by searching for "windows move qt installation directory"

              This is solved!

              Thou shalt programme
              http://www.amin-ahmadi.com

              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