Qmake WARNING: Failure to find: xxxxxx.h
-
Hi all,
I am trying to port a project to from Qt4 to Qt5 and these are the steps I followed:1.Downloaded and installed Qt 5.1 for vs2010 (OPENGL)
2.Disabled the removed modules like PHONON and applied some required changes like this
@
#CONFIG += qaxcontainer
QT+=axcontainer
@When I run qmake(from the command prompt),a bunch of warnings pops up saying it failed to find the files I know are in the project.In fact ,the last version of Qt we used(Qt 4.8.1) compiles the project just fine.
I double checked the files and even forcibly added them to the master project file and the results were the same.
When I bypass those warnings and run nmake ,I just get the following errors:
@
NMAKE:-1: error: U1073: don't know how to make 'AnnotsHandler.cpp'
NMAKE:-1: error: U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
@
AnnotsHandler.cpp is also in the project but this is probably due to an erroneous generated makefile from the previous qmake call.My setup is :
Windows7
VS2010
Qt 5.1.0 MSVC2010 32bit OpenGLAny help would be appreciated.
Thanks.