[Interest] remote debuggin

2019-12-04 Thread Duane
Qt Creator 4.5.0 and Qt 5.10.0. Tiny core Linux 8.2. gdb 7.8.1 I'm deploying an application to a remote linux target for debugging. I can launch and run the application but when I stop at a breakpoint after 25 seconds or so the application crashes with the message: linux-low.c:949: A probl

[Interest] numeric keyboard android/ios

2018-12-11 Thread Duane
Setting a QLineEdit's input hint to digits only triggers a numeric keyboard. With android, there is a "done" button on the bottom left. With ios, there is not a done button but something that appears to be a language selector. What is the best way to change this behavior so that on ios the "d

[Interest] Start windows desktop app from a service

2018-07-30 Thread Duane via Interest
I need to keep a desktop application running on a server. I can detect that it's running but what's the best way to restart it using Qt? This will mostly run on Windows and I expect issues running the service as admin and starting the application as logged on user. __

Re: [Interest] Read structure from binary file

2017-03-16 Thread Duane
On 16/03/2017 11:37 AM, Thiago Macieira wrote: Em quinta-feira, 16 de março de 2017, às 07:53:10 PDT, Duane escreveu: I've tried QFile::read() but it wants a char buffer. reinterpret_cast to char. Thanks. ___ Interest mailing list Intere

[Interest] Read structure from binary file

2017-03-16 Thread Duane
How can I use Qt to read from a binary file to a structure? I'm trying to replace Foo foo; fread(foo,sizeof(FOO); I've tried QFile::read() but it wants a char buffer. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailm

Re: [Interest] Update breaks version

2016-12-19 Thread Duane
On 19/12/2016 12:51 PM, Sean Harmer wrote: Have you also replaced the plugins? What does the debug console/log say? Which lib/plugin is causing it to fail? Cheers, Sean It looks like the sqldrivers. But no, I haven't replaced them. And the existing ones seem to work with 4.7.1 on the tar

Re: [Interest] Update breaks version

2016-12-19 Thread Duane
h the 4.7.1 dlls and everything is ok. On Mon, Dec 19, 2016 at 11:03 AM, Duane mailto:duane.heb...@group-upc.com>> wrote: On 19/12/2016 11:49 AM, Duane wrote: On 19/12/2016 11:03 AM, Kai Koehne wrote: -Original Message- Fro

Re: [Interest] Update breaks version

2016-12-19 Thread Duane
On 19/12/2016 11:49 AM, Duane wrote: On 19/12/2016 11:03 AM, Kai Koehne wrote: -Original Message- From: Interest [mailto:interest-bounces+kai.koehne=qt...@qt-project.org] On Behalf Of Duane Sent: Monday, December 19, 2016 4:10 PM To: interest@qt-project.org Subject: [Interest] Update

Re: [Interest] Update breaks version

2016-12-19 Thread Duane
On 19/12/2016 11:03 AM, Kai Koehne wrote: -Original Message- From: Interest [mailto:interest-bounces+kai.koehne=qt...@qt-project.org] On Behalf Of Duane Sent: Monday, December 19, 2016 4:10 PM To: interest@qt-project.org Subject: [Interest] Update breaks version I have Qt installed on

[Interest] Update breaks version

2016-12-19 Thread Duane
I have Qt installed on Windows using MinGW. I was at 5.7.0 and updated via the Maintenance tool to get to 5.7.1 and Creator 4.2.0. My programs build but when I deploy them to systems with 5.7.0 dlls they don't work. I thought the dlls were compatible through minor revisions? ___

Re: [Interest] QLineEdit::editingFinshied()

2016-11-29 Thread Duane
On 29/11/2016 9:16 AM, Duane wrote: On 29/11/2016 8:54 AM, Robert Buchinger wrote: Putting a breakpoint in the code was causing the focusOut to fire when the slot was hit due to a return press. But when I triggered the slot by forcing a loss of focus, it of course didn't fire again.

Re: [Interest] QLineEdit::editingFinshied()

2016-11-29 Thread Duane
On 29/11/2016 8:54 AM, Robert Buchinger wrote: On Dienstag, 29. November 2016 08:48:11 CET Duane wrote: Qt 5.7 - MinGW 5.3.0 - Windows 7 When pressing the enter key, editingFinished() fires twice. When the line edit loses scope it works correctly. Is this a known bug? Is there a workaround

