[SailfishDevel] Sailfish and BidData

2014-02-28 Thread antonio . cano . gomez
Hi! I am interested in provide sailfish with some technology for big data. Someone knows is there is already some project going on? Best Regards and Thanks, A. Cano ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-27 Thread antonio . cano . gomez
Yes, it helped thanks. My problem now is different. I have some private attributes in my C++ object. When I call the first tiem I can modify the attributes, but in the second call the attributes dessapear. Is there a way to solve this problem? (The attributes a new C++ Object not declared as

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-27 Thread antonio . cano . gomez
Thanks, it helped a lot. In case someone have the same problem, this reference is also useful: http://qt-project.org/forums/viewthread/22312 El Jueves 27 de febrero de 2014 11:37, Jonni Rainisto escribió: Yes, if you read the documentation pragma library cannot access qml properties di

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-27 Thread antonio . cano . gomez
Hi sylvain, This is not the case a renamed the variable so the have exactly the same name. On the other hand, may be the problem is that I am calling it from .js file by the next code: .pragma library .import QtQuick 2.0 as QQ var appState; function getAppState() { return appState; } functi

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-26 Thread antonio . cano . gomez
Hi Andrey, The output is: ReferenceError: bloomfilterdata is not defined I am calling it from a .js Some idea about how can I  make that this is also defined there. Thanks! El Miércoles 26 de febrero de 2014 12:18, Andrey Kozhevnikov escribió: start app in terminal and show output plea

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-26 Thread antonio . cano . gomez
Hi Thomas, I did both modification but the code does not work yet. Here is the new code:     QGuiApplication *app = SailfishApp::application(argc, argv);     QQuickView *view = SailfishApp::createView();     Bloomfilters  * bloomfilters = new Bloomfilters();     view->rootContex

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-26 Thread antonio . cano . gomez
I tried this:     QGuiApplication *app = SailfishApp::application(argc, argv);     QQuickView *view = SailfishApp::createView();     Bloomfilters  * bloomfilters = new Bloomfilters();     view->setSource(SailfishApp::pathTo("qml/bloomfilter.qml"));     view->showFullScreen();

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-26 Thread antonio . cano . gomez
Hi J-P, It is not working as I try to call the method generateFilterInvokable2() in the function: function createBloomFilter() {     getAppState().filterCharged = true;     Bloomfilters.generateFilterInvokable2()     console.log("Called") } And as result "Called" is never printed. So I guess t

[SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-25 Thread antonio . cano . gomez
Hi, I am trying to do a simple Sailfish aplication that uses a c++ library.  I try to connect my qml code with the C++ code. First I create QObject extended library: #ifndef BLOOMFILTERS_H #define BLOOMFILTERS_H #include #include "svn/bloom-read-only/bloom_filter.hpp" class Bloomfilters :