[Interest] QT5 viewfinder failed to show camera view.

2016-04-30 Thread Jérôme Lanteri
HI, and thank you very much to be interested to my problem, i really appreciate your help on this problem (5 month unresolved now). Qt camera example (from official QT examples, the one with QWidget/C++ code) failed on my archlinux comuters (laptop and PC): i stop my intel driver to use archlinux

[Interest] viewfinder failed to show camera images

2016-04-30 Thread Jerome
HI, and thank you very much to be interested to my problem, i really appreciate your help on this problem (5 month unresolved now). Try to send from other adress but seems to failed to acces qt-intrest mailing list from other... >From Qt example project "camera" (the project with QWidget/C++ cod

Re: [Interest] Example for: QTreeView + QAbstractItemModel + external data

2016-04-30 Thread anton
Thanks Björn, I'll try it (actually i did the job in the rowCount() function..) I would have preferred that the documentation be clear about this, I mean with a detailed example :-) Thanks Anton Björn Schäpers wrote: > Am 26.04.2016 um 19:05 schrieb anton: >> Hi, >> >> I have subclassed QAbstr

Re: [Interest] armv7a-hard-float in Qt android apps

2016-04-30 Thread Jean-Michaël Celerier
https://godbolt.org/g/DqBlFG With gcc -O1 float f(float x) { return 2. * x; } becomes f(float): addss %xmm0, %xmm0 ret and float g (float x) { return 2.f * x; } becomes g(float): addss %xmm0, %xmm0 ret On Fri, Apr 29, 2016 at 6:30 PM, Ola Røer Thor

Re: [Interest] armv7a-hard-float in Qt android apps

2016-04-30 Thread Ola Røer Thorsen
2016-04-30 10:46 GMT+02:00 Jean-Michaël Celerier < jeanmichael.celer...@gmail.com>: > https://godbolt.org/g/DqBlFG > > With gcc -O1 > > float f(float x) > { > return 2. * x; > } > > becomes > > f(float): > addss %xmm0, %xmm0 > ret > > > and > > float g (float x) > { > return

[Interest] [Qt 3D] What is AspectCreateFunction? (or how to expose a custom aspect to QML)

2016-04-30 Thread Adrián Chaves Fernández
The Qt input system does not work for me. The Qt key event system, with its special handling of modifier keys, is designed for (desktop) applications, not for games. For example, as far as I can see, there is no reliable way for me to use modifier keys, such as Shift or Ctrl, as regular keys. So I

Re: [Interest] armv7a-hard-float in Qt android apps

2016-04-30 Thread Elvis Stansvik
2016-04-30 11:51 GMT+02:00 Ola Røer Thorsen : > > 2016-04-30 10:46 GMT+02:00 Jean-Michaël Celerier > : >> >> https://godbolt.org/g/DqBlFG >> >> With gcc -O1 >> >> float f(float x) >> { >> return 2. * x; >> } >> >> becomes >> >> f(float): >> addss %xmm0, %xmm0 >> ret >> >> >> and

Re: [Interest] Example for: QTreeView + QAbstractItemModel + external data

2016-04-30 Thread Andy
On Sat, Apr 30, 2016 at 4:08 AM, anton wrote: > Thanks Björn, > > I'll try it (actually i did the job in the rowCount() function..) > I would have preferred that the documentation be clear about this, > I mean with a detailed example :-) > Slight aside: Since you're working with QAbstractItemMo

Re: [Interest] [QT3D] How Do I render multiple QEntities in different QViewports in C++?

2016-04-30 Thread Sean Harmer
Hi, There's two things you need to consider: 1) The scene graph - the Entities that you wish to draw. 2) The framegraph - specifies the algorithm used to draw the scene graph I assume from your screenshot that you are more or less happy with defining QEntity's to construct your scene graph. If

Re: [Interest] [QT3D] How Do I render multiple QEntities in different QViewports in C++?

2016-04-30 Thread Sean Harmer
On Thursday 28 April 2016 14:50:22 charleyb123 . wrote: > Pierre spaketh: > > Dear Sirs > > > > First: Thank you for Qt3d. The KDAB people are heroes in my book. > > > > +1 > > A very big "Thank You!" to what KDAB does in Qt3D. > > They probably don't hear it often enough for all their > work-

Re: [Interest] Clean way to define and categorize constants in QML

2016-04-30 Thread Sina Dogru
2016-04-29 21:34 GMT+03:00 Jérôme Godbout : > > QmlObject > { > readonly property alias myCategory: myCategory_ > > QmlObject > { > id: myCategory_ > readonly property color red: "#FF0" > } > } > Hello Jérôme, Can you please explain what would be different to use QtObject i

Re: [Interest] [QT3D] How Do I render multiple QEntities in different QViewports in C++?

2016-04-30 Thread Pierre Chicoine
Thank you Sean. Very descriptive. Since I have such a large system, I will create an example and pass it to you. By the way a large percentage of your examples on 5.7 beta don't work. But I'm sure you're aware of that. Thank you again. On Apr 30, 2016 10:55 AM, "Sean Harmer" wrote: > > Hi, >