[SailfishDevel] Prototype 'TextBaseItem' from 'TextBase' could not be resolved (M301)

info at flyingfischer.ch info at flyingfischer.ch
Sat Jun 14 09:20:06 UTC 2014


You can take a look at the code here:

https://github.com/flyingfischer/SC-App

Early stage, not much of real functionality in it yet...

Thanks for any inputs!
Markus

Am 14.06.2014 09:35, schrieb Andrey Kozhevnikov:
> you need to show your code :)
>
> 14.06.2014 13:34, info at flyingfischer.ch пишет:
>> I wonder if this is connected to this message in the console of the
>> IDE version 1406, when deploying the App:
>>
>> (process:1529): dconf-CRITICAL **: unable to open file
>> '/etc/dconf/db/vendor': /etc/dconf/db/vendor: invalid gvdb header;
>> expect degraded performance
>>
>> The editor marks TextField red with "Prototype 'TextBaseItem' from
>> 'TextBase' could not be resolved (M301)", but it still can get deployed.
>>
>> Existig pages continue to work. But when I create a new page I get
>>
>> [W] unknown:111 -
>> file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:111: TypeError:
>> Cannot call method 'connect' of undefined
>>
>> I tried different things like, cleaning the project, crating a new
>> project and copying the pages into it.
>>
>> Am I missing some dependencies? I work on Ubuntu 64 bit.
>>
>> Markus
>>
>> Am 13.06.2014 10:01, schrieb info at flyingfischer.ch:
>>> Hello
>>>
>>> The IDE gives me en error on the "TextField" element. I couldn't find
>>> anything to resolve it.
>>>
>>> Thank you for your inputs!
>>> Markus
>>>
>>> [Translated to english from the german error message:]
>>> Prototype 'TextBaseItem' from 'TextBase' could not be resolved (M301)
>>>
>>> This is the page structure I use:
>>>
>>> import QtQuick 2.0
>>> import Sailfish.Silica 1.0
>>>
>>>
>>> Page {
>>> id: myPage
>>>
>>> SilicaFlickable {
>>> id: flick
>>> ...
>>>
>>> Column {
>>> id: contentColumn
>>> ...
>>>
>>> PageHeader {
>>> title: "My Title"
>>> }
>>>
>>> TextField {
>>> id:textEditor
>>> ...
>>> }
>>> }
>>> }
>>> }
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscribe at lists.sailfishos.org
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org


More information about the Devel mailing list