Re: [Interest] Qt 5 and filesystem

2013-01-04 Thread Jason H
Why isn't there a proxy? From: Thiago Macieira To: "interest@qt-project.org" Sent: Friday, January 4, 2013 9:48 PM Subject: Re: [Interest] Qt 5 and filesystem On sexta-feira, 4 de janeiro de 2013 12.49.48, Jason H wrote: > I don't understand why that matt

Re: [Interest] Report designer

2013-01-04 Thread M. Bashir Al-Noimi
On 04/01/2013 10:42 م, M. Bashir Al-Noimi wrote: On 04/01/2013 11:30 ص, Ilya Diallo wrote: Hi, NCReport is a commercial product. For a well tested open source tool, see for instance OpenRPT (http

Re: [Interest] Qt 5 and filesystem

2013-01-04 Thread Thiago Macieira
On sexta-feira, 4 de janeiro de 2013 12.49.48, Jason H wrote: > I don't understand why that matters. > So it's using a scene graph, why does that preclude the proxy approach? Because there's no proxy. If you want to launch an external QFileDialog (i.e., new window), it should work just fine. --

Re: [Interest] qRegisterMetaType > and type flags

2013-01-04 Thread Thiago Macieira
On sábado, 5 de janeiro de 2013 00.50.45, Jan Kundrát wrote: > On Wednesday, 2 January 2013 21:04:13 CEST, Stephen Kelly wrote: > > So unless you're deliberately creating a typedef registration (and even in > > that case, be careful), omit the string and you don't have to > > think about it > > any

[Interest] Re: qRegisterMetaType > and type flags

2013-01-04 Thread Jan Kundrát
On Wednesday, 2 January 2013 21:04:13 CEST, Stephen Kelly wrote: > So unless you're deliberately creating a typedef registration (and even in > that case, be careful), omit the string and you don't have to > think about it > anymore. Looks like I cannot register a pointer to a namespaced class

Re: [Interest] Report designer

2013-01-04 Thread M. Bashir Al-Noimi
On 04/01/2013 11:30 ص, Ilya Diallo wrote: Hi, NCReport is a commercial product. For a well tested open source tool, see for instance OpenRPT (http://www.xtuple.com/openrpt). NB OpenRPT is now bundled in the xTuple ERP installer, but

Re: [Interest] Qt 5 and filesystem

2013-01-04 Thread Jason H
I don't understand why that matters. So it's using a scene graph, why does that preclude the proxy approach? From: André Somers To: interest@qt-project.org Sent: Friday, January 4, 2013 10:19 AM Subject: Re: [Interest] Qt 5 and filesystem Op 4-1-2013 16:

Re: [Interest] Problems porting to Qt5

2013-01-04 Thread Nikos Chantziaras
On 04/01/13 21:37, R. Reucher wrote: > On Friday 04 January 2013 20:22:30 Nikos Chantziaras wrote: >> On 04/01/13 15:59, Thiago Macieira wrote: >>> On sexta-feira, 4 de janeiro de 2013 13.47.13, Marcelo Estanislau Geyer > wrote: I have an application that is compiled to Qt4.8.3 and I am intere

Re: [Interest] Problems porting to Qt5

2013-01-04 Thread Thiago Macieira
On sexta-feira, 4 de janeiro de 2013 21.22.30, Nikos Chantziaras wrote: > I suppose we won't see some kind of Qt4Style, like there's a GtkStyle? You won't see that. It's impossible to load Qt 4 inside Qt 5. > KDE4 will be around for a while yet (even after KDE5 comes out), and > this hinders adop

Re: [Interest] Problems porting to Qt5

2013-01-04 Thread R. Reucher
On Friday 04 January 2013 20:22:30 Nikos Chantziaras wrote: > On 04/01/13 15:59, Thiago Macieira wrote: > > On sexta-feira, 4 de janeiro de 2013 13.47.13, Marcelo Estanislau Geyer wrote: > >> I have an application that is compiled to Qt4.8.3 and I am interested in > >> porting to Qt5. The problem

Re: [Interest] Problems porting to Qt5

2013-01-04 Thread Nikos Chantziaras
On 04/01/13 15:59, Thiago Macieira wrote: > On sexta-feira, 4 de janeiro de 2013 13.47.13, Marcelo Estanislau Geyer wrote: >> I have an application that is compiled to Qt4.8.3 and I am interested in >> porting to Qt5. The problem is that I need to run this system and depend on >> Kubuntu 11.10/12.0

Re: [Interest] Qt 5 and filesystem

2013-01-04 Thread Stephen Kelly
On Friday, January 04, 2013 16:11:33 André Pönitz wrote: > On Fri, Jan 04, 2013 at 10:09:50AM +0100, Bo Thorsen wrote: > > Hi Stéphane, > > > > Yes exactly, the problem is that QML is young. I expect that the > > capabilities will expand quite a lot over the coming years, and > > file handling is a

Re: [Interest] Qt 5 and filesystem

2013-01-04 Thread André Somers
Op 4-1-2013 16:17, Jason H schreef: I could be mistaken, but isn't the solution just as simple as using a QGraphicsWidgetProxy for a QFileDialog and exporting that to QML as a component. It should be like 10 lines of code, no? No, because QML 2 is not using a graphics view anymore. André __

Re: [Interest] Qt 5 and filesystem

2013-01-04 Thread Jason H
I could be mistaken, but isn't the solution just as simple as using a QGraphicsWidgetProxy for a QFileDialog and exporting that to QML as a component. It should be like 10 lines of code, no? From: Bo Thorsen To: Stéphane Fabry Cc: interest@qt-project.org

Re: [Interest] Qt 5 and filesystem

2013-01-04 Thread André Pönitz
On Fri, Jan 04, 2013 at 10:09:50AM +0100, Bo Thorsen wrote: > Hi Stéphane, > > Yes exactly, the problem is that QML is young. I expect that the > capabilities will expand quite a lot over the coming years, and > file handling is an obvious place for improvements. Qt (the C++ > parts) had over 16 y

Re: [Interest] QFile copy and sync/fsync

2013-01-04 Thread Duane
On 01/04/2013 08:58 AM, Thiago Macieira wrote: > On sexta-feira, 4 de janeiro de 2013 08.00.14, Duane wrote: >> What I don't understand is that if I mount the USB stick with sync, and >> I have a for loop that copies N files, after the for loop finishes, >> there is a long delay. I can see from th

Re: [Interest] Problems porting to Qt5

2013-01-04 Thread Thiago Macieira
On sexta-feira, 4 de janeiro de 2013 13.47.13, Marcelo Estanislau Geyer wrote: > I have an application that is compiled to Qt4.8.3 and I am interested in > porting to Qt5. The problem is that I need to run this system and depend on > Kubuntu 11.10/12.04/12.10 of the KDE libraries, particularly KFil

Re: [Interest] QFile copy and sync/fsync

2013-01-04 Thread Thiago Macieira
On sexta-feira, 4 de janeiro de 2013 08.00.14, Duane wrote: > What I don't understand is that if I mount the USB stick with sync, and > I have a for loop that copies N files, after the for loop finishes, > there is a long delay. I can see from the led on the usb stick that > this is when the fi

[Interest] Re: Problems porting to Qt5

2013-01-04 Thread Jan Kundrát
On Friday, 4 January 2013 14:47:13 CEST, Marcelo Estanislau Geyer wrote: > I believe you can not compile for Qt5 if KDE is not recompiled for > Qt5, correct? You cannot use both Qt4 and Qt5 from the same application, that's right. KDE hasn't released a Qt5 version yet, so this means that you can

[Interest] Problems porting to Qt5

2013-01-04 Thread Marcelo Estanislau Geyer
I have an application that is compiled to Qt4.8.3 and I am interested in porting to Qt5. The problem is that I need to run this system and depend on Kubuntu 11.10/12.04/12.10 of the KDE libraries, particularly KFileDialog. When trying to compile I have the problem of "Can not mix incompatibl

Re: [Interest] QFile copy and sync/fsync

2013-01-04 Thread Duane
On 01/04/2013 08:06 AM, Mandeep Sandhu wrote: >> >> What I don't understand is that if I mount the USB stick with sync, and >> I have a for loop that copies N files, after the for loop finishes, >> there is a long delay. I can see from the led on the usb stick that >> this is when the files are be

Re: [Interest] QFile copy and sync/fsync

2013-01-04 Thread Mandeep Sandhu
> > What I don't understand is that if I mount the USB stick with sync, and > I have a for loop that copies N files, after the for loop finishes, > there is a long delay. I can see from the led on the usb stick that > this is when the files are being written. Is this something that the OS > (in t

Re: [Interest] QFile copy and sync/fsync

2013-01-04 Thread Duane
On 01/03/2013 04:37 PM, Thiago Macieira wrote: > On quinta-feira, 3 de janeiro de 2013 23.25.54, Nikos Chantziaras wrote: >>> That has nothing to do with it. Unbuffered mode means that QFile will not >>> buffer (and will not use buffered stdio either). Instead, it will use >>> directly the low-leve

Re: [Interest] QSqlTableModel and transactions

2013-01-04 Thread Petric Frank
Hello Mark, Am Freitag, 4. Januar 2013, 12:03:22 schrieb Mark Brand: > > i ran into an issue using transactions together with QSqlTableModel. > > > > Whenever i do a "QSqlDatabase::rollback ()" the QSqlTableModel internal > > buffer is not updated to reflect this. So it still shows the data befor

Re: [Interest] QSqlTableModel and transactions

2013-01-04 Thread Mark Brand
Petric Frank wrote: > Hello, > > i ran into an issue using transactions together with QSqlTableModel. > > Whenever i do a "QSqlDatabase::rollback ()" the QSqlTableModel internal buffer > is not updated to reflect this. So it still shows the data before the > rollback. I'm not sure whether your "i

[Interest] Windows Qt5 QWebview widget is missing

2013-01-04 Thread Rudolf Veliczky
Hi, i've just installed Qt5 on Windows 7 ( qt-windows-opensource-5.0.0-msvc2010_32-x86-offline.exe). Unfortunately cannot find QWebview among Display widgets in the designer. I've found a few qtcreator bugreports but they are related to mac and linux. There's also qtcreator2.6.0 with qt4.8.4 ins

Re: [Interest] Report designer

2013-01-04 Thread Ilya Diallo
Hi, NCReport is a commercial product. For a well tested open source tool, see for instance OpenRPT (http://www.xtuple.com/openrpt). NB OpenRPT is now bundled in the xTuple ERP installer, but you can select only the standalone OpenRPT during the install. Ilya. 2013/1/3 Tony Rietwyk > Hi Muhamma

Re: [Interest] Qt 5 and filesystem

2013-01-04 Thread Bo Thorsen
Hi Stéphane, Yes exactly, the problem is that QML is young. I expect that the capabilities will expand quite a lot over the coming years, and file handling is an obvious place for improvements. Qt (the C++ parts) had over 16 years to develop into the current system, QML is an infant compared

Re: [Interest] Qt 5 and filesystem

2013-01-04 Thread Stéphane Fabry
Thanks for your replies, I understand for dialogs, their are sometimes drawed using QWidgets where native do not provide them. Ok for C++ solution, that's not that complicated, but it is still some work you do not need to do with QWidgets. But Qt5 is still young, maybe we could have such API

Re: [Interest] About the coordinator between the texture and vertex in opengl

2013-01-04 Thread song.7.liu
Hi, Sorry that I am still not understand it clearly, let’s begin with follow example: If I have a vertex array as bellow: GLint vert[4 * 3]= { -1, 1, 0, -1, -1, 0, 1, 1, 0, 1, -1, 0 }; And a rectangle will be drawn by: glEnableClientState(GL_VERTEX_ARRAY)