Refactoring integrate-qt.cmake