My python version is 2.7.3.
If there is no cast from QString to string, an error occurs in re.search like this.
  File "/home/higuchi/Projects/freeseer/test/freeseer/src/freeseer/tools/youtube_uploader/uploader_widget.py", line 158, in search_video
    if not(re.search(title,meta[i][0])) and title:
  File "/usr/lib/python2.7/re.py", line 142, in search
    return _compile(pattern, flags).search(string)
  File "/usr/lib/python2.7/re.py", line 238, in _compile
    raise TypeError, "first argument must be string or compiled pattern"
TypeError: first argument must be string or compiled pattern