On Fri, Aug 27, 2010 at 9:33 AM, Sulamita Garcia <[email protected]> wrote:
> I know, it's hard to believe, isn't?
I believe :P
> [sulam...@atomina samegame]$ pwd
> /home/sulamita/src/samegame
> [sulam...@atomina samegame]$ ls *.qml
> Block.qml Button.qml samegame.qml
> [sulam...@atomina samegame]$ ./samegame
> file:samegame.qml:29:3: Button is not a type
> Button {
> ^
>
> Maybe I should do a printscreen, everybody asks the the same question...
Try adding the import path with:
view.engine()->addImportPath( QCoreApplication::applicationFilePath() );
Maybe this should solve your issue?
Cheers,
--
-------------------------------------------------------
Artur Duque de Souza
openBossa
INdT - Instituto Nokia de Tecnologia
-------------------------------------------------------
Blog: http://blog.morpheuz.cc
PGP: 0xDBEEAAC3 @ wwwkeys.pgp.net
-------------------------------------------------------
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml