Re: [Interest] What for does qt5gui need OpenGL?

2013-11-08 Thread Joseph Crowell
On 11/07/2013 07:33 PM, André Pönitz wrote: On Thu, Nov 07, 2013 at 07:51:16AM +0100, Tomasz Olszak wrote: 2013/11/7 Uwe Rathmann uwe.rathm...@tigertal.de On Wed, 06 Nov 2013 08:03:47 -0800, Thiago Macieira wrote: Shouldn't they be in Qt5OpenGL.dll? No, they are

Re: [Interest] Quick2 ShaderEffect: source or provider missing when binding textures

2013-11-08 Thread Ola Røer Thorsen
Hi Gunnar, thanks for the reply! Well why am I drawing without data.. There's lots of things to learn to get the most out of Quick2. :-) Your suggestion there solved it for me, i'm testing on Image.Ready now and it also fixed my next issue of to prevent showing black textures before the image

[Interest] QTreeView / QTableView row change

2013-11-08 Thread Joseph W. Joshua
Hi All, Is it possible to detect when a QTreeView / QTableView row is changed? An example is when the user changes the current row using keyboard navigation. Josh. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] QTreeView / QTableView row change

2013-11-08 Thread Scott Aron Bloom
Connect to the selectionChanged signale If you need more advanced monitoring, look into the QSelectionmanager (every view has one) Scott -Original Message- From: interest-bounces+scott=onshorecs@qt-project.org [mailto:interest-bounces+scott=onshorecs@qt-project.org] On Behalf

Re: [Interest] QTreeView / QTableView row change

2013-11-08 Thread Clément Geiger
Hi, So you mean, detect when the current row in a view is changed, not when the row content in the model is changed. Then you're looking for the currentChanged signal in QItemSelectionModel (you can get the selection model from the view via QAbstractItemView::selectionModel()) Cheers, Clément

Re: [Interest] QTreeView / QTableView row change

2013-11-08 Thread Joseph W. Joshua
On 11/8/2013 1:26 PM, Clément Geiger wrote: Hi, So you mean, detect when the current row in a view is changed, not when the row content in the model is changed. Then you're looking for the currentChanged signal in QItemSelectionModel (you can get the selection model from the view via

Re: [Interest] What for does qt5gui need OpenGL?

2013-11-08 Thread Bo Thorsen
Den 07-11-2013 07:40, Uwe Rathmann skrev: On Wed, 06 Nov 2013 08:03:47 -0800, Thiago Macieira wrote: Shouldn't they be in Qt5OpenGL.dll? No, they are where they were supposed to be. That's by design. With some nasty consequences for us users: Our applications run on several pieces of

[Interest] Use Oracle 11g with Qt5.1 on MacOS

