Merging the android plugin to Qt Creator

Daniel Teske daniel.teske at nokia.com
Tue Jul 26 15:25:40 CEST 2011


> >>  >0005-Simplfy-template-code.patch
> >>  
> >>  Not pushed, without setBaseUrl thing, qml engine will add file:// in
> >>  front of  the file and it will not work with current android assets
> >>  implementation which need a file patch to start with a "/" or
> > 
> > directly
> > 
> >>  with its name.
> > 
> > Ah, that's reason. then I'd suggest moving the setBaseUrl to the
> > private, that
> > is applying the patch + readding the setBaseUrl in the private class.
> 
> Sorry, you lost me :) ... a little more help will be very appreciated :)
Actually, what I suggested wouldn't work. I just dislike the setting of 
baseUrl in a method called setMainQml. The user might opt to not call it.
Maybe it's best moved to the constructor, like in the attached patch.
Though I wouldn't be too concerned to leave that open for now.

daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Simplfy-template-code.patch
Type: text/x-patch
Size: 1477 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/necessitas-devel/attachments/20110726/1856c34e/attachment.patch 


More information about the Necessitas-devel mailing list