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. QtCreator and vs2010
Qt 6.11 is out! See what's new in the release blog

QtCreator and vs2010

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 4 Posters 5.4k 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.
  • T Offline
    T Offline
    tomasz_grobelny
    wrote on last edited by
    #1

    Is it possible to use out of the box QtCreator on Windows (which I guess is compiled using VS2008) with VS2010? In particular: would VS2010 compiled custom control load into QtCreator to be used in design mode? If not, then how do I compile QtCreator for VS2010? Thanks in advance.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      The Qt creator is an IDE and comes with mingw compiler. You may use it with vs compilers as a tool chain, but you need Qt's lib compiled for the specific version of the compiler.

      MSVS2008 and MSVC2010 are IDEs with their own compilers. Note that the different version are not compatible. In principle you may use msvcs with other tool chains as well, but that is nothing I would recommend.

      The easiest is to use Qt creator with mingw or one of the msvcs with their compilers. Which route do you prefer?

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tomasz_grobelny
        wrote on last edited by
        #3

        I meant VS2008/VS2010 only as toolchain, not as IDE. I have QtSDK installed and currently use it with VS2008 toolchain and everything (including my custom controls) works just fine. But I would also like to be able to use VS2010 toolchain. I know that I will have to compile Qt library using VS2010 toolchain, but I'm wondering if that is enough. I remember that custom controls had to be compiled in Release mode to be successfully loaded by QtCreator. I'm wondering whether the fact that controls will be compiled using VS2010 will not prevent them from being loaded into QtCreator from QtSDK.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          loladiro
          wrote on last edited by
          #4

          Note, however, that you will need a version of Qt that was compiled with msvc2010. It should be possible (and not to complicated) to configure Qt Creator to use the 2010 Version, once you have a compatible Qt Version (most options should be configured automatically by Qt Creator).

          EDIT: You probably mean Designer Plugins. These have to be compiled with the same version that Qt Creator was (therefore you probably have to recompile Qt Creator from source).

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tobias.hunger
            wrote on last edited by
            #5

            Note that MSVC2010 has trouble when building Qt or Qt Creator in 64bit. You will need to apply hotfixes for that to work. IIRC the SP1 for MSVC2010 does not contain the necessary fixes.

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tomasz_grobelny
              wrote on last edited by
              #6

              Thanks for the info regarding 64bit version (even though I will not need it right now).
              Regarding Designer Plugins: I have custom date editing control + additional class to make the control visible in QtCreator/QtDesigner toolbox. So it seems I will have to recompile QtCreator as well. Is there any tutorial for that or is it easy enough that tutorial is not needed? One question that comes to mind is: which Qt modules are required by QtCreator?

              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