fromString is a static function that returns the date; so you need to do: QDateTime b = QDateTime::fromString(as,time_format);.
確定! 回上一頁