Solved turn off all the build warning
-
in my app i included some 3rd party library.
as my app has different licensing so i can't fix those issue(or not capable of).so i want to turn off the warnings.
i write this on the qmake of that 3rd party library. but warnings are still showing# CONFIG(release):DEFINES += warn_off
i found that in this site qt
i did i missed? -
@saber I would not disable all warnings, you should not ignore warnings. Warnings can point to serious issues. In serious projects warnings are even treated as errors.
To me it is not clear why you can't fix the warnings: can't you ask the authors of the library to fix them? -
@jsulm
the library is by lxqt.and they dose not want to put time and resource on fix this.
also i have no complain on that .
i just want to turn off all the 3rd party library warning as i have no intention or way to fix those.
i know it is not a good practice , but on Release build i want to turn them off. -
-
@jsulm
now it's working.
thanks