Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Using QT5 in vs2012 after compiling
Forum Updated to NodeBB v4.3 + New Features

Using QT5 in vs2012 after compiling

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.6k 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.
  • J Offline
    J Offline
    jbersek
    wrote on last edited by
    #1

    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
    nmake

    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?

    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