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] 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] 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] 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] 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

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] 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-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-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-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-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

[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] (USB) access to sdcard?

2014-01-28 Thread Wim de Vries
Hi Bernd, Possibly you'll earlier ready than I. I will just keep storage local for now. Thanks. r wim On 01/26/2014 07:13 PM, Bernd Wachter wrote: Wim de Vries writes: Hi, Currently the SDCARD is mounted at /run/usr/10/media/sdcard. Can I hard-code this into my app, or will it chan

Re: [SailfishDevel] (USB) access to sdcard?

2014-01-25 Thread Wim de Vries
Thanks. On 01/25/2014 06:18 PM, Chris Walker wrote: On Sat, 25 Jan 2014 14:35:30 +0100 Wim de Vries wrote: Hi, Currently the SDCARD is mounted at /run/usr/10/media/sdcard. I think you mean /run/user/.. as /run/usr doesn't exist and I don't think you'd want to be writing

[SailfishDevel] (USB) access to sdcard?

2014-01-25 Thread Wim de Vries
Hi, Currently the SDCARD is mounted at /run/usr/10/media/sdcard. Can I hard-code this into my app, or will it change in future? Also, I want my users to be able to put data (aviation maps+more) on the SD card via a USB connection. Currently there is no access via USB (just the home is avail

Re: [SailfishDevel] OpenGL Under Selica QML

2014-01-24 Thread Wim de Vries
Hi David, The example that I use is also QQuickItem derived. Indeed I'll take your method for placement and resizing. Also necessary for landscape/portrait changes. thanks. r wim On 01/23/2014 10:38 AM, David Greaves wrote: On 23/01/14 09:28, Wim de Vries wrote: On 01/22/2014 05:

Re: [SailfishDevel] OpenGL Under Selica QML

2014-01-23 Thread Wim de Vries
On 01/22/2014 05:34 PM, David Greaves wrote: Fantastic - I just verified that it works here too. How are you getting the GL into the QML scene? From one of the GL examples (Squircle in c++): glViewport() determining the position (not yet QML) in Page. main c++: qmlRegisterType("OpenGLUnderQML"

[SailfishDevel] harbour rejects user files in a Documents subfolder?

2014-01-22 Thread Wim de Vries
Hi, My checklists app got rejected by harbour again because of user data files :-( . My app creates a checklistdata folder under Documents (one default/example data file is copied there after first start up). Harbour doesn't want that: "File creation in "/home/nemo/Documents/" is not allowed,

[SailfishDevel] OpenGL Under Selica QML

2014-01-22 Thread Wim de Vries
Hi, Some time ago Thomas Perl was so kind to supply us with an example 'OpenGL Over QML'. It uses the afterRendering() signal. I am trying to use the beforeRendering() signal (including setClearBeforeRendering(false)), but I get no OpenGL output. It works with standard (non-Selica) QML. I have

Re: [SailfishDevel] How to install user (controlled) data files for my app avoiding /usr/share

2014-01-09 Thread Wim de Vries
On 01/09/2014 11:56 PM, Martin Kolman wrote: 9.1.2014 23:27, Wim de Vries: Thanks Thomas for the explanation. Indeed, I think I will stick to a minimal persistent data set to enable the user to play with. For the open/free data I will have a look at SF. The maps created by the user (with an

Re: [SailfishDevel] How to install user (controlled) data files for my app avoiding /usr/share

2014-01-09 Thread Wim de Vries
USB to a dir in $XDG_DATA_HOME. The good thing is that I am not in a hurry, don't expect many pilots with a Jolla for now :-) And, in the long term ... A pilot Other Half! r wim On 01/09/2014 01:50 PM, Thomas Perl wrote: Hi, On 09 Jan 2014, at 09:05, Wim de Vries wrote: I am converti

Re: [SailfishDevel] How to install user (controlled) data files for my app avoiding /usr/share

2014-01-09 Thread Wim de Vries
Thanks. On 01/09/2014 05:02 PM, Reto Zingg wrote: Hi, On 09.01.2014 12:25, Wim de Vries wrote: Thanks. On 01/09/2014 09:36 AM, Luciano Montanaro wrote: Maybe make the application download the map on the first run? mm.. I cannot afford time/money for a server + support. if the data is '

Re: [SailfishDevel] How to install user (controlled) data files for my app avoiding /usr/share

2014-01-09 Thread Wim de Vries
like your idea. Hardly any experience with RPM though. I'll have to dive into that. Sailfish people: please confirm if this is an allowed option. Thanks. R wim From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf

Re: [SailfishDevel] How to install user (controlled) data files for my app avoiding /usr/share

2014-01-09 Thread Wim de Vries
r wim On 01/09/2014 12:18 PM, Wim de Vries wrote: Thanks. On 01/09/2014 09:40 AM, Jonni Rainisto wrote: IMHO (Only my personal view, not official answer). I would not copy readonly data to $XDG_CONFIG_HOME/$NAME, I would only copy the readwrite parts off from usr/share/appname. And I would defin

Re: [SailfishDevel] Listing of to use macros in .yaml?

2014-01-09 Thread Wim de Vries
OK.Thanks. On 01/09/2014 12:05 PM, Ruslan Nigmatullin wrote: Hello! SailfishOS is mostly like Fedora, so their rpm specs have compatible macroses: https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch09s07.html 09.01.2014, 01:16, "Wim de Vries"

Re: [SailfishDevel] How to install user (controlled) data files for my app avoiding /usr/share

2014-01-09 Thread Wim de Vries
-boun...@lists.sailfishos.org] on behalf of Wim de Vries [wsvr...@xs4all.nl] Sent: Thursday, January 09, 2014 10:05 AM To: devel@lists.sailfishos.org Subject: [SailfishDevel] How to install user (controlled) data files for my app avoiding /usr/share Hi, I am converting my aircraft navigation a

Re: [SailfishDevel] How to install user (controlled) data files for my app avoiding /usr/share

2014-01-09 Thread Wim de Vries
provide the maps on a server in this case. The additional benefit is that the user can skip downloading the data if he knows it will not use it. Never the case in first use. Only after some time of usage. Luciano On Thu, Jan 9, 2014 at 9:05 AM, Wim de Vries wrote: Hi, I am converting my aircraft

Re: [SailfishDevel] xdg folder stuff: howto? more info

2014-01-09 Thread Wim de Vries
I am not sure, but maybe I caused the misunderstanding. My app (code) uses QStandardPaths, but was rejected. Harbour stated that I should use the XDG- based rules. So, I thought: what is wrong with QStandardPaths? Now -thanks to the comments up here- I understand that harbour was talking about th

[SailfishDevel] How to install user (controlled) data files for my app avoiding /usr/share

2014-01-09 Thread Wim de Vries
Hi, I am converting my aircraft navigation app to Sailfish. It comes (default) with OpenStreet based maps + 3D data files of Western Europe (in RPM). Most users will use this map, but some users may use their home made maps (generated by a PC application). In the latter case, the users will dele

Re: [SailfishDevel] xdg folder stuff: howto? more info

2014-01-08 Thread Wim de Vries
Thanks for the elaborate answer. Now that I understand the harbour remarks, I can rephrase my question about user/app data files in a new topic: "where to install user (controlled) data files for my app". Thanks again. r wim On 01/09/2014 12:13 AM, Alejandro Exojo wrote: El Wednesday 08 Janua

[SailfishDevel] Listing of to use macros in .yaml?

2014-01-08 Thread Wim de Vries
Hi, The documentation insists on using macros when you refer to paths (eg %{_bindir} instead of /usr/bin). Still, I cannot find a listing of those macros (they seem to differ linux distro). Thanks. ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] Qt Creator Yaml file editor loses new entries

2014-01-08 Thread Wim de Vries
Indeed, as a novice with rpm I always open .yaml it in kate. On 01/08/2014 06:06 PM, christopher.l...@thurweb.ch wrote: seconded: So far I have not seen the benefit of a dedicated editor: It does not make it any easier for the novice to understand what the entries are for, so why this dedicate

Re: [SailfishDevel] xdg folder stuff: howto? more info

2014-01-08 Thread Wim de Vries
er/10" I need to add data files during installation, and the user should be able to add/remove data files from his PC via USB. Thanks. On 01/07/2014 07:29 PM, Wim de Vries wrote: Hi, Can someone please explain how the XDG folders work. These env vars seem not be set when I try to read t

[SailfishDevel] xdg folder stuff: howto?

2014-01-07 Thread Wim de Vries
Hi, Can someone please explain how the XDG folders work. These env vars seem not be set when I try to read the values with QProcessEnvironment. So how can I read/write to those folders (C++)? And how to access them from QML? The documention/FAQ only gives a very general spec. I must be missing s

Re: [SailfishDevel] Can not ssh to Jolla via USB in Developer mode

2013-12-23 Thread Wim de Vries
On 12/23/2013 04:06 PM, Alexander Couzens wrote: sshnemo@192.168.2.15 My USB connection also does not work, I use the WLAN connection (192.168.178.57 in my case). r wim ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] Mainloop problem

2013-12-22 Thread Wim de Vries
On 12/22/2013 06:03 PM, Wim de Vries wrote: Not sure if correct, but I use view->close() (through a QML2C++ call) and all ends. In your case possibly: QObject::connect(view, SIGNAL(destroyed()), view, SLOT(close())); Just found out: the above works on the emulator; not on Jolla. On 12

Re: [SailfishDevel] missing libc.so.6 on Jolla (again)

2013-12-22 Thread Wim de Vries
Tnx, That worked. My first app on the Jolla! r wim On 12/22/2013 06:07 PM, Martin Grimme wrote: Hi, this happens if x86 binaries end up in the ARM package. Be sure to clean up your build environment first before building the package for ARM. Martin 2013/12/22, Wim de Vries : Hi, After

Re: [SailfishDevel] Mainloop problem

2013-12-22 Thread Wim de Vries
Not sure if correct, but I use view->close() (through a QML2C++ call) and all ends. In your case possibly: QObject::connect(view, SIGNAL(destroyed()), view, SLOT(close())); On 12/22/2013 05:45 PM, Mikael Hermansson wrote: Changed to: QObject::connect(app,SIGNAL(lastWindowClosed()),app,SLO

[SailfishDevel] missing libc.so.6 on Jolla (again)

2013-12-22 Thread Wim de Vries
Hi, After local install I get: [nemo@localhost ~]$ pkcon -v install-local checklists-1.0.1-1.armv7hl.rpm 17:23:20PackageKit Verbose debugging enabled (on console 1) 17:23:20PackageKit notify::connected 17:23:20PackageKit notify::connected 17:23:20Package

Re: [SailfishDevel] Where does my locally installed app go?

2013-12-22 Thread Wim de Vries
Tnx. That worked. Another error but that's a new issue. On 12/22/2013 04:05 PM, Jonni Nakari wrote: On 22.12.2013 15:43, Wim de Vries wrote: On Jolla phone. I did a local install (pkcon install-local checklists-1.0.1-1.i586.rpm). Seems like you are trying to install a package that is for

Re: [SailfishDevel] Where does my locally installed app go?

2013-12-22 Thread Wim de Vries
[=] Installing packages [ == ] 15:49:46 PackageKit remove state 0x403fdc00 [=] On 12/22/2013 03:03 PM, David Greaves wrote: On 22/12/13 13:43, Wim de Vries wrote: Hi, On Jolla phone. I did a

Re: [SailfishDevel] Where does my locally installed app go?

2013-12-22 Thread Wim de Vries
Tnx That makes sense. On 12/22/2013 03:43 PM, Andrey Kozhevnikov wrote: rpm maybe? not qpm :) On 22.12.2013 20:42, Wim de Vries wrote: thx, but qpm is not on Jolla: -bash: qpm: No such file or directory and find does not find my app files either BTW: same for deployment via SDK (via WLAN

Re: [SailfishDevel] Where does my locally installed app go?

2013-12-22 Thread Wim de Vries
thx, but qpm is not on Jolla: -bash: qpm: No such file or directory and find does not find my app files either BTW: same for deployment via SDK (via WLAN) thanks r wim On 12/22/2013 03:03 PM, David Greaves wrote: On 22/12/13 13:43, Wim de Vries wrote: Hi, On Jolla phone. I did a local

[SailfishDevel] Where does my locally installed app go?

2013-12-22 Thread Wim de Vries
Hi, On Jolla phone. I did a local install (pkcon install-local checklists-1.0.1-1.i586.rpm). No errors. But I cannot find any trace of app anywhere. Terminal log: [nemo@localhost ~]$ pkcon install-local checklists-1.0.1-1.i586.rpm Installing files [=] Waiting in queue [

Re: [SailfishDevel] cannot hide() contextmenu

2013-12-18 Thread Wim de Vries
Thx. That works. Maybe sth for in the documentation in the future? On 12/18/2013 02:24 AM, Bea Lam wrote: Hello, On 17 Dec 2013, at 11:17 pm, Wim de Vries wrote: Hi, I am trying a contextmenu. I can show() it, but not hide it. Clicking on the lower rectangle does not hide it: Just remove

Re: [SailfishDevel] qml and opengl/c++

2013-12-17 Thread Wim de Vries
Tnx Works fine. On 12/17/2013 12:16 PM, Thomas Perl wrote: Hi, 2013/12/6 Wim de Vries : 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

[SailfishDevel] cannot hide() contextmenu

2013-12-17 Thread Wim de Vries
Hi, I am trying a contextmenu. I can show() it, but not hide it. Clicking on the lower rectangle does not hide it: import QtQuick 2.0 import Sailfish.Silica 1.0 Page { id: pageT Rectangle { id : timerWindow anchors.top: parent.top anchors.left: parent.left anchors.right: pa

Re: [SailfishDevel] qmlscene & error handling

2013-12-15 Thread Wim de Vries
I don't know about Python, but QML is giving no feedback at all (even console.log does not work) since the SDK update. See " no output from console.log" topic above. Possibly related. r wim On 12/15/2013 05:19 PM, Osmo Salomaa wrote: Hello, I'm writing an application using QML and PyOtherSide

[SailfishDevel] (silica)listview without model?

2013-12-15 Thread Wim de Vries
Hi, Working on the GUI port from QWidgets to QML. I am trying the ContextMenu example in the documentation. It does not work: I did see that the SilicaListView has no model (in the QML documentation there is always a model). Same goes for the ListItem example. Is Sailfish different from QML here

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

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

[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] 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

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] 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
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

[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] 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] 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] 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

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] 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

[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] 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 >

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] 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

[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-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

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 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

[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] 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

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

[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

[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

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] 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,

[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] 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] 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

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] 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] 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] 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] 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

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

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

[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] 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

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] 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

[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] 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] 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] 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] 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] 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] 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] 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] 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

  1   2   >