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 set the proper version of QT for VS2010 when supporting multipule versions of QT
Forum Updated to NodeBB v4.3 + New Features

How to set the proper version of QT for VS2010 when supporting multipule versions of QT

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 595 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.
  • C Offline
    C Offline
    cmenot
    wrote on last edited by
    #1

    Hi all I have a setup where we use qt 4.7.4, qt 4.8.6 32 bit and 4.8.6 64 bit. I have added all three versions to Visual Studio 2010 and I can select each version as the default manually without issues. However when automating the build I use CMake to select the proper QT/VS version. However how do I set the proper default QT version in VS 2010 programmatically such that I can build the following one after another on the same machine: 32bit build with QT 4.7.4, 32 bit build with QT 4.8.6_WIN32, and finally a 64 bit build with QT 4.8.6_WIN64?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cmenot
      wrote on last edited by
      #2

      After a lot of digging I finally figured out that CMake is the utility that is doing the mocing of the files and setting up all the paths to everything. For Compiling and linking you do not need any QT plugin setup in VS2010.

      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