[Interest] QLineEdit::editingFinshied()

2016-11-29 Thread Duane
Qt 5.7 - MinGW 5.3.0 - Windows 7 When pressing the enter key, editingFinished() fires twice. When the line edit loses scope it works correctly. Is this a known bug? Is there a workaround? ___ Interest mailing list Interest@qt-project.org http:/

Re: [Interest] What don't you like about Qt?

2016-09-19 Thread Duane
On 19/09/2016 9:11 AM, Konstantin Tokarev wrote: 19.09.2016, 16:08, "Henry Skoglund" : Ok here's my number #1 complaint: the MaintenanceTool app, when you start it, why is the default selected choice to remove Qt??? It should be to update Qt of course. (Such a design could get you fired if y

Re: [Interest] maintenance tool

2016-06-27 Thread Duane
On 27/06/2016 4:17 PM, Konstantin Podsvirov wrote: 22:45, 27 june 2016 г., Duane : On 27/06/2016 1:52 PM, Konstantin Podsvirov wrote: 27.06.2016, 20:28, "Duane" : On 27/06/2016 12:31 PM, Konstantin Podsvirov wrote: If you about Qt

Re: [Interest] maintenance tool

2016-06-27 Thread Duane
On 27/06/2016 1:52 PM, Konstantin Podsvirov wrote: 27.06.2016, 20:28, "Duane" : On 27/06/2016 12:31 PM, Konstantin Podsvirov wrote: If you about Qt Installer Framework? Documentation: http://doc.qt.io/qtinstallerframework/index.html Prebuild binaries (installer

Re: [Interest] maintenance tool

2016-06-27 Thread Duane
On 27/06/2016 12:31 PM, Konstantin Podsvirov wrote: If you about Qt Installer Framework? Documentation: http://doc.qt.io/qtinstallerframework/index.html Prebuild binaries (installers): http://download.qt.io/official_releases/qt-installer-framework 27.06.2016, 18:23, "Duane" : W

[Interest] maintenance tool

2016-06-27 Thread Duane
Where can I download an installation for the maintenance tool? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Return value from QProcess

2016-04-07 Thread Duane
On 07/04/2016 12:16 PM, Thiago Macieira wrote: On quinta-feira, 7 de abril de 2016 08:47:05 PDT Duane wrote: /* If WIFEXITED(STATUS), the low-order 8 bits of the status. */ #define __WEXITSTATUS(status) (((status) & 0xff00) >> 8) BTW $ printf %x\\n 4531 11b3 0x11 is 17. So Q

Re: [Interest] Return value from QProcess

2016-04-07 Thread Duane
On 06/04/2016 1:22 PM, Thiago Macieira wrote: On quarta-feira, 6 de abril de 2016 08:47:58 PDT Thiago Macieira wrote: On quarta-feira, 6 de abril de 2016 10:47:39 PDT Duane wrote: This works in the sense that it returns 0 when there's no error but it doesn't seem to return the re

Re: [Interest] Return value from QProcess

2016-04-07 Thread Duane
On 06/04/2016 3:00 PM, Jérôme Godbout wrote: You should use a more complete bash command that perform the insert mod, not an actual command but just the raw idea here: if [[ $(lsmod | grep "Profibus") != "ProfileBus" ]]; then insmod Profibus fi Maybe you should check with modprobe to check if t

Re: [Interest] Return value from QProcess

2016-04-06 Thread Duane
On 06/04/2016 11:47 AM, Thiago Macieira wrote: On quarta-feira, 6 de abril de 2016 10:47:39 PDT Duane wrote: This works in the sense that it returns 0 when there's no error but it doesn't seem to return the return value from insmod. For example, insmod returns 4531 when the file

Re: [Interest] Return value from QProcess

2016-04-06 Thread Duane
On 06/04/2016 11:09 AM, Robert Buchinger wrote: On Wednesday, April 6, 2016 10:47:39 AM CEST Duane wrote: On 06/04/2016 10:39 AM, Konstantin Tokarev wrote: 06.04.2016, 17:36, "Duane" : Qt 5.3, on TinyCore Linux 5 and Fedora 23. I'm currently using a call to std::system t

Re: [Interest] Return value from QProcess

