Hi, I want to turn on the compiler's optimization. How can I do it?
Thanks.
Hi, I want to turn on the compiler's optimization. How can I do it?
Thanks.
When building your project? When building Qt? What optimizations you are talking about?...
I mean when I need to release my project.
Build it in release mode and the check the compiler commands... at least for my GCC toolchain the -O2 flag is already specified. If you really need/want to add to/change that you can use the QMAKE_CXXFLAGS_RELEASE qmake variable.
tonylin0826 (7th September 2012)
That is what I am asking for. Thanks a lot. )
Even you can use mingw32-make -j{COUNT_CORE}
Bookmarks