VS plugin and qmake
-
Hello All,
I am kind of confused why do i get different vcxproj file if I generate it via MSVS plugin and if I generate it from command prompt using qmake.
I see when I use plugin and and try to load (Open Qt project file.. .pro) it says in output window
“--- (qmake) : Arguments: -tp vc "myProject.pro" -o "myProject.vcxproj" QMAKE_INCDIR_QT=$(QTDIR)\include QMAKE_LIBDIR_QT= QMAKE_LIBDIR=$(QTDIR)\lib QMAKE_UIC=$(QTDIR)\bin\uic.exe QMAKE_MOC=$(QTDIR)\bin\moc.exe QMAKE_RCC=$(QTDIR)\bin\rcc.exe QMAKE_QMAKE=$(QTDIR)\bin\qmake.exeif I use exact same thing from command prompt using qmake I get different vcxproj file? or If I do simple qmake -tp vc it is again different than the vcxproj file generated by plugin. can any one please let me know why is this happening what is so special this plugin does for project file?
-
Any bad effects from the different vcxproj files? I seldom take care of vcxproj files when using vs plugin. pro file is more important.
-
yup pro file is important and you will not care if you are using Creator, but you will hve to take care if you are using MSVS IDE, because if something is messed in vcxproj file then your build will also be messed up. and unfortunately this is what happening with me at the moment :(
-
I am also using MSVS IDE. You can try import your project from MSVS menu "Qt" --> Open Qt project file. Then other ms files will be udpated.
[quote author="mprakash" date="1310973711"]yup pro file is important and you will not care if you are using Creator, but you will hve to take care if you are using MSVS IDE, because if something is messed in vcxproj file then your build will also be messed up. and unfortunately this is what happening with me at the moment :([/quote] -
The problem is we can not use vs plug-in due to some historical issue.
and have to use qmake from command prompt:(