def _qt_implementation(module):
    """Helper function to get name (PyQt4, PyQt5, PySide) and the QtCore module
    """
    global _qtcore
    name = module.name.split('.')[0]
    try:
        _qtcore = __import__(name, fromlist=['QtCore']).QtCore
    except RuntimeError:
        print(
            'WARNING: Tried to load multiple incompatible Qt wrappers. Some incorrect files may be copied.'
            )
    return name, _qtcore
