View Full Version : Qt creator 2.7 - how to change/add a compiler flag for a selected compiler?
TorAn
7th March 2014, 17:42
(under windows, compiler is autodetected vs2013)
When I try to compile I am getting the error:
cl : Command line error D8021 : invalid numeric argument '/FS'
Question: how to change the compiler flag?
sonulohani
11th March 2014, 06:18
Examine the project properties (Configuration Properties-> C/C++ ->Command Line) it should suppose to appears some unwanted flags that might look like:
"/Zm1000 -Wno-deprecated -mwin32 -mthreads /bigobj"
just remove the marked flag, compilation will complete correctly.
TorAn
11th March 2014, 12:02
Are you sure you are giving the instructions for QtCreator and not for Visual Studio?
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.