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. LNK1112 after updating my project from Qt5 to Qt6...

LNK1112 after updating my project from Qt5 to Qt6...

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 204 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.
  • U Offline
    U Offline
    U7Development
    wrote on last edited by
    #1

    Hi!..

    I was developing for 32bit systems using Qt 5... (used vcvars32.bat and mscv 32 bit 2019 compiler).
    While installing 6.1, I noticed there was no 32 bit compiler for installation so I installed 64 default ones (mingw and msvc)

    When i try to build, the error appears:

    fatal error LNK1112: tipo de equipo del módulo 'x64' en conflicto con tipo de equipo de destino 'x86'
    

    it is logic that this error happens since my project was being developed for 32...
    I'm manually compiling my program (not using IDE)... what do i need to add/remove from my Project file to handle this?

    Thanks.

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Remove the build dir and do a clean build with the new compiler and Qt

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      3
      • U Offline
        U Offline
        U7Development
        wrote on last edited by
        #3

        perfect.. thanks

        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