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. Version Confusion
Forum Updated to NodeBB v4.3 + New Features

Version Confusion

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 792 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.
  • F Offline
    F Offline
    frankiefrank
    wrote on last edited by
    #1

    I've recently accidentally installed the wrong version of Qt: Got 5.1.0 64bit for VS2012, when I needed 32bit for VS2010 with OpenGL. I've uninstalled and installed the right version.

    I've updated my path variables:
    QTDIR is C:\Qt\Qt5.1.0\5.1.0\msvc2010_opengl
    QMAKESPEC is win32-msvc2010

    However now when I'm trying to build something (QWT), I get this error:

        cd src\ && ( if not exist Makefile C:\Qt\Qt5.1.0\5.1.0\msvc2010_opengl\b
    

    in\qmake.exe E:\Software\qwt-6.1.0\src\src.pro -o Makefile ) && E:\Software\qwt-
    6.1.0\jom.exe -f Makefile
    E:\Software\qwt-6.1.0\jom.exe -f Makefile.Release all
    Error: dependent 'C:\Qt\Qt5.1.0\5.1.0\msvc2012_64_opengl\include\QtCore\qglobal.
    h' does not exist.

    I don't understand why it searches for the older Qt version (2012 / 64bit) but of course it's not there, and I can't build my project.

    Is there anywhere I should look to make sure I'm switched to the right version?

    "Roads? Where we're going, we don't need roads."

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Probably some stale Makefile or configuration. Try a clean rebuild.

      (Z(:^

      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