CONFIG += qt warn_on thread CONFIG += release # Comment the lines bellow if you want to build QTeXEngine statically #CONFIG += QTeXEngineDll