2016-04-06 Thread Duane
On 06/04/2016 10:39 AM, Konstantin Tokarev wrote: 06.04.2016, 17:36, "Duane" : Qt 5.3, on TinyCore Linux 5 and Fedora 23. I'm currently using a call to std::system to load a module with insmod. This works but I would like to do it with QProcess. Why? I want to wait fo

[Interest] Return value from QProcess

2016-04-06 Thread Duane
Qt 5.3, on TinyCore Linux 5 and Fedora 23. I'm currently using a call to std::system to load a module with insmod. This works but I would like to do it with QProcess. This also works but I can't seem to get the return value of the insmod call like I can with std::system. Any suggestions?

[Interest] vsaddin changing include format

2016-02-08 Thread Duane
VSAddin 1.2.3 with Visual studio 2012 and Qt5.5. When I enter includes for Qt such as #include they get changed as I type to #include Is this intentional? Can it be configured? ___ Interest mailing list Interest@qt-project.org http://lists.qt-proj

[Interest] Problems with VSAddin

2015-12-23 Thread Duane
Using VSAddin 1.2.3 with VS2012. When creating a new Qt project the vcxproj.user file generated incorrectly. For example: xmlns="http://schemas.microsoft.com/developer/msbuild/2003";> Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> PATH=$(QTDIR)\bin%3b"$QTDIR\bin%3b$(PATH)

Re: [Interest] QFileDialog Qt5

2015-12-17 Thread Duane
On 17/12/2015 3:15 AM, Jan Dasselaar wrote: On 16-12-2015 15:02, Duane wrote: On 16/12/2015 8:53 AM, Thiago Macieira wrote: On Wednesday 16 December 2015 08:10:44 Duane wrote: I'm subclassing a QFileDialog. I need to get a pointer to the filename box. I was doing this with findChild()

Re: [Interest] QFileDialog Qt5

2015-12-16 Thread Duane
On 16/12/2015 10:33 AM, Jan Dasselaar wrote: On 16-12-2015 16:16, Duane wrote: On 16/12/2015 9:24 AM, André Somers wrote: Op 16/12/2015 om 15:02 schreef Duane: On 16/12/2015 8:53 AM, Thiago Macieira wrote: On Wednesday 16 December 2015 08:10:44 Duane wrote: I'm subclassing a QFileD

Re: [Interest] QFileDialog Qt5

2015-12-16 Thread Duane
On 16/12/2015 9:24 AM, André Somers wrote: Op 16/12/2015 om 15:02 schreef Duane: On 16/12/2015 8:53 AM, Thiago Macieira wrote: On Wednesday 16 December 2015 08:10:44 Duane wrote: I'm subclassing a QFileDialog. I need to get a pointer to the filename box. I was doing this with find

Re: [Interest] QFileDialog Qt5

2015-12-16 Thread Duane
On 16/12/2015 8:53 AM, Thiago Macieira wrote: On Wednesday 16 December 2015 08:10:44 Duane wrote: I'm subclassing a QFileDialog. I need to get a pointer to the filename box. I was doing this with findChild() with Qt4 but with Qt5 this returns null. Any suggestions? XY problem. Why d

Re: [Interest] QFileDialog Qt5

2015-12-16 Thread Duane
On 16/12/2015 8:14 AM, André Somers wrote: Op 16/12/2015 om 14:10 schreef Duane: I'm subclassing a QFileDialog. I need to get a pointer to the filename box. I was doing this with findChild() with Qt4 but with Qt5 this returns null. Any suggestions? Are you sure you are not gett

[Interest] QFileDialog Qt5

2015-12-16 Thread Duane
I'm subclassing a QFileDialog. I need to get a pointer to the filename box. I was doing this with findChild() with Qt4 but with Qt5 this returns null. Any suggestions? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/m

Re: [Interest] Fonts and Qt5

2015-12-15 Thread Duane
On 15/12/2015 9:16 AM, Duane wrote: On 15/12/2015 4:30 AM, Thiago Macieira wrote: On Monday 14 December 2015 23:56:30 Frank Mertens wrote: 2 ideas, here: * call QGuiApplication::setFont() in your main() * use qtconfig to setup Qt5 defaults There's no qtconfig for Qt 5. Recommend

Re: [Interest] Fonts and Qt5

2015-12-15 Thread Duane
On 15/12/2015 4:30 AM, Thiago Macieira wrote: On Monday 14 December 2015 23:56:30 Frank Mertens wrote: 2 ideas, here: * call QGuiApplication::setFont() in your main() * use qtconfig to setup Qt5 defaults There's no qtconfig for Qt 5. Recommendation: don't do anything. Qt is supposed to

