Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QTextStream initialization error #125

Closed
exp0nge opened this issue Jul 27, 2015 · 0 comments
Closed

QTextStream initialization error #125

exp0nge opened this issue Jul 27, 2015 · 0 comments

Comments

@exp0nge
Copy link

exp0nge commented Jul 27, 2015

I am trying to initialize QTextStream to stdout, but am getting this error. I am trying to redirect stdout, while following the PySide docs (even though it doesn't use proper Python syntax).

stream = QtCore.QTextStream(sys.stdout)

TypeError: 'PySide.QtCore.QTextStream' called with wrong argument types:
  PySide.QtCore.QTextStream(file)
Supported signatures:
  PySide.QtCore.QTextStream()
  PySide.QtCore.QTextStream(PySide.QtCore.QByteArray, PySide.QtCore.QIODevice.OpenMode = QIODevice.ReadWrite)
  PySide.QtCore.QTextStream(PySide.QtCore.QIODevice)
@exp0nge exp0nge closed this as not planned Won't fix, can't repro, duplicate, stale Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant