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



  • 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.



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



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.