2013-11-08 Thread Emmanuel Bourgerie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I am having an issue compiling the Qt Oracle plugin on MacOS. I downloaded the Instant Client, copied the .h files in /usr/include and the .dylib in /usr/lib (I know it's dirty, but I wanted to make sure they were available). Here is what I

Re: [Interest] What for does qt5gui need OpenGL?

2013-11-08 Thread Mandeep Sandhu
For Qt4 JSON support, I've used Eeli Reilins QtJSON and been very happy with it: https://github.com/da4c30ff/qt-json. I recommend it. We've been using Flavio Castelli's QJson in our embedded project with Qt4 and it's worked out well. http://qjson.sourceforge.net/ HTH, -mandeep Bo. --

Re: [Interest] What for does qt5gui need OpenGL?

2013-11-08 Thread Uwe Rathmann
On Fri, 08 Nov 2013 11:47:36 +0100, Bo Thorsen wrote: With a 7 year old board, this is what you can expect to start hitting. It's so old, that you just can't expect brand new software to run on it. The strategy of Qt5 is to introduce a new graphic stack but also to keep the old old one alive.

[Interest] The Qt-components ML has been closed

2013-11-08 Thread Nurmi J-P
Hi all, As previously discussed here and there, we have decided to shut down the obsolete Qt-components mailing list. The mailing list no longer served a purpose, but mainly caused confusion especially amongst new Qt users. The substituting lists are: * Interest - List for developers who

Re: [Interest] Performance of Qt 5.2 much slower than Qt 5.1?

2013-11-08 Thread David V-Play
Is there any change to get QSG_RENDER_TIMING=1 working on mobiles, because it works only on Desktop when set in the Projects System Environment settings. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Performance of Qt 5.2 much slower than Qt 5.1?

2013-11-08 Thread Koehne Kai
-Original Message- From: interest-bounces+kai.koehne=digia@qt-project.org [mailto:interest-bounces+kai.koehne=digia@qt-project.org] On Behalf Of David V-Play Sent: Friday, November 08, 2013 4:11 PM To: interest@qt-project.org Subject: Re: [Interest] Performance of Qt 5.2

Re: [Interest] Performance of Qt 5.2 much slower than Qt 5.1?

2013-11-08 Thread David V-Play
Well, I tried it with Android (Nexus 7 and Huawai) and iOS 7 (iPad/Phone) with Qt 5.2 and the option only works on desktops. But it also does not work on desktops when I set the env manually with qputenv(QSG_RENDER_TIMING,1); Cheers, David On Fri, Nov 8, 2013 at 4:20 PM, Koehne Kai

Re: [Interest] Performance of Qt 5.2 much slower than Qt 5.1?

2013-11-08 Thread Koehne Kai
-Original Message- From: David V-Play [mailto:david.ber...@v-play.net] Sent: Friday, November 08, 2013 5:02 PM To: Koehne Kai Cc: interest@qt-project.org Subject: Re: [Interest] Performance of Qt 5.2 much slower than Qt 5.1? Well, I tried it with Android (Nexus 7 and Huawai) and

[Interest] compilation error in qdatetime

2013-11-08 Thread Graham Labdon
Hi I amusing Qt5 with Visual Studio and one of my projects is giving the following error c:\qt\qt5.1.1\5.1.1\msvc2012\include\qtcore\qdatetime.h(121): error C2589: '(' : illegal token on right side of '::' 1c:\qt\qt5.1.1\5.1.1\msvc2012\include\qtcore\qdatetime.h(121): error C2059: syntax error

Re: [Interest] Use Oracle 11g with Qt5.1 on MacOS

2013-11-08 Thread Thiago Macieira
On sexta-feira, 8 de novembro de 2013 11:00:47, Emmanuel Bourgerie wrote: ld: library not found for -lclntsh What's the full path to libclntsh.dylib? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center signature.asc Description:

[Interest] bad behavior using window flags

2013-11-08 Thread Ing. Rayner Pupo Gomez
Hello, I'm having some issues on setting window flags on a custom widget. I want to toggle in/out a widget from its parent using Qt::Window and Qt::Widget flags but it doesnt work on 100 percent of cases, sometimes (random actually) setting the Qt::Widget flag to restore the widget as its

Re: [Interest] compilation error in qdatetime

2013-11-08 Thread Thiago Macieira
On sexta-feira, 8 de novembro de 2013 16:36:14, Graham Labdon wrote: Hi I amusing Qt5 with Visual Studio and one of my projects is giving the following error c:\qt\qt5.1.1\5.1.1\msvc2012\include\qtcore\qdatetime.h(121): error C2589: '(' : illegal token on right side of '::'

Re: [Interest] What for does qt5gui need OpenGL?

2013-11-08 Thread Thiago Macieira
On sexta-feira, 8 de novembro de 2013 16:31:37, Mandeep Sandhu wrote: We've been using Flavio Castelli's QJson in our embedded project with Qt4 and it's worked out well. http://qjson.sourceforge.net/ I've played with it too. I would recommend using Girish's parser instead. Compared to

Re: [Interest] compilation error in qdatetime

2013-11-08 Thread Graham Labdon
I have defined a macro named min in my code! -Original Message- From: interest-bounces+graham.labdon=avalonsciences@qt-project.org [mailto:interest-bounces+graham.labdon=avalonsciences@qt-project.org] On Behalf Of Thiago Macieira Sent: 08 November 2013 16:40 To:

Re: [Interest] Use Oracle 11g with Qt5.1 on MacOS

2013-11-08 Thread Emmanuel Bourgerie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 /usr/lib/libclntsh.dylib.11.1 /usr/lib/libclntsh.dylib The second is a symlink to the first. - -- Emmanuel Bourgerie Web developer Dublin, Ireland (+353) 8 144 5278 http://bourgerie.fr/ Confus avec BEGIN PGP SIGNED MESSAGE ? http://weusepgp.info/fr

Re: [Interest] QtDBus interface design question

2013-11-08 Thread Roland Winklmeier
Hi mandeep, thanks for the answer. I was a little bit concerned, since I also want to have the possibility to sort the table, but with transfering only strings, I would loose the operator () implementation. But I think I can workaround that, by passing an enum with the sort order and let the

[Interest] Context2D::createConicalGradient broken?

2013-11-08 Thread Guido Seifert
Hi, I just tried top use: QtQuick 2.1: var gradient = ctx.createConicalGradient(20.0, 10.0, 2.0); gradient.addColorStop(0.3, Qt.rgba(1, 0, 0, 1)); I get an exception: Property 'addColorStop' of object [object Object] is not a function Latest beta1 snapshot. My bug? Your bug? Known bug?

Re: [Interest] What for does qt5gui need OpenGL?

2013-11-08 Thread André Pönitz
On Fri, Nov 08, 2013 at 07:15:29PM +, Joseph Crowell wrote: AFAIK you can build Qt5 with no-opengl switch and you should be able to run QtWidgets applications without having libQt5OpenGl dependency in libQt5Gui. The problem is that this won't scale. One cannot provide custom builds of

Re: [Interest] Use Oracle 11g with Qt5.1 on MacOS

2013-11-08 Thread Thiago Macieira
On sexta-feira, 8 de novembro de 2013 17:05:54, Emmanuel Bourgerie wrote: /usr/lib/libclntsh.dylib.11.1 /usr/lib/libclntsh.dylib Looks right. Check that the libraries are of the right architecture (x86, x86-64, ppc or ppc32). -- Thiago Macieira - thiago.macieira (AT) intel.com Software

Re: [Interest] Use Oracle 11g with Qt5.1 on MacOS

2013-11-08 Thread Emmanuel Bourgerie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 They are fine AFAIK. Is there a command to double-check? Emmanuel Bourgerie Web developer Dublin, Ireland (+353) 8 144 5278 http://bourgerie.fr/ Confus avec BEGIN PGP SIGNED MESSAGE ? http://weusepgp.info/fr Confused with BEGIN PGP SIGNED MESSAGE?

Re: [Interest] compilation error in qdatetime

2013-11-08 Thread Thiago Macieira
On sexta-feira, 8 de novembro de 2013 17:03:32, Graham Labdon wrote: I have defined a macro named min in my code! You probably meant I have *not* defined [...] I understand. But you included a header that does define one: windows.h. Stop doing that. windows.h has a facility to ask it not to

Re: [Interest] Use Oracle 11g with Qt5.1 on MacOS

2013-11-08 Thread Thiago Macieira
On sexta-feira, 8 de novembro de 2013 21:44:23, Emmanuel Bourgerie wrote: They are fine AFAIK. Is there a command to double-check? otool should be able to print the headers, but the file command should be enough. If file says that it's a Mach-O fat binary, check which architectures are

Re: [Interest] QCamera and QCameraViewFinder

2013-11-08 Thread Joshua Grauman
Thanks so much. I may be missing something, but is there an easy way to convert QVideoFrame to QImage? I can't see one. Also note that the Qt example code also has this problem: http://qt-project.org/doc/qt-5.0/qtmultimedia/multimediawidgets-camera.html also note that the basic code I posted