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

2014-06-18 Thread i...@flyingfischer.ch

Just in case any body else runs into the error

(process:957): dconf-CRITICAL **: unable to open file 
'/etc/dconf/db/vendor': /etc/dconf/db/vendor: invalid gvdb header; 
expect degraded performance


I got this error only with the VirtualBox OSE (Open Source Edition) on 
Ubuntu. That's how I resloved it:


Deinstalled Sailfish IDE

sudo apt-get purge virtualbox virtualbox-qt virtualbox-dkms 
virtualbox-guest-dkms


Install Virtualbox from here

https://www.virtualbox.org/wiki/Linux_Downloads

Reinstall Sailfish IDE

Markus
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


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

2014-06-17 Thread Juha Kallioinen

On 16.06.2014 19:18, i...@flyingfischer.ch wrote:

Thanks for the information!

The import statement makes the TextField error disappear. But the 
other errors remain


(process:957): dconf-CRITICAL **: unable to open file 
'/etc/dconf/db/vendor': /etc/dconf/db/vendor: invalid gvdb header; 
expect degraded performance


and when creating a new page:

[W] unknown:111 - 
file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:111: TypeError: 
Cannot call method 'connect' of undefined


I will try to investigate further...



Hi,

I cloned your github project and built it and deployed it to the 
Sailfish OS Emulator. At least, I'm not seeing that dconf-CRITICAL 
message. Perhaps you've managed to resolve it?


You say that you're not installing your App to the phone, so I assume 
you're installing it to the Sailfish OS Emulator? It mostly seems to 
work for me.


I do get that [W] unknown:111 - warning when clicking through the 
different pages, but I think that is a problem in your application, 
which you should be able to resolve.


Best regards,
 Juha
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


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

2014-06-17 Thread i...@flyingfischer.ch

Thanks Juha for checking this out! This helps me to circle the issue...

Yes I am using the Sailfish OS Emulator right now. Not much to deploy to 
the phone right now.


I will set up the IDE on a different box and try out different versions 
of Virtualbox.


Best regards
Markus



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


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

2014-06-16 Thread Juha Kallioinen

On 13.06.2014 11:01, i...@flyingfischer.ch wrote:

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)


Hi,

the error you are seeing is a problem with Qt Creator finding 
documentation for the TextField element. You can use the element, but 
for some reason Qt Creator cannot resolve the documentation link correctly.


If you add this line to your qml file, Qt Creator is able to resolve the 
TextField doc link and points you to the Silica documentation:


import QtQuick.Controls 1.0

This way you can read the documentation (or just search for it in the 
Help index), but you should not leave it to your code or you may get an 
error when running your program. Why that import statement helps is 
because TextField is also an element of the Qt QML.


Summary: This is a bug in how Qt Creator is able to resolve 
SailfishSilica documentation.


Best regards,
 Juha

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


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

2014-06-15 Thread Mohammed Hassan
On Sat, Jun 14, 2014 at 09:34:13AM +0200, i...@flyingfischer.ch wrote:
 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

Does that error come from the phone itself? If so then that'd be indeed 
alarming.

Cheers,
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


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

2014-06-15 Thread i...@flyingfischer.ch
No, it comes from the new version of the IDE. The App is early stage, 
never been depolyed to a real phone yet. The IDE is running on Kubuntu 
14.04 in 64 bit.


There are a bunch of other new warnings in this version of the Sailfish 
QT Creator (see below). Out of which this debug message is very strange too:


[D] MDesktopEntryPrivate::MDesktopEntryPrivate:126 - Specified Desktop 
file does not exist /usr/share/applications/SC-App.desktop


Actually the file exists, but the IDE seems to be looking for it in 
/usr/share/applications/


Maybe there are some path and/or environment variable problems?

The App continues to work, as long as I do not create a new page. If so 
there will be


[W] unknown:111 - 
file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:111: TypeError: 
Cannot call method 'connect' of undefined


Markus

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

Full log:

