[SailfishDevel] No QSerialPort

2014-03-19 Thread Wim de Vries
Hi all, My app cannot work without Q(t)SerialPort. Is there a plan to upgrade to Qt5.2, or a way to add the Qt5.1 (beta) QtSerial libs and headers? Thanks. ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] No QSerialPort

2014-03-23 Thread Wim de Vries
Thanks, I thought it came in with 5.2. So, it should be available in Sailfish. Have to recheck the errors, but it looked like the libs and headers were not there (QtSerialPort/QtSerialPort no such file). On 03/19/2014 09:39 PM, Alejandro Exojo wrote: El Wednesday 19 March 2014, Wim de Vries

Re: [SailfishDevel] No QSerialPort

2014-03-24 Thread Wim de Vries
The error in (qmake): :-1: error: Unknown module(s) in QT: serialport So, my guess is that there is no qserial lib. Any Sailfish person that can confirm/reject? Thanks. pro: QT += serialport .h: #include On 03/23/2014 10:35 PM, Wim de Vries wrote: Thanks, I thought it came in with 5.2. So

Re: [SailfishDevel] No QSerialPort

2014-03-26 Thread Wim de Vries
On 03/26/2014 07:34 AM, Radek Polak wrote: On Tuesday, March 25, 2014 12:32:34 PM wsvries wrote: > Don know about OTG, but my Linux systems always attach a Generic Serial > Driver to the devices. > Why is Sailfish acting differently? No idea how this is in jolla but in openmoko there were op

Re: [SailfishDevel] No QSerialPort

