I'm having difficulties figuring out how to use a QDateTime method in
PySide:
the following works:
julia> QtCore["QDateTime"][:currentDateTime]()
PyObject PySide.QtCore.QDateTime(2014, 5, 7, 23, 31, 44, 758, 0)
but when I try to convert it to a string with PySide I get:
julia>
QtCore["QDateTime"][:toString](QtCore["QDateTime"][:currentDateTime]())
ERROR: type: apply: expected Function, got PyObject
the equivalent Python expression would be:
QtCore.QDateTime.toString(QtCore.QDateTime.currentDateTime())
Any help appreciated.
Sam