How to use CommonDialog in Qt Quick components?
-
Hi guys,
I am trying to use CommonDialog on meego application but always i got a message that say "CommonDialog is not a type
CommonDialog"So is it possible to use the commonDialog on meego platform?
-
What do you mean by CommonDialog? The Qt dialogs (FileDialog, ColorDialog, ...)
Or do you mean the common controls for qml? -
Sorry about this,
I mean the CommonDialog object in the Qt Quick components -
Can any body help?
-
I have the same problem. On both the Meego simulator and the emulator,QtCreator says that CommonDialog is not a type, either if CommonDialog.qml is available in the right folder of the simulator. The more strange thing is that by using a DatePickerDialog, a TumblerDialog, a QueryDialog and all other dialog types, no errors are reported and all works... :S
-
In MeeGo's Qt Quick Component, CommonDialog is not made public and only for internal use (inherit by other dialog eg. QueryDialog)
You can made your own CommonDialog by referencing to the "source file":https://qt.gitorious.org/qt-components/qt-components/blobs/master/src/meego/CommonDialog.qml