[Interest] Fonts and Qt5

2015-12-14 Thread Duane
We're moving our apps from Qt4.8 to Qt 5.5. There seems to be an issue with fonts and font rendering. Our targets are Windows Xp/7 and TinyCore Linux 5. For a sample test on Linux, I built a simple hello world app on both Qt4 and Qt5 with basically a new Qt main window and a couple labels.

Re: [Interest] Creating pdf with QTextDocument with chart

2015-10-26 Thread Duane
On 26/10/2015 11:48 AM, Jason H wrote: Thanks for the reply. We're using QWT to do the charts. I can save a chart to pdf. what I need is to make a report containing a chart among other things and save that as a PDF file. Qwt has QwtRenderer which is designed for this kind of usecase. You wo

Re: [Interest] Creating pdf with QTextDocument with chart

2015-10-26 Thread Duane
On 26/10/2015 11:47 AM, André Somers wrote: Op 26-10-2015 om 16:45 schreef Duane: Hi André. I know about QwtRenderer. What do you use to create your report if not QTextDocument? I wrote a custom reporting subsystem based on QML templates, not based on QTextDocument for our application. That

Re: [Interest] Creating pdf with QTextDocument with chart

2015-10-26 Thread Duane
On 26/10/2015 12:07 PM, Jason H wrote: I don't think 4.8 has the ability to paint images in a document. It looks like Qt5 would make a lot of this simpler. If you read http://doc.qt.io/qt-4.8/richtext-html-subset.html You'll see it supports the tag. Yes but img requires a file name. I

Re: [Interest] Creating pdf with QTextDocument with chart

2015-10-26 Thread Duane
On 26/10/2015 11:36 AM, Jason H wrote: From: Duane On 26/10/2015 11:04 AM, Michael Sué wrote: Hi, Maybe you can use QPrinter using a QPainter: QPrinter printer; printer.setOutputFileName("file.pdf"); QPainter painter(&printer); //paint the widget of your text document

Re: [Interest] Creating pdf with QTextDocument with chart

2015-10-26 Thread Duane
On 26/10/2015 11:31 AM, André Somers wrote: Op 26-10-2015 om 14:09 schreef Duane: On 23/10/2015 7:40 PM, Sze Howe Koh wrote: On 24 October 2015 at 00:21, Duane wrote: I need to create a document as a pdf file for my application. I can use QTextDocument and html to do most of the document

Re: [Interest] Creating pdf with QTextDocument with chart

2015-10-26 Thread Duane
On 26/10/2015 11:04 AM, Michael Sué wrote: Hi, Maybe you can use QPrinter using a QPainter: QPrinter printer; printer.setOutputFileName("file.pdf"); QPainter painter(&printer); //paint the widget of your text document I was just looking at that. I think this would work but I'd have to ma

Re: [Interest] Creating pdf with QTextDocument with chart

2015-10-26 Thread Duane
though, where the font size needs to be manually scaled for logical DPI when using point sizes. Sent: Friday, October 23, 2015 at 12:21 PM From: Duane To: interest@qt-project.org Subject: [Interest] Creating pdf with QTextDocument with chart I need to create a document as a pdf file for my

Re: [Interest] Creating pdf with QTextDocument with chart

2015-10-26 Thread Duane
On 23/10/2015 7:40 PM, Sze Howe Koh wrote: > On 24 October 2015 at 00:21, Duane wrote: >> I need to create a document as a pdf file for my application. I can use >> QTextDocument and html to do most of the document but I need to add a >> chart to it. >> >> I

[Interest] Creating pdf with QTextDocument with chart

2015-10-23 Thread Duane
I need to create a document as a pdf file for my application. I can use QTextDocument and html to do most of the document but I need to add a chart to it. I'm using Qt 4.8. Any suggestions? ___ Interest mailing list Interest@qt-project.org http://li

[Interest] Custom ItemDelegate with widget created in designer

2015-03-31 Thread Duane
I have a custom item delegate that I use to paint borders on cells in a QTreeWidget. In code if I create the QTreeWidget it works. But I'm making a gui class now from designer and setting the delegate doesn't seem to have any effect. Something like: ui->setupUi(this); ui->Tree->setItemDe

