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. Cannot build after move to Qt5.2.1

Cannot build after move to Qt5.2.1

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 929 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
    user001
    wrote on last edited by
    #1

    Just installed the latest release with Qt Creator 3.0.1 on Windows via the binary executable. The working existing project (Qt5.0.2) cannot compile any more. Some errors are listed here:

    • error: C1083: Cannot open include file: 'QtWidgets': No such file or directory
      error: C2248: 'QThread::sleep' : cannot access protected member declared in class 'QThread'*

    I thought it should be no changes between Qt5s.
    After I uninstalled the Qt5.0.2 and installed the Qt5.2.1. I launched the project from the File -> Recent Project. And then did the configuration (didn't change anything actually), Run qmake and then Build project.

    How to fix these errors?

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

      Remove .pro.user file from your project, remove the Makefile and your build directory. Then open the project in Qt Creator, run qmake and 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