[D] QQmlDebuggingEnabler::QQmlDebuggingEnabler:1392 - QML debugging is 
enabled. Only use this in a safe environment.

[D] QWaylandEglIntegration::QWaylandEglIntegration:58 - Using Wayland-EGL
[D] MDesktopEntryPrivate::MDesktopEntryPrivate:126 - Specified Desktop 
file does not exist /usr/share/applications/SC-App.desktop
[W] QQmlImportDatabase::importPlugin:1697 - Module 'Sailfish.Silica' 
does not contain a module identifier directive - it cannot be protected 
from external registrations.


(process:957): dconf-CRITICAL **: unable to open file 
'/etc/dconf/db/vendor': /etc/dconf/db/vendor: invalid gvdb header; 
expect degraded performance
[W] MGConfItem::update_value:77 - MGConfItem Failed to read 
/meegotouch/theme/name
[W] MGConfItem::update_value:77 - MGConfItem Failed to read 
/desktop/jolla/theme/font/sizeMultiplier
[W] MGConfItem::update_value:77 - MGConfItem Failed to read 
/desktop/jolla/theme/font/sizeThreshold
[W] MGConfItem::update_value:77 - MGConfItem Failed to read 
/desktop/sailfish/silica/theme_pixel_ratio
[D] MLocalThemeDaemonClient::readImage:176 - Unknown theme image: 
graphic-interface-rounded-corner
[W] unknown:386 - 
file:///usr/lib/qt5/qml/Sailfish/Silica/ApplicationWindow.qml:386:9: QML 
Image: Failed to get image from provider: 
image://theme/graphic-interface-rounded-corner
[D] MLocalThemeDaemonClient::readImage:176 - Unknown theme image: 
graphic-interface-rounded-corner
[W] unknown:373 - 
file:///usr/lib/qt5/qml/Sailfish/Silica/ApplicationWindow.qml:373:9: QML 
Image: Failed to get image from provider: 
image://theme/graphic-interface-rounded-corner
[D] MLocalThemeDaemonClient::readImage:176 - Unknown theme image: 
graphic-interface-rounded-corner
[W] unknown:361 - 
file:///usr/lib/qt5/qml/Sailfish/Silica/ApplicationWindow.qml:361:9: QML 
Image: Failed to get image from provider: 
image://theme/graphic-interface-rounded-corner
[D] MLocalThemeDaemonClient::readImage:176 - Unknown theme image: 
graphic-interface-rounded-corner
[W] unknown:355 - 
file:///usr/lib/qt5/qml/Sailfish/Silica/ApplicationWindow.qml:355:9: QML 
Image: Failed to get image from provider: 
image://theme/graphic-interface-rounded-corner
[D] MLocalThemeDaemonClient::readImage:176 - Unknown theme image: 
graphic-shader-texture
[W] unknown:19 - 
file:///usr/lib/qt5/qml/Sailfish/Silica/private/Wallpaper.qml:19:9: QML 
Image: Failed to get image from provider: 
image://theme/graphic-shader-texture
[W] MGConfItem::update_value:77 - MGConfItem Failed to read 
/desktop/jolla/silica_framerate
[D] DeclarativeCoverWindow::DeclarativeCoverWindow:63 - 
DeclarativeCoverWindow: I have a default alpha buffer


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


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

2014-06-14 Thread i...@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 i...@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-unsubscr...@lists.sailfishos.org


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

2014-06-14 Thread Andrey Kozhevnikov

you need to show your code :)

14.06.2014 13:34, i...@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 i...@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-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

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

2014-06-14 Thread i...@flyingfischer.ch
...it's a local project. I try to set it up on a repository get back to 
the list.


My learning steps go public... ;-)

Thanks for your patience
Markus

Am 14.06.2014 09:35, schrieb Andrey Kozhevnikov:

you need to show your code :)

14.06.2014 13:34, i...@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 i...@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-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

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

2014-06-14 Thread i...@flyingfischer.ch

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, i...@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 i...@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-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

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

2014-06-13 Thread i...@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-unsubscr...@lists.sailfishos.org