Please don't duplicate all the code with extract_strings_qt.py, move the common code to a function in a module and import it