Re: [Interest] QTreeWidget with fixed or min row height

2015-03-16 Thread Duane
On 16/03/2015 12:56 PM, Bo Thorsen wrote: > Den 16-03-2015 kl. 17:47 skrev Duane: >> I'm trying to set up a tree widget where I can resize the column width >> to content but maintain a fixed row height. >> >> I have a custom delegate which I use to paint cell borde

[Interest] QTreeWidget with fixed or min row height

2015-03-16 Thread Duane
I'm trying to set up a tree widget where I can resize the column width to content but maintain a fixed row height. I have a custom delegate which I use to paint cell borders and I've added an overload to QSizeHint for this. I've also tried just setting the size hint but in either case column he

[Interest] Problems making qt 4.7.1

2015-01-26 Thread Duane
Trying to install 4.7.1 on a windows 7 os. I do configure and nmake. But the nmake fails trying to build qscriptextensionplugin wiht an error undefined interface. I've done nmake confclean and reconfigured a couple times but no luck. Any ideas? ___

Re: [Interest] Porting Qt4 to Qt5 with respect to styles

2014-11-04 Thread Duane
On 11/3/2014 6:08 PM, Nurmi J-P wrote: >> On 03 Nov 2014, at 23:40, Allan Sandfeld Jensen wrote: >> >> On Monday 03 November 2014, Duane wrote: >>> We're looking at moving a few large projects from Qt 4 to 5. One issue >>> that I'm having is the abs

Re: [Interest] Porting Qt4 to Qt5 with respect to styles

2014-11-04 Thread Duane
On 11/3/2014 5:40 PM, Allan Sandfeld Jensen wrote: > On Monday 03 November 2014, Duane wrote: >> We're looking at moving a few large projects from Qt 4 to 5. One issue >> that I'm having is the absence of QWindowsStyle. We have a class that's >> derived fro

[Interest] Porting Qt4 to Qt5 with respect to styles

2014-11-03 Thread Duane
We're looking at moving a few large projects from Qt 4 to 5. One issue that I'm having is the absence of QWindowsStyle. We have a class that's derived from QWindowsStyle. What's the simplest way to get around this. ___ Interest mailing list Interest@

[Interest] bad pixmap reported

2014-10-01 Thread Duane
Qt 4.8.6 Fedora 20 QtCreator 3.2.1 Application builds and runs ok but when opening new windows or dialogs I get this message in the output window: X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Major opcode: 62 (X_CopyArea) Resource id: 0x0 Any idea what causes this? __

Re: [Interest] raise a minimized qwindow

2014-09-17 Thread Duane
On 9/17/2014 12:07 PM, Thiago Macieira wrote: > On Wednesday 17 September 2014 11:23:57 Duane wrote: >> I can configure this when it's running on my desktop distro which is >> Fedora 20 but the target box is running Tinycore linux and has a very >> limited windows mana

Re: [Interest] raise a minimized qwindow

2014-09-17 Thread Duane
On 9/17/2014 11:14 AM, Jereme Lamothe wrote: > You're doing the right thing so far, but I don't believe you'll be > able to create the behavior you want in your application code. Your > window manager has control over what happens with windows that try to > come to the foreground. If you're attempt

Re: [Interest] raise a minimized qwindow

2014-09-17 Thread Duane
On 9/17/2014 10:27 AM, Marian Beermann wrote: > Did you try showMaximize/showNormal? > > On 17.09.2014 16:10, Duane wrote: >> I have an app that invokes another app as a QProcess. The invoked app >> is a QtSingleApplication. This generally works well in that if the app >

[Interest] raise a minimized qwindow

2014-09-17 Thread Duane
I have an app that invokes another app as a QProcess. The invoked app is a QtSingleApplication. This generally works well in that if the app is already opened but minimized, it won't reopen but it will be activated. I'm using activateWindw(); raise(); This will make the taskbar icon blink.

[Interest] Qt5 QFileDialog Directory Only behavior different on Xp and Windows7

2014-07-15 Thread Duane
I'm using this : QFileDialog fd(this,"Select folder",targetFolder); fd.setFileMode(QFileDialog::Directory); fd.setOption(QFileDialog::ShowDirsOnly); if(fd.exec() == QDialog::Accepted) { ... } On windows7 (and linux) this works as expected. It opens with only directories displayed and the "

Re: [Interest] Running Qt 5 Application on WinXP

