enforce linking qt with matching debug/release config
restructure template (cmake todo)