Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QT 5.1.0 Integration with VS 2012 Cant Build Converted VS 2010 Project(LNK2038: mismatch detected for '_MSC_VER')
Qt 6.12 LTS is out! See what's new in the release blog

QT 5.1.0 Integration with VS 2012 Cant Build Converted VS 2010 Project(LNK2038: mismatch detected for '_MSC_VER')

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 2.0k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi there!

    I'm having difficulties building a project that I inherited. Specifically, it was a QT 4.8.4 project that was developed in Visual Studio 2010. I have been asked to upgrade the project and am having trouble doing so. I'm now working in Visual Studio 2012 with QT Library 5.1 but after having worked through some linker errors, I've now gotten one that has stumped more than just me and was hoping to find someone with some more experience in the matter!

    The full error:

    qtmain.lib(qtmain_win.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in authenticate_widget.obj

    I understand this is a result of a difference in compilation of some source where it is expecting one version of VS but getting another. Let me know what more information I need to provide so that I can get help in figuring out a solution!

    Thanks,
    -K

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

      Hi and welcome to devnet,

      Just to be on the safe side: are you sure you downloaded Qt 5.1 for MSVC2012 ?

      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
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Hello and thank you for the quick response!

        Fortunately or unfortunately, depending on how you look at it, I have downloaded and been working with the correct version so that doesn't seem to be the problem. If you have any more suggestions or would like to know more details do let me know!

        Thanks!

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

          Then next:

          • Is your project source code only ?
          • Did you build it from scratch ?

          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

          • Login

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