[Interest] TEMPLATE=lib creating executable config for Visual Studio project files
Thiago Macieira
thiago.macieira at intel.com
Sun Nov 13 04:12:45 CET 2016
On sábado, 12 de novembro de 2016 19:14:37 PST Bob Hood wrote:
> QMAKE isn't behaving the way I'm expecting. I've tried 4.8.6, 5.4.2 and
> 5.6.2, and this bare-bones QMAKE .pro file keeps generating Visual Studio
> project files (.vcproj and .vcxproj) that have an "Application"
> configuration with an ".exe" extension when I run "qmake -t vcapp":
The problem is in your explanation above. Specifically in the "app" part of
"-t vcapp"
You asked qmake to change the TEMPLATE to "vcapp". So of course it created an
application. If you wanted a library, you should have used -t vclib.
Or, better yet, qmake -tp vc
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list