Important: Please read the Qt Code of Conduct -

Using QT5 in vs2012 after compiling

  • i've been trying to get QT5 to work in vs2012 for 2 days now, and in the meanwhile i've seen a lot of topics on it

    so far i've gotten to downloading the source code and compiling it in the vs native tool with the following lines
    configure -developer-build -opensource -opengl desktop -nomake tests -nomake examples

    had no idea what to do then, so i installed the plugin for vs and with a bit of looking i got rid of the error by adding the qtbase folder (with qmake.exe) to the path in qt options. i don't know if that was the right thing to do though

    after that i still get red lines under all qt code when starting a new project
    and when trying to compile i get:
    Qt5Widgetsd.lib(Qt5Widgetsd.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

    what did i do wrong and what should i do?

Log in to reply