Split google main into normal and qt-based