3
When I compile my project as debug, it works normally, but when I try to compile in release appears the following message in the Output Compile:
cc1plus: error: argument to '-O' should be a non-negative integer, 'g', ’s' or 'fast' make: *** [main. o] Error 1 ... The process "/usr/bin/make" exited with code 2.
Error while building/deploying project 'project name' (kit: Desktop Qt 5.4.0 GCC 64bit) When executing step "Make"
Would anyone know why?
The problem is probably in your
.pro
. Add it to your question. Also add the command line being executed at the time of the error.– Vinícius Gobbo A. de Oliveira
I had this problem a while back, but I really don’t remember how I solved it.
– Rafael Bluhm
Thanks @Viníciusgobboa.deOliveira for the tip, really helped.
– Jhonny Pinheiro