2014-07-08 Thread Duane
On 7/8/2014 2:09 PM, Thiago Macieira wrote: > On Tuesday 08 July 2014 13:24:27 Duane wrote: >> I have an application built with VS 2012 (with the tool chain XP >> support) using Qt 5.3. It runs fine on Windows 7 and 8. >> >> When I try to run it on a box with WinXP

Re: [Interest] Running Qt 5 Application on WinXP

2014-07-08 Thread Duane
On 7/8/2014 1:54 PM, Ian Monroe wrote: > On Tue, Jul 8, 2014 at 10:24 AM, Duane wrote: >> I have an application built with VS 2012 (with the tool chain XP >> support) using Qt 5.3. It runs fine on Windows 7 and 8. >> >> When I try to run it on a box with WinXP I get th

Re: [Interest] Running Qt 5 Application on WinXP

2014-07-08 Thread Duane
On 7/8/2014 1:52 PM, Keith Gardner wrote: > On Tue, Jul 8, 2014 at 12:48 PM, Till Oliver Knoll > mailto:till.oliver.kn...@gmail.com>> wrote: > > Am 08.07.2014 um 19:24 schrieb Duane <mailto:duane.heb...@group-upc.com>>: > > > I have an applicati

Re: [Interest] Running Qt 5 Application on WinXP

2014-07-08 Thread Duane
On 7/8/2014 1:48 PM, Till Oliver Knoll wrote: > Am 08.07.2014 um 19:24 schrieb Duane : > >> I have an application built with VS 2012 (with the tool chain XP >> support) using Qt 5.3. It runs fine on Windows 7 and 8. >> >> When I try to run it on a box with Wi

[Interest] Running Qt 5 Application on WinXP

2014-07-08 Thread Duane
I have an application built with VS 2012 (with the tool chain XP support) using Qt 5.3. It runs fine on Windows 7 and 8. When I try to run it on a box with WinXP I get the error "Procedure entry point GetTickCount64 could not be loaded in KERNEL32.DL" Any suggestions? ___

Re: [Interest] Qt and MSVC 2013

2013-11-28 Thread Duane
On 11/27/2013 8:14 PM, Hamish Moffatt wrote: > On 27/11/13 19:22, Yves Bailly wrote: >> Le 27/11/2013 09:17, Philippe a écrit : >>> Would be nice, but without the Visual Studio Addin (I haven't seen yet >>> any VS 2013 beta version), this will not be usable for many. >> Perfectly usable if you're u

Re: [Interest] Install both Qt5 and Qt4.7 at one Ubuntu

2013-10-07 Thread Duane
On 10/7/2013 5:51 AM, Николай Шатохин wrote: > Hello. > > I need Qt4.7 for developing apps for embedded systems and Qt5 for > desktop apps. Is it possible to install it both in Ubuntu 13.04 without > conflicts? > I have pretty much the same requirement where I still need 4.7.1 to build for an em

Re: [Interest] QFileDialog is lovelier the second time around...

2013-06-18 Thread Duane
On 6/18/2013 8:41 AM, André Somers wrote: > Op 17-6-2013 19:07, Constantin Makshin schreef: >> >> 1) On Windows directories can have custom icons. Not 100% sure about >> other platforms. >> >> 2) Directories have at least "last modification" timestamp which is >> needed for the detailed view mode.

Re: [Interest] QFileDialog is lovelier the second time around...

2013-06-18 Thread Duane
On 6/17/2013 1:07 PM, Constantin Makshin wrote: > 1) On Windows directories can have custom icons. Not 100% sure about > other platforms. > > 2) Directories have at least "last modification" timestamp which is > needed for the detailed view mode. What approach is better -- get all > information at

Re: [Interest] QFileDialog is lovelier the second time around...

2013-06-17 Thread Duane
On 6/17/2013 10:09 AM, william.croc...@analog.com wrote: > On 06/17/2013 09:57 AM, Duane wrote: >> On 6/14/2013 5:06 PM, Till Oliver Knoll wrote: >>> Am 14.06.2013 um 23:02 schrieb Till Oliver >>> Knoll: >>> >>>> >>>> That said,

Re: [Interest] QFileDialog is lovelier the second time around...

