def qtapi_version():
 try:
  import sip
 except ImportError:
  return
 try:
  return sip.getapi('QString')
 except ValueError:
  return

def qtapi_version ( ) : try : import sip except ImportError : return try : return sip . getapi ( 'QString' ) except ValueError : return
return which qstring api has been set .