2014-03-26 Thread Wim de Vries
[ 32.080450] usb 3-2.1.4: cp210x converter now attached to ttyUSB0 Use Qserialport on ttyUSB0 and ready you are. Nothing of this the dmesg of Jolla, though :-( r wim On 03/26/2014 12:34 PM, Jozef Mlich wrote: On Wed, 2014-03-26 at 12:07 +0100, Wim de Vries wrote: On 03/26/2014 07:34 AM

Re: [SailfishDevel] No QSerialPort

2014-03-27 Thread Wim de Vries
is getting very confused and we are mixing connecting devices to the Jolla and connecting the Jolla to the pc. So which one is it? On 26/03/14 22:11, Wim de Vries wrote: Thank you guys. Indeed devel-su works. I have attached the devices, but the first problem is that the connection does not supply pow

Re: [SailfishDevel] No QSerialPort

2014-03-28 Thread Wim de Vries
rom: devel-boun...@lists.sailfishos.org > [devel-boun...@lists.sailfishos.org] on behalf of wsvries > [wsvr...@xs4all.nl] Sent: Tuesday, March 25, 2014 10:46 AM > To: devel@lists.sailfishos.org > Subject: Re: [SailfishDevel] No QSerialPort > > Thanks, > > Alejandro

Re: [SailfishDevel] Adding other sensors

2014-04-29 Thread Wim de Vries
On 04/28/2014 03:10 AM, Neel wrote: Hi, What do you people think about adding sensors like temperature, humidity, pressure etc.? I heard that iOS is doing so already with the next version of the mobile devices. I joined the group just a couple of days back so don't know if this was somethin

[SailfishDevel] QSystemInfo: No such file or directory

2014-11-12 Thread Wim de Vries
Hi, I am am trying to build a simple test app using QtMobility 1.2.2. (http://doc.qt.digia.com/qtmobility-1.2/quickstart.html) Building gives: fatal error: QSystemInfo: No such file or directory Following Qt instructions I have: .pro: CONFIG += mobility MOBILITY += systeminfo C++: #include /

Re: [SailfishDevel] QSystemInfo: No such file or directory

2014-11-12 Thread Wim de Vries
mobility api's have been ported to Qt5 as Add-on modules: > https://sailfishos.org/wiki/Porting/Harmattan > > re, Jonni > > From: devel-boun...@lists.sailfishos.org > [devel-boun...@lists.sailfishos.org] on behalf of Wim de Vries >

[SailfishDevel] read/write to contacts and calendar

2014-11-12 Thread Wim de Vries
Hi, I have been searching a lot, went through this mailing list, etc, but is still unclear to me how I can read/write contacts and calendar in Qt5. QMobility is obsolete (Qt4.7). Should I use dbus. If so, is there documentation about it Sailfish services etc.? Thanks. wim __

Re: [SailfishDevel] QtTouch for Sailfish?

2014-11-21 Thread Wim de Vries
Thanks a lot. It works fine now! r wim On Friday, November 21, 2014 06:12:59 PM Jonni Rainisto wrote: > Ah, sorry, I've used non-IDE mb script to build those projects. > > I added a build fix in yaml-file and pushed it into repo, and now the raw > QTouchEvents example should also compile in sailfi

[SailfishDevel] cannot deploy on emulator

2013-04-04 Thread Wim de Vries
Hi, Ubuntu 12.10 64bits. i am trying to build and deploy the mediagallery example, but it fails. When the emulator starts I see some some mounting errors related to ext-fs, but it all flashes away... I can get the sailfish screen with ctrl-H. See below the compile output. thanks. 11:31:21: Run

Re: [SailfishDevel] cannot deploy on emulator

2013-04-04 Thread Wim de Vries
Well, answering myself: QtCreator->Tools->Options->Devices I increased the time-out value to 60secs. Now it works! Wim de Vries schreef op 2013-04-04 11:33: Hi, Ubuntu 12.10 64bits. i am trying to build and deploy the mediagallery example, but it fails. When the emulator sta

[SailfishDevel] adding a module to the Qt-sdk

2013-04-13 Thread Wim de Vries
Hi, I have an aircraft navigation system (open source, see https://sourceforge.net/projects/pilotnavigator/) running on Ubuntu. I have recently added the QtSerialPort module to it. Now I want to port the system to Sailfish and I am running into problems with the QtSerialPort part. On Ubuntu I b

Re: [SailfishDevel] adding a module to the Qt-sdk

2013-04-14 Thread Wim de Vries
@localhost -p Ciao Chris Zitat von "Wim de Vries" : Hi, I have an aircraft navigation system (open source, see https://sourceforge.net/projects/pilotnavigator/) running on Ubuntu. I have recently added the QtSerialPort module to it. Now I want to port the system to Sailfish a

[SailfishDevel] no c++ in Sailfish?

2013-04-14 Thread Wim de Vries
Hi, My project is C++. It looks like Sailfish is only Qt Quick (new project only allows this option). Is C++ a no-go for sailfish? If not, how do I proceed. Thanks. ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] no c++ in Sailfish?

2013-04-16 Thread Wim de Vries
ave to use the wizard to make a new project. Drawback is that look and feel wont be consistent with other applications if you don't use the QML Sailfish components for the UI. re, Jonni On 04/14/2013 11:48 PM, Wim de Vries wrote: Hi, My project is C++. It looks like Sailfish is only Qt Qui

Re: [SailfishDevel] no c++ in Sailfish?

2013-04-17 Thread Wim de Vries
a long winter ...And in 15 years of flying, I don't think I have ever been able to do a top-landing in snow before! I fly MLA nowadays, but I still use thermals to save fuel (not appreciated by other motorized pliots!) Zitat von "Wim de Vries" : My application is an aircraft

Re: [SailfishDevel] no c++ in Sailfish?

2013-04-17 Thread Wim de Vries
Thanks for the support. I won't be in a hurry until the new Jolla phone becomes available :-) David Greaves schreef op 2013-04-17 12:10: On 17/04/13 10:34, Wim de Vries wrote: christopher.l...@thurweb.ch schreef op 2013-04-16 23:05: If so, what ends up (if anything) in the Sai

Re: [SailfishDevel] QGraphicsView support?

2013-04-18 Thread Wim de Vries
Hi, There have been some recent changes that affect the QML<>qWidget stuff (now it's possible to combine (in one screen) them again): http://blog.qt.digia.com/blog/2013/02/19/introducing-qwidgetcreatewindowcontainer/ On 04/18/2013 09:40 PM, Jarko Vihriala wrote: Hi, Looking at the current SD

[SailfishDevel] What happens where during building and deployment?

2013-04-20 Thread Wim de Vries
> where, in what directories does the SDK live? > on which directory of MerSDK VM is the ~ of the host mounted? -rpm is created on the MerSDK VM; -rpm is installed on the SailFish VM. Thanks. r On 04/17/2013 12:10 PM, David Greaves wrote: On 17/04/13 10:34, Wim de Vries wrote: chr

Re: [SailfishDevel] What happens where during building and deployment?

2013-04-20 Thread Wim de Vries
Thanks. On 04/20/2013 06:12 PM, David Greaves wrote: -qmake is run on the host machine; no qmake runs on the build engine in /home/mersdk/ That explains a lot, still: when I load the imagegallery example I get (Tools>Options>build/Run) "/home/wim/SailfishOS/share/qtcreator/MerProject/mer-sdk-

[SailfishDevel] mediagallery won't work

2013-04-24 Thread Wim de Vries
Hi, I am trying the mediagallery example (run). No build errors, but the Sailfish VM turns to black (CTRL H won't help) and I get this message: Display on requested Using the meego graphics system libEGL warning: DRI2: failed to authenticate file:///opt/sdk/share/mediagallery/mediagallery.qm

Re: [SailfishDevel] mediagallery won't work

2013-04-27 Thread Wim de Vries
m: /usr/lib/qt4/plugins/graphicssystems/libqmeegographicssystem.so XISlaveSwitch Do you have the QtMultimediaKit installed? The PreviewGrid.qml imports it import QtMobility.gallery 1.1 See one of my earlier threads on the issue of installing QtMultimedia / Mobility Ciao Chris Zitat von "Wim d

Re: [SailfishDevel] mediagallery won't work

2013-04-29 Thread Wim de Vries
b.t.w I have been trying to get Sailfish up and running on Lubuntu / Ubuntu to see if I can replicate your original error, but am having problems with the Emulator which I will post in the next few minutes in a separate thread ... Chris Zitat von "Wim de Vries" : Thanks for th

[SailfishDevel] no QDeclarativeView in qt5+

2013-05-02 Thread Wim de Vries
Hi, I am still trying to port a C++ application to Sailfish (I think/hope I am not the only one). Sailfish seems to depend heavy on QDeclarativeView/QtQuick1.1, but this has been removed in Qt5+. What is the policy of Sailfish on this? Replacing my GUI from QWidget to QML will have to go via Q

Re: [SailfishDevel] no QDeclarativeView in qt5+

2013-05-02 Thread Wim de Vries
Ok. Thanks. But I want to know if or when Sailfish is going to move to Qt 5.0.2. I will need to do a lot QML coding and I prefer to do it in Qt5.0.2 (avoiding a lot of porting work..). r wim On 05/02/2013 11:38 AM, Wim de Vries wrote: Hi, I am still trying to port a C++ application to

Re: [SailfishDevel] 3D Game

2013-05-03 Thread Wim de Vries
Hi João, I am "wrestling" with the same issue. I have a Qt (desktop) aircraft 3D navigation app with a QWidgets GUI and a QGLwidget (OpenGLES). I don't mind so much using Silica components (studying it now). For other platforms (I presume you mean Qt-Android and Qt-ios in the future), I don th

[SailfishDevel] default SailfishOS Qt Quick Application: view.data() function?

2013-05-12 Thread Wim de Vries
Hi, I have taken a "SailfishOS Qt Quick Application" as project. I am testing C++<>QML interaction. Works OK until now. But there is sth. unclear to me: in main.cpp: QScopedPointer view(Sailfish::createView("main.qml")); Sailfish::showView(view.data()); view is a pointer to QDeclarativeView obj

Re: [SailfishDevel] default SailfishOS Qt Quick Application: view.data() function?

2013-05-12 Thread Wim de Vries
Answering myself: I was to focussed on QDeclarativeView. QScopedPointer has this member that returns " the value of the pointer referenced by this object". sorry. On 05/12/2013 03:25 PM, Wim de Vries wrote: Hi, I have taken a "SailfishOS Qt Quick Application" as pro

[SailfishDevel] how to find (QML) objects other than rootObject

2013-05-13 Thread Wim de Vries
Hi, I am setting up the default Sailfish ("Hello sailors" app) project with all kinds of QML-C++ communication. After object = view->rootObject("main.qml"); I get the main.qml object (created via QDeclarativeView's setSource() ). But how can I get the other QML objects (e.g. the SecondPage.qml,

[SailfishDevel] sailfish as desktop application for testing?

2013-05-14 Thread Wim de Vries
Hi, Is there a (simple) way to deploy a sailfish app on the desktop (for easier testing, before deploying on the simulator)? I (after some fiddling) tried it in the Qt5.0.2 SDK, but get this error: file:///home/wim/qt/build-componentgallery-Desktop_Qt_5_0_2_GCC_64bit-Debug/componentgallery.qml

[SailfishDevel] is HAS_BOOSTER a Saifish item?

2013-05-18 Thread Wim de Vries
Hi, I have been trying to integrate OpenGL (QGLWiget in C++) in a QML interface (see Qt forum: http://qt-project.org/forums/viewthread/27889/#125859). I am using the standard SailfishOS project with some changes: I have made a MyDeclarativeView class derived from QDeclarativeView. Next, I have

[SailfishDevel] opengl on Sailfish emulator

2013-05-18 Thread Wim de Vries
Hi, When running a app with an QGLWindow I only get a black window. The OpenGL works when deployed on the desktop. Should I worry, or is this due to (my) virtualbox (Ubuntu 13.4 64bits)? Thanks. ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] Regarding SailfishOS and its SDK

2013-05-19 Thread Wim de Vries
On 05/19/2013 02:54 AM, Hotmail wrote: I have to apologize for inaccurate info about the SDK, after rebooting, the SDK does work. The pitfall is that after installation, no prompt of a reboot. Other points still hold though. *From:* Hotmail *Sent:* Sunday, May 19, 201

[SailfishDevel] error in documentation?

2013-05-30 Thread Wim de Vries
In the documentation: https://sailfishos.org/sailfish-silica/qml-sailfishsilica-pulldownmenu.html first code example: header: PageHeader { text: "Header" } but according to the documentation in the SDK there is no 'text' property in PageHeader. Possibly it should be 'title'. __

Re: [SailfishDevel] Detail imfomation about developing for Sailfish

2013-05-30 Thread Wim de Vries
Hi Did you look at this (though not APIs): https://sailfishos.org/develop-firstapp-article.html? On 05/30/2013 06:59 PM, rhythmkay wrote: To: devel-subscr...@lists.sailfishos.org Subject: Detail imfomation about developing for Sailfish Deal Sir, I am very interested in developing for Sail

[SailfishDevel] change Silica theme details

2013-05-31 Thread Wim de Vries
Hi, My app will work in very (sun)light circumstances, so I need more contrast between colours. Is there a way to change (parts of the) the Silica theme? Thanks. ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] change Silica theme details

2013-06-03 Thread Wim de Vries
ntegrate with Sailfish, but that's not a problem, since you are not focusing on that, do you ? True. Le vendredi 31 mai 2013 17:12:25 Wim de Vries a écrit : Hi, My app will work in very (sun)light circumstances, so I need more contrast between colours. Is there a way to c

Re: [SailfishDevel] change Silica theme details

2013-06-03 Thread Wim de Vries
e, it won't integrate with Sailfish, but that's not a problem, since you are not focusing on that, do you ? True. Le vendredi 31 mai 2013 17:12:25 Wim de Vries a écrit : Hi, My app will work in very (sun)light circumstances, so I need more contrast between colours. Is there a

[SailfishDevel] QML: Unable to open input file: No such file or directory

2013-06-04 Thread Wim de Vries
Hi, I am sandboxing the sailfishapplication. In the page dir, I created my MButtom.qml. This one is loaded in the SecondPage. Works fine. I also have a GroupBox.qml. When I load this one I get: Unable to open input file: No such file or directory SecondPage.qml: import QtQuick 1.1 import Sailf

Re: [SailfishDevel] R: QML: Unable to open input file: No such file or directory

2013-06-04 Thread Wim de Vries
n the pages directory (next to the qmls). r wim *Da: *Wim de Vries *Inviato: *martedì 4 giugno 2013 14:53 *A: *devel@lists.sailfishos.org *Oggetto: *[SailfishDevel] QML: Unable to open input file: No such file or directory Hi, I am sandboxing the sailfishapplication. In the page dir, I creat

Re: [SailfishDevel] R: QML: Unable to open input file: No such file or directory

2013-06-04 Thread Wim de Vries
Additinal note: If I load in FirstPage it does work. If I load it in ThirdPage it dowsn't. On 06/04/2013 03:31 PM, Wim de Vries wrote: On 06/04/2013 02:56 PM, and.berna...@gmail.com wrote: Maybe you forgot to add it to the qml.files variable in the .pro file? Or to the .qrc, if y

Re: [SailfishDevel] R: QML: Unable to open input file: No such file or directory

2013-06-04 Thread Wim de Vries
de Vries wrote: Additinal note: If I load in FirstPage it does work. If I load it in ThirdPage it dowsn't. On 06/04/2013 03:31 PM, Wim de Vries wrote: On 06/04/2013 02:56 PM, and.berna...@gmail.com wrote: Maybe you forgot to add it to the qml.files variable in the .pro file? Or to the

Re: [SailfishDevel] R: QML: Unable to open input file: No such file or directory

2013-06-05 Thread Wim de Vries
(yet) properly support haptics. On the train on the way home later this evening I will comment out the haptics stuff and see if the error disappears. tot zins Chris Zitat von "Wim de Vries" : Even more strange I have added QML/pages to qml.files in .pro GroupBox comes up no

[SailfishDevel] change resolution of the emulator?

2013-06-05 Thread Wim de Vries
Hi, I want to change the screen resolution to at least the lowest HD (720x1280), since the Jolla phone would be HD... I am not very virtualbox knowledgeable, but what I can digest from googling a lot, is that the target OS has to set the resolution. So, that would be in Sailfish itself. Any id

Re: [SailfishDevel] Qt version plans?

2013-06-08 Thread Wim de Vries
On 06/08/2013 04:11 PM, Superpelican wrote: Jolla have said that they will support Qt5 in the future for Sailfish apps and Qt5 support is also already in Mer (the base of Sailfish OS). But they haven't been very clear on when they will switch to Qt5. I myself would like to know it too, because

Re: [SailfishDevel] Disable the PageStackIndicator

2013-06-17 Thread Wim de Vries
Same problem here. I do need all the real-estate. Broader, is it possible to change the style (e.g. highlight collor of of the puldpwn/up menus). On 06/17/2013 10:27 PM, christopher.l...@thurweb.ch wrote: Hi All Is there anyway I can disable / remove the PageStackIndicator? I think it looks

[SailfishDevel] opengl support in the sailfish emulator?

2013-07-09 Thread Wim de Vries
Hi, I have asked this question before, but got no answer. Now the issue becomes more urgent for my project. Trying again: does/should the sailfish emulator support openGL (ES)? thanks. ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] opengl support in the sailfish emulator?

2013-07-10 Thread Wim de Vries
Thanks. My testing goes no further than glClear, but even that does not work. It works fine in the desktop version. The related error is (i think): "libEGL warning: DRI2: failed to authenticate" Googling on this error didn help me any further. r wim > On Jul 9, 2013, at 2:06 PM,

[SailfishDevel] pagestack signals for eg pageback

2013-08-09 Thread Wim de Vries
Hi, I cannot find the signals/functions of the pagestack (eg onPageBack) in the documentation. (the same goes for other silica elements as well). Am I over looking sth? Thanks. ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] pagestack signals for eg pageback

2013-08-09 Thread Wim de Vries
away from, as the previous stack top. If you need something else, please describe your use case so we can support it better. Thanks, Matt From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Wim de Vries [wsvr...@x

[SailfishDevel] file permissions of user data files

2013-08-11 Thread Wim de Vries
Hi, I am trying to save a file from within my app. I can read the file, not write to it: cannot open "/etc/ssh/authorized_keys/checklists/GEO1" ; "Permission denied" From within ubuntu I have made the file (GEO1) and dir (checklists) r/w for all. Thanks. _

Re: [SailfishDevel] file permissions of user data files

2013-08-11 Thread Wim de Vries
On 08/11/2013 01:36 PM, "Thomas B. Rücker" wrote: On 08/11/2013 12:21 PM, Wim de Vries wrote: Hi, I am trying to save a file from within my app. I can read the file, not write to it: cannot open "/etc/ssh/authorized_keys/checklists/GEO1" ; "Permission denied"

[SailfishDevel] under which user do apps run

2013-08-11 Thread Wim de Vries
Hi, Trying to find out under which user my app runs. whoami from within the app returns "". and ~ has no content. Thanks. ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] under which user do apps run

2013-08-11 Thread Wim de Vries
ts") does not return anything, whereas QDir dp("/home/nemo/checklists") works ok. That's why I got confused. But the ~ not being recognized may be a Qt issue. From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.o

[SailfishDevel] page stack indicator

2013-08-12 Thread Wim de Vries
Hi, I am trying to find out how to sail around the page stack indicator. In my pages, I sometime want to show it, and sometime (Dialog) I need to hide it. Currently I use y:80 in Pages to have it visible, but I think that's very elegant. ___ SailfishOS.o

Re: [SailfishDevel] page stack indicator

2013-08-12 Thread Wim de Vries
to true/false on Page to hide the > back navigation item? Try it and see what happens ;-) > > backNavigation: false > > > From: devel-boun...@lists.sailfishos.org > [devel-boun...@lists.sailfishos.org] on behalf of Wim de Vries > [w

Re: [SailfishDevel] file permissions of user data files

2013-08-13 Thread Wim de Vries
c Chan wrote: >> there's not property? >> >> 在 2013-8-12,下午11:07,Bob Jelica 写道: >> >>> Hey, >>> >>> Use QDir.homePath() in your app for a safe place to save files. That will >>> always guarantee that you'll have read/write ac

Re: [SailfishDevel] file permissions of user data files

2013-08-13 Thread Wim de Vries
ems/in the future) when I query for Home.., I ignored it. r wim Regards, Stefan Am 13.08.2013 11:21, schrieb Wim de Vries: On 08/13/2013 10:59 AM, Joseph Crowell wrote: It's QStandardPaths::HomeLocation under Qt 5. http://qt-project.org/doc/qt-5.0/qtcore/qstandardpaths.html Cant find a

[SailfishDevel] Cannot pop while operation is in progress

2013-08-13 Thread Wim de Vries
If I do pop() within a current page and pageStack.replace(pageStack.currentPage, Qt.resolvedUrl("controls/MTextEdit.qml")) within main.qml I get: "Cannot pop while operation is in progress" I need to remove the previous page, so that the user cannot navigate back to this page. Thanks.

Re: [SailfishDevel] Cannot pop while operation is in progress

2013-08-14 Thread Wim de Vries
ot;, except that it occurs with a single visual > transition. > > Thanks, > Matt > > ____ > From: devel-boun...@lists.sailfishos.org > [devel-boun...@lists.sailfishos.org] on behalf of Wim de Vries > [wsvr...@xs4all.nl] > Sent: Wednesday, Aug

Re: [SailfishDevel] Cannot pop while operation is in progress

2013-08-14 Thread Wim de Vries
equivalent to "pop all pages above the supplied target >> page, then push a new page", except that it occurs with a single visual >> transition. >> >> Thanks, >> Matt >> >> >> From: devel-boun...@lists.sailfishos

Re: [SailfishDevel] Cannot pop while operation is in progress : SOLVED

2013-08-14 Thread Wim de Vries
ment to replaceAbove() is invalid, because there can't be any > pages above the top. > > Thanks, > Matt > > > From: Wim de Vries [wsvr...@xs4all.nl] > Sent: Wednesday, August 14, 2013 5:42 PM > To: Matthew Vogt > Cc: Wim d

[SailfishDevel] yet another pop problem (Dialog)

2013-08-15 Thread Wim de Vries
I am sorry, but some things that are so simple in QtWidgets do become quite complex in Sailfish-QML. case: textedit->save-as(menu) push Dailog (usr inputs filename) C++ evaluates filename: file already exists! now I want push a "overwrite?" Dialog. But any of the PageStack actions causes "Warni

Re: [SailfishDevel] yet another pop problem (Dialog)

2013-08-15 Thread Wim de Vries
ch file or directory Remote application finished with exit code 127. Thanks, Matt *From:* devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Wim de Vries [wsvr...@xs4al

[SailfishDevel] cover stays after app has quitted

2013-08-29 Thread Wim de Vries
Hi all, After quitting the app, very often, the cover is still there (sometimes garbled). It works ok when the shutDown function is called from the pull-down menu. (MyesNoDialog is used as a message Dialog). QML: Page.. if (saveFailed) { var errorDialog = pageStack.push("MyesN

Re: [SailfishDevel] Error while building/deploying

2013-09-20 Thread Wim de Vries
Hi, Answerring myself. Somehow a copy of one of the sec files was still hanging out there. Had to delete it. On 09/19/2013 02:04 PM, wsvries wrote: Hi, Since I did some (name) changes on my project I cannot run it any more: -- 13:58:40: Emulator is already running. Nothing to do. 13:58:40: C

[SailfishDevel] where to put my OS sailfish project

2013-09-24 Thread Wim de Vries
Hi, I just finalized my (OS) app (https://github.com/wspilot/checklists). (for starters it might useful: several listviews, C++-QML communication; mixed QML/Sailfisch GUI). As far as I can see the only place to share it is https://wiki.merproject.org/wiki/Sailfish. But that wiki does not work ve

[SailfishDevel] error about wayland

2013-09-24 Thread Wim de Vries
Hi, Qt Creator 2.7.2 ubuntu 13.04 64bits Intel® Ivybridge Mobile App works fine but i get this error on the console: DeclarativeWindowAttached: unsupported platform: "wayland" Thanks ___ SailfishOS.org Devel mailing list

[SailfishDevel] error: Unknown module(s) in QT: serialport

2013-11-07 Thread Wim de Vries
Hi, Have been away sometime. Installed the latest SDK: Qt5.1. 5.1 supports Qt Serial Port, but somehow not in the Sailfish version. Any hints? Thanks. ___ SailfishOS.org Devel mailing list

[SailfishDevel] user and app data howto?

2013-11-13 Thread Wim de Vries
Hi, I have my app ready. Until now I just did a "scp -r -P 2223 ./checklistsdata nemo@localhost:/home/nemo" to copy the app data. But I need a robust solution before submitting to the harbour... Are there rules concerning user and app data? The user may change/delete data from within the app,

Re: [SailfishDevel] user and app data howto?

2013-11-14 Thread Wim de Vries
On 11/13/2013 11:27 PM, Robin Burchell wrote: Hi, On Wed, Nov 13, 2013 at 9:19 PM, Wim de Vries wrote: I have my app ready. Until now I just did a "scp -r -P 2223 ./checklistsdata nemo@localhost:/home/nemo" to copy the app data. But I need a robust solution before submitting to t

[SailfishDevel] directory structure on Sailfish

2013-11-19 Thread Wim de Vries
Hi, Does anyone know about documentation concerning the directory structure on Sailfish? Where are apps installed? What is the applications data directory? How can I create extra dirs with data during installation/deployment? What is the recommended dir for the user to store app data (in my cas

[SailfishDevel] installing extra files via rpm

2013-11-20 Thread Wim de Vries
Hi, I am able to deploy via RPM. Or better, QtCreator is able to do it ;-) Still, I need to install some data files as well. pro file: data.files = checklistsdata/* OTHER_FILES += \ checklistsdata/skyArrow-walkaround \ checklistsdata/skyArrowEMERGENCY \ . In the .pri: data.path = /ho

Re: [SailfishDevel] installing extra files via rpm

2013-11-21 Thread Wim de Vries
into any .rpm, so it gives you an error: "Installed (but unpackaged) file(s) found:" Cheers, Artem. On Wed, Nov 20, 2013 at 9:45 PM, Wim de Vries <mailto:wsvr...@xs4all.nl>> wrote: Hi, I am able to deploy via RPM. Or better, QtCreator is able to do it ;-) Sti

Re: [SailfishDevel] installing extra files via rpm

2013-11-21 Thread Wim de Vries
Thanks. Removing and adding kits seems to generate new .yaml file based on .pro and .pri. On 11/21/2013 11:11 AM, Andrey Kozhevnikov wrote: create sailfish project, or dont use yaml, use spec. On 21.11.2013 16:01, Wim de Vries wrote: Hi Artem, Thanks for the reply. Best way would then to

[SailfishDevel] opengl again..

2013-12-04 Thread Wim de Vries
Hi, I am developing on a ubuntu 12.10 notebook host. I have a simple app with a standard Qt C++ GUI that runs fine on the host as well as the emulator. I have added a QGLWiget (with shaders) which shows a triangle nicely on the host. Still, on the emulator (with 3D acc enabled) the QGLWidget is

Re: [SailfishDevel] opengl again..

2013-12-04 Thread Wim de Vries
On 12/04/2013 03:31 PM, Thomas Perl wrote: Hi, On 04 Dec 2013, at 14:18, Wim de Vries wrote: I have a simple app with a standard Qt C++ GUI that runs fine on the host as well as the emulator. I have added a QGLWiget (with shaders) which shows a triangle nicely on the host. Still, on the

Re: [SailfishDevel] opengl again..

2013-12-04 Thread Wim de Vries
Thanks. I was also thinking that maybe QGLWidget isn't supported in Sailfish. On 12/04/2013 05:24 PM, Filip Kłębczyk wrote: W dniu 04.12.2013 17:05, Wim de Vries pisze: Thanks. I presume it's a buck in the emulator then. I'll wait for the Jolla device, before any further develo

Re: [SailfishDevel] opengl again..

2013-12-04 Thread Wim de Vries
On 12/04/2013 08:18 PM, joao morgado wrote: @: Wim de Vries. I share your frustation about OpenGL with QWindow, and I'm also frustated with Qt widgets. I have a very nice app in OVI, symbian, with QWidgets and OpenGL, I'll have to do a complete redesign, since widgets are black list

[SailfishDevel] Serious request: please let us use C++!

2013-12-04 Thread Wim de Vries
Hi all, This basically a very strong request to the Sailfish an Qt people. I mean this in positive sense: please don not enforce QML at the cost of C++ on the developers community. First, C(++) is THE language for openGL. We want to program shaders and heavy calculations (C++). Qt used to be we

Re: [SailfishDevel] opengl again..

2013-12-05 Thread Wim de Vries
Thanks. 1) using QML writing C++ items to integrate into the scene graph (see http://qt-project.org/doc/qt-5.0/qtquick/qquickitem.html for the base class) - this also means you'll be able to use Silica in your application 2) using C++, instantiating a QWindow, and doing all your rendering by yo

Re: [SailfishDevel] Serious request: please let us use C++!

2013-12-05 Thread Wim de Vries
Hi Thomas, Thanks. I'll just boil down to your last important remark On 12/05/2013 09:56 AM, Thomas Perl wrote: Are we missing code examples of how to integrate C++-based OpenGL rendering like QGLWidget (initializeGL, resizeGL and paintGL) with Sailfish Silica QML UIs? Would it help you if such

Re: [SailfishDevel] Serious request: please let us use C++!

2013-12-06 Thread Wim de Vries
On 12/05/2013 06:41 PM, Marcin M. wrote: A style for plain Qt which would display with the native look & feel (compare the unsupported and buggy meegotouch-qt-style) would be great too! Do you mean QML or QWidgets look&feel? -- Marcin 2013/12/5 Filip K?e;bczyk >

[SailfishDevel] QWindow in main?

2013-12-06 Thread Wim de Vries
Hi, I am trying to get sth working after the c++/openGL discussion. Some of you mentioned using QWindow. For now I am just trying to get a QWindow working together with some QML. Problem starts with main. It is only about QQuickView. Where to got with my QWindow? Thanks. _

Re: [SailfishDevel] where did the template sailfishapplication.cpp/h go?

2013-12-06 Thread Wim de Vries
Hi, Just looking at the template and documentation of the latest SDK and found out that sailfishapplication.cpp and sailfishapplication.h were removed from the sources. I used to redefine them (using MyQQuickview etc.). Am I overlooking sth? thanks. wim

Re: [SailfishDevel] where did the template sailfishapplication.cpp/h go?

2013-12-06 Thread Wim de Vries
wCPPclass ); Thanks. BR, Robin On 06 Dec 2013, at 11:58, Wim de Vries wrote: Hi, Just looking at the template and documentation of the latest SDK and found out that sailfishapplication.cpp and sailfishapplication.h were removed from the sources. I used to redefine them (using MyQQuickview etc

Re: [SailfishDevel] QWindow in main?

2013-12-06 Thread Wim de Vries
On 12/06/2013 12:30 PM, Robin Burchell wrote: On 06 Dec 2013, at 10:32, Wim de Vries wrote: For now I am just trying to get a QWindow working together with some QML. Problem starts with main. It is only about QQuickView. Where to got with my QWindow? Thanks. If you want to do OpenGL and QML

[SailfishDevel] qml and opengl/c++

2013-12-06 Thread Wim de Vries
Hi, Some of you referred to the 'OpenGL Under QML' (http://qt-project.org/doc/qt-5.1/qtquick/scenegraph-openglunderqml.html) example. I got the example working in Sailfish. Only one problem. It doesn't show up within 'ApplicationWindow'. I have to comment ApplicationWindow{} out and use the Ite

Re: [SailfishDevel] Serious request: please let us use C++!

2013-12-07 Thread Wim de Vries
"qml and opengl/c++"), maybe I should have named it "opengl-under-QML within Sailfish". Thanks. On 12/07/2013 12:00 PM, Thomas Perl wrote: On 06 Dec 2013, at 17:46, Marcin M. wrote: 2013/12/6 Wim de Vries On 12/05/2013 06:41 PM, Marcin M. wrote: A style for plain Qt whi

[SailfishDevel] best way to set QML properties from within C++ in Sailfish?

2013-12-12 Thread Wim de Vries
Hi, I need to set many properties in QML elements from within C++. QT documentation: QQmlEngine engine; QQmlComponent component(&engine, "MyItem.qml"); QObject

Re: [SailfishDevel] best way to set QML properties from within C++ in Sailfish?

2013-12-12 Thread Wim de Vries
Thanks. On 12/12/2013 01:44 PM, Robin Burchell wrote: On 12 Dec 2013, at 13:42, Wim de Vries <mailto:wsvr...@xs4all.nl>> wrote: I need to set many properties in QML elements from within C++. You may find it easier to expose these properties *from* C++ to QML, using a singleton

Re: [SailfishDevel] C++ and QML Integration: SetContextProperty with the latest SailfishOS Templates

2013-12-12 Thread Wim de Vries
Hi Cristopher, I got this answer some time ago: QGuiApplication *app = SailfishApp::application(argc, argv); QQuickView *view = SailfishApp::createView(); view->rootContext()->setContextProperty("cppproperty", view); view->setSource(SailfishApp::pathTo("qml/main.qml")); view->show

Re: [SailfishDevel] best way to set QML properties from within C++ in Sailfish?

2013-12-12 Thread Wim de Vries
On 12/12/2013 02:28 PM, Wim de Vries wrote: Thanks. On 12/12/2013 01:44 PM, Robin Burchell wrote: On 12 Dec 2013, at 13:42, Wim de Vries <mailto:wsvr...@xs4all.nl>> wrote: I need to set many properties in QML elements from within C++. You may find it easier to expose these propert

Re: [SailfishDevel] best way to set QML properties from within C++ in Sailfish?

2013-12-12 Thread Wim de Vries
On 12/12/2013 02:39 PM, Robin Burchell wrote: On 12 Dec 2013, at 14:28, Wim de Vries <mailto:wsvr...@xs4all.nl>> wrote: I need to set many properties in QML elements from within C++. You may find it easier to expose these properties *from* C++ to QML, using a singleton type (fo

[SailfishDevel] no output from console.log

2013-12-14 Thread Wim de Vries
Hi, Since 1312 I do not get any of the console.log output in the "application output" window. Am I overseeing sth. thanks. r wim ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] SailfishOS (Dutch) translations

2013-12-15 Thread Wim de Vries
On 12/15/2013 11:45 AM, Javier Ferreira wrote: Waiting for the portuguese Em 15/12/2013 07:41, "Jarno" > escreveu: Hi, I was wondering if the current SailfishOS UI is ready to be translated to more languages. As of yesterday the Dutch Sailors ar

Re: [SailfishDevel] no output from console.log

2013-12-15 Thread Wim de Vries
utput goes to QtCreator just fine :) See sample tests subprojects at https://github.com/amarchen/helloworld-pro-sailfish and https://github.com/amarchen/Wikipedia Scanned through this code, but can find out what to do for this option. Best regards, Artem. On Sat, Dec 14, 2013 at 9:40 PM, Wi

  1   2   >