2013-06-17 Thread Duane
On 6/15/2013 3:48 AM, Etienne Sandré-Chardonnal wrote: > Hello, > > Are you sure you are not compiling in debug mode? > I use QFileDialog native (static) in my application, it's very fast to > load, except in debug mode (where it takes a few seconds loading all > dlls). Qt 4.8.1 under windows, ming

Re: [Interest] QFileDialog is lovelier the second time around...

2013-06-17 Thread Duane
On 6/14/2013 5:06 PM, Till Oliver Knoll wrote: > Am 14.06.2013 um 23:02 schrieb Till Oliver Knoll: > >> >> That said, the Qt "cross-platform file dialog" is (was?) terribly slow with >> network mapped drives > > On Windows, I should add. Yes, on Windows it's very slow. I would love to use the n

Re: [Interest] QFileDialog is lovelier the second time around...

2013-06-14 Thread Duane
On 6/14/2013 3:01 PM, Andre Somers wrote: > Op 14-6-2013 19:27, Constantin Makshin schreef: >> >> Try non-static QFileDialog members -- it's more likely to ignore >> various system [shell] extensions. >> > And way less likely to look and feel anything close to what the user > expects in a file dial

Re: [Interest] Qt VS Addin

2013-06-13 Thread Duane
On 3/5/2013 9:37 PM, Alex Malyushytskyy wrote: > Digia had plans to add Qt4 support according to link below: > http://blog.qt.digia.com/blog/2012/12/19/visual-studio-add-in-1-2-0-for-qt-5-released/ > > Alex > > On Fri, Mar 1, 2013 at 4:56 AM, Duane wrote: >> On 12/10/201

Re: [Interest] QSqlDatabase

2013-05-08 Thread Duane
On 5/8/2013 1:46 AM, Andre Somers wrote: > Op 7-5-2013 18:06, Duane schreef: >> >> I don't think this is a Qt error, nor an error in our apps as nothing >> has chanced in them. I'm assuming it something else affecting the >> server. We aren't the only

Re: [Interest] QSqlDatabase

2013-05-07 Thread Duane
On 5/7/2013 11:30 AM, Thiago Macieira wrote: > On terça-feira, 7 de maio de 2013 09.10.36, Duane wrote: >> I haven't checked LastError but I did check the MySql log and there were >> no errors. I will add some debugging that dumps the last error. >> I don't

Re: [Interest] QSqlDatabase

2013-05-07 Thread Duane
On 5/6/2013 5:01 PM, Karl Ruetz wrote: > Did you check QSqlDatabase::lastError()? Might give you a clue. I'd also > check any logs generated by the DBMS to see if a table has become > corrupted or some such thing. > > Karl > > On 2013-05-06 13:00, Duane wrote: > &

[Interest] QSqlDatabase

2013-05-06 Thread Duane
Why would bool QSqlDatabase::transaction () return false? I have a system that has been running for years and recently, intermittently calls to this function have been failing. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.o

Re: [Interest] Qt 4.8.4 support for Visual Studio 2012

2013-04-10 Thread Duane
On 4/10/2013 3:42 PM, Thiago Macieira wrote: > On quarta-feira, 10 de abril de 2013 19.32.25, Eric Clark wrote: >> Hello All, >> >> I was wondering if anyone knew whether or not Qt would be building 4.8.4 or >> any future release of 4.x.x using Visual Studio 2012? I know that Qt 5.x >> has builds f

Re: [Interest] single application

2013-04-08 Thread Duane
On 4/8/2013 12:37 PM, Nils Jeisecke wrote: > Hi Duane, > >> To prevent multiple instances, we are using QSingleApplication. On Windows, >> if the >> app is started from the desktop this works fine but if it's started from >> a console a second instance can be

Re: [Interest] QtSingleApplication Fix for Windows

