QFileInfo().created() 警告 created is deprecated 怎么改?
有这样一行代码操作:
QFileInfo(...).created().toString(...); QtCreator提示警告: 'created' is deprecated 'created' has been explicitly marked deprecated here expanded from macro 'QT_DEPRECATED_X' expanded from macro 'Q_DECL)DEPRECATED_X' expanded from macr 'Q_DECL_DEPRECATED'
请教各位网友,建议的做法是什么样子??