Re: [Interest] Report designer

2013-01-03 Thread Muhammad Bashir Al-Noimi
On 01/02/2013 06:13 PM, Muhammad Bashir Al-Noimi wrote: Hello guys, Could anyone guide me to best open source database report designer for Qt? PS I found many designers but I want a tested designer. I

Re: [Interest] QML for new Ubuntu phone!

2013-01-03 Thread Nils Jeisecke
Hey, thus came as a surprise to me! Cool. They seem to be the first using Qt 5. AFAIK both Sailfish and BB10 will start with 4.8. And now we'll have a third mobile Qml component set (ignoring symbian ;-) It would be great if at least basic components like labels, input fields etc. would share a

Re: [Interest] Report designer

2013-01-03 Thread Tony Rietwyk
Hi Muhammad, We use http://www.nocisoft.com/ncreport.html. It integrates easily and does basic reports well. We use some of the advanced features (scripting), but not master-detail so can't comment on that. The support is first class - problems are usually addressed within 24 hours!

Re: [Interest] What are the states of the new platforms?

2013-01-03 Thread Sorvig Morten
On Jan 2, 2013, at 5:02 PM, Jason H scorp...@yahoo.com wrote: Qt5 is being advertised as targeting iOS and Android. You have been slightly misled. Qt for iOS development is ongoing and the target is Qt 5.2. There will be preview releases along the way. (with multitouch support at some point).

Re: [Interest] QFile copy and sync/fsync

2013-01-03 Thread Duane
On 01/02/2013 06:08 PM, Lincoln Ramsay wrote: On 03/01/13 06:49, Duane wrote: I have a function to back up some files to a usb stick. Using a variant of the FAT filesystem no doubt? I've had complaints from users that the files are sometime not copied. It looks like they're removing the

Re: [Interest] QFile copy and sync/fsync

2013-01-03 Thread Duane
On 01/02/2013 04:45 PM, Nikos Chantziaras wrote: On 02/01/13 22:49, Duane wrote: Qt 4.8 on Linux TinyCore or Fedora. I have a function to back up some files to a usb stick. I've had complaints from users that the files are sometime not copied. It looks like they're removing the usb stick

Re: [Interest] QFile copy and sync/fsync

2013-01-03 Thread Lincoln Ramsay
On 3/01/13 11:47 PM, Duane wrote: I'm using QFile::copy(source,target). I've tried changing it to use the non static copy from QFile but I don't have a pointer to the target. So I create another instance of QFile for that one and call fsync on it after the copy but this doesn't work.

Re: [Interest] QFile copy and sync/fsync

2013-01-03 Thread Duane
On 01/02/2013 06:08 PM, Lincoln Ramsay wrote: On 03/01/13 06:49, Duane wrote: I have a function to back up some files to a usb stick. Using a variant of the FAT filesystem no doubt? I've had complaints from users that the files are sometime not copied. It looks like they're removing the

Re: [Interest] QFile copy and sync/fsync

2013-01-03 Thread Constantin Makshin
A closed file has no handle so that fsync() call does nothing. On Thu, Jan 3, 2013 at 7:15 PM, Duane duane.heb...@group-upc.com wrote: After copying I close the target and then use fsync(target.handle()). If I remove the USb stick right away, it still doesn't work.

Re: [Interest] Report designer

2013-01-03 Thread Muhammad Bashir Al-Noimi
On 01/03/2013 12:54 PM, Tony Rietwyk wrote: Hi Muhammad, We use http://www.nocisoft.com/ncreport.html. It integrates easily and does basic reports well. We use some of

Re: [Interest] QFile copy and sync/fsync

2013-01-03 Thread Thiago Macieira
On quinta-feira, 3 de janeiro de 2013 21.45.39, Nikos Chantziaras wrote: Have you tried to open the files in QIODevice::Unbuffered mode? If you do that, then the data should be written out immediately when the filesystem is mounted synchronously. That has nothing to do with it. Unbuffered

[Interest] Qt 5 and filesystem

2013-01-03 Thread Stéphane Fabry
Hello, Let's say I'd like to make a desktop application with Qt5 and QtQuick2, the new era :) How can I simply prompt a file dialog, or display in my QML filesystem entries ? Both QFileDialog and QFileSystemModel are still in QtWidget module :( I think they should go in QtGui. -- *Stéphane

Re: [Interest] QFile copy and sync/fsync

2013-01-03 Thread Nikos Chantziaras
On 03/01/13 21:48, Thiago Macieira wrote: On quinta-feira, 3 de janeiro de 2013 21.45.39, Nikos Chantziaras wrote: Have you tried to open the files in QIODevice::Unbuffered mode? If you do that, then the data should be written out immediately when the filesystem is mounted synchronously.

Re: [Interest] Qt 5 and filesystem

2013-01-03 Thread Дмитрий Козлов
Most likely, you'll have to write on C++ your component. You also can use FolderListModel ( http://doc.qt.digia.com/qt/qml-folderlistmodel.html ). For example, for my needs I made this: http://pastebin.com/BSPF3sBw http://pastebin.com/sxwCb3e5 Четверг, 3 января 2013, 21:54 +01:00 от

[Interest] QSqlTableModel and transactions

2013-01-03 Thread Petric Frank
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. Is there a signal or other method to detect a rollback ? This

Re: [Interest] Qt 5 and filesystem

2013-01-03 Thread Bo Thorsen
??? ?? is correct. You have to write C++ for this. The reason is that there is no javascript framework available to you, and JS as a language is almost completely stripped of features. In your case, you are trying to do stuff with files. That's one case where you are going to be