2013-04-08 Thread Duane
On 4/8/2013 11:31 AM, Christian Dähn wrote: > Hi Nils, > I reviewed it and am currently running tests under Win XP + 7 and > different Linux versions. > > All tests should be finished till tomorrow - then the behaviour is > checked for up to date > Windows ans Linux versions (fresh installs with in

[Interest] single application

2013-04-08 Thread Duane
I have an application that runs on both Windows and Linux. To prevent multiple instances, we are using QSingleApplication. On Windows, if the app is started from the desktop this works fine but if it's started from a console a second instance can be started. So I've decided to try a suggestio

Re: [Interest] Qt5 Visual Studio Add-In 1.2.1 RC

2013-03-19 Thread Duane
On 3/19/2013 5:38 AM, Haataja Ismo wrote: > Hi, > > Release candidate of Qt5 Visual Studio Add-In 1.2.1 in now available for > download here. > > http://origin.releases.qt-project.org/digia_vsaddin/ > > Change list of modifications available here > http://qt.gitorious.org/qt-labs/vstools/blobs/mast

Re: [Interest] Qt VS Addin

2013-03-11 Thread Duane
On 3/5/2013 9:37 PM, Alex Malyushytskyy wrote: > Digia had plans to add Qt4 support according to link below: > http://blog.qt.digia.com/blog/2012/12/19/visual-studio-add-in-1-2-0-for-qt-5-released/ > > Alex > > On Fri, Mar 1, 2013 at 4:56 AM, Duane wrote: >> On 12/10/201

Re: [Interest] Qt VS Addin

2013-03-01 Thread Duane
On 12/10/2012 02:41 AM, Haataja Ismo wrote: > Hi! > >> Will there be a VS addin for VS 2012 and Qt4? I've asked this before >> but with no response. Is there a better place to ask this question? > > Sorry about no response to the question earlier... > > There will be a VS-addin release for Qt4/VS

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 l

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 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] QFile copy and sync/fsync

2013-01-03 Thread Duane
On 01/03/2013 12:45 PM, Nikos Chantziaras wrote: > On 03/01/13 15:51, Duane wrote: >> 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 fu

Re: [Interest] QFile copy and sync/fsync

2013-01-03 Thread Duane
On 01/03/2013 10:21 AM, Constantin Makshin wrote: > A closed file has no handle so that fsync() call does nothing. duh. Thanks for that. It's working now. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinf

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.

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 lo

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.

[Interest] QFile copy and sync/fsync

2013-01-02 Thread Duane
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 before the standard sync cycle. If I call sync from my copy routine this works but i

[Interest] Qt5 and QtSolutions

2012-12-20 Thread Duane
Qt5 looks great. Is there any intention to port the QtSolution over? I'm particularly concerned with QSingleApplication and QService. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt VS Addin

2012-12-10 Thread Duane
On 12/08/2012 09:10 AM, Philippe wrote: > http://origin.releases.qt-project.org/digia_vsaddin/ > Thanks but does this beta support VS 2012? > > On Sat, 08 Dec 2012 08:03:03 -0500 > Duane wrote: > >> Will there be a VS addin for VS 2012 and Qt4? I've ask

[Interest] Qt VS Addin

2012-12-08 Thread Duane
Will there be a VS addin for VS 2012 and Qt4? I've asked this before but with no response. Is there a better place to ask this question? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] VS addin for 2012

2012-11-15 Thread Duane
Is there a plan to releae a VS addin for Visual Studio 2012 with Qt4? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] more problems with virtual frame buffer

2012-04-03 Thread Duane
On 04/03/2012 09:35 AM, Harri Pasanen wrote: > On 04/03/2012 03:16 PM, Duane wrote: >> On 04/03/2012 09:09 AM, Thiago Macieira wrote: >>> On terça-feira, 3 de abril de 2012 08.35.25, Duane wrote: >>>> I've built a desktop version of 4.8.1 open source and I'm

Re: [Interest] more problems with virtual frame buffer

2012-04-03 Thread Duane
On 04/03/2012 09:19 AM, Konstantin Tokarev wrote: > > > 03.04.2012, 17:16, "Duane": >> On 04/03/2012 09:09 AM, Thiago Macieira wrote: >> >>> On terça-feira, 3 de abril de 2012 08.35.25, Duane wrote: >>>> I've built a desktop version of

Re: [Interest] more problems with virtual frame buffer

2012-04-03 Thread Duane
On 04/03/2012 09:09 AM, Thiago Macieira wrote: > On terça-feira, 3 de abril de 2012 08.35.25, Duane wrote: >> I've built a desktop version of 4.8.1 open source and I'm trying to make >> the qvfb binary. I get a series of errors involving png_* like >> png_struct

[Interest] more problems with virtual frame buffer

2012-04-03 Thread Duane
I've built a desktop version of 4.8.1 open source and I'm trying to make the qvfb binary. I get a series of errors involving png_* like png_structp does not name a type. I have png support built. I have libpng installed. I've seen a few posts on the web with this same issue but no solution.

  1   2   >