[Interest] TEMPLATE=lib creating executable config for Visual Studio project files
Bob Hood
bhood2 at comcast.net
Sun Nov 13 04:41:01 CET 2016
On 11/12/2016 8:12 PM, Thiago Macieira wrote:
> 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
Geez, I just knew I was being stupid.
Thanks, Thiago.
More information about the Interest
mailing list