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. Problems with Visual Studio Add-In 1.2.0 and VS2010 in WIN64bit
Qt 6.11 is out! See what's new in the release blog

Problems with Visual Studio Add-In 1.2.0 and VS2010 in WIN64bit

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.5k 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.
  • H Offline
    H Offline
    HarrySatt
    wrote on last edited by
    #1

    I have build Qt 5.0.0 for Win64 successful. I installed Visual Studio Add-In 1.2.0 and selected the Qt version for the VS2010. Then I created a Qt application. I wanted to use precompiled headers. The first problem ist that I see a #include "QWidgets" which will not be found for include. I removed this statement. It is not needed. After that it compiles correct, but linking fails because all lib files used have a 5 added at the end but that lib names I do not find in the QBase/lib. So I removed the 5 from the end of the lib names in the lib definitions in the project properties and it compiled fine without problems. This relies to debug and release version. So this might be an error, I think.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      steno
      wrote on last edited by
      #2

      This is a known issue and has been resolved in the next release "Bug":https://bugreports.qt-project.org/browse/QTVSADDINBUG-142

      1 Reply Last reply
      0
      • H Offline
        H Offline
        HarrySatt
        wrote on last edited by
        #3

        There is a second problem in the plugin. If you create an Qt5 app with precompiled headers you get
        #include “QWidgets” in the stdafx.h which is not possible to be compiled because QWidgets can not be included by the preprocessor. Can I but this to a bug report or how a bug is reported.

        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