Asperamanca
15th October 2010, 20:34
Hi all,
I have been brainwashed this past Qt Dev days, and thought using QML would be great for a prototype I'm working on.
I have to admit, I'm stumbling a bit. One simple thing that I haven't been able to achieve is to format the current date properly, using a "longDate" formatting.
I've tried the JavaScript calls, which QML does not seem to recognize. I have tried QMLs native Qt.formatDate function, which does not show up in my Creator's AutoComplete (maybe the documentation reflects something else than the 4.7.0 version I have)?
How do I do it?
Qt version: 4.7.0
Creator version: 2.0
I have been brainwashed this past Qt Dev days, and thought using QML would be great for a prototype I'm working on.
I have to admit, I'm stumbling a bit. One simple thing that I haven't been able to achieve is to format the current date properly, using a "longDate" formatting.
I've tried the JavaScript calls, which QML does not seem to recognize. I have tried QMLs native Qt.formatDate function, which does not show up in my Creator's AutoComplete (maybe the documentation reflects something else than the 4.7.0 version I have)?
How do I do it?
Qt version: 4.7.0
Creator version: 2.0