Ok thanks Matthias,

Just one last thing is in qt declarative plugins example, it declared 
uri = "com.nokia.TimeExample" so in "ImportPath" what must have specify 
and what must be in "qmldir" file ?

Thanks !!!

FLORET Alain
Developer
CORYS TESS
E-mail : [email protected]
--


Le 16/04/2010 13:53, Matthias Ettrich a écrit :
> If you don't get debug output on windows, why not run qml.exe in a debugger to
> see the debug output? After all that's what stderr is for :)
>
>
> A standalone application is easy, just create a small wrapper application like
> this:
>
>
> --------------------------------
> #include<QApplication>
> #include<QDeclarativeView>
> #include<QDeclarativeEngine>
>
> int main(int argc, char *argv[])
> {
>      QApplication application(argc, argv);
>      QDeclarativeView view;
>
>       // this is the equivalent of passing -I . to the qml runtime
>      view.engine()->addImportPath(QApplication::applicationDirPath());
>
>      view.setSource("plugins.qml"));
>      view.show();
>      return application.exec();
> }
> --------------------------------
>
>
>   Matthias
>
>
> On Friday 16 April 2010 11:46:16 ext Alain FLORET wrote:
>    
>> I'm on the master branch and nothing run on my machine when i execute
>> this command !!!
>>
>> How can i use whitout "qml.exe" but into my own application ?
>>
>> Thanks.
>>
>> FLORET Alain
>> Developer
>> CORYS TESS
>> E-mail : [email protected]
>> --
>>      
>
>    
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to