Re: [Interest] QtCreator

2012-01-13 Thread Duane
On 1/13/2012 8:46 AM, Konstantin Tokarev wrote: 13.01.2012, 17:41, Duaneduane.heb...@group-upc.com: On 1/12/2012 4:05 PM, Bo Thorsen wrote MinGW tagerts Windows, not Linux. Thanks. I know there is a MinGw that I can run on Linux to build Windows targets. I assumed it worked the other way

Re: [Interest] QtCreator creating generic Linux device

2012-01-23 Thread Duane
@qt-project.org] on behalf of ext Duane [duane.heb...@group-upc.com] Sent: Thursday, January 19, 2012 8:31 PM To: interest@qt-project.org Subject: [Interest] QtCreator creating generic Linux device Running Qt Creator on Fedora 9. I want to setup a Generic Linux Device to allow me

Re: [Interest] Unable to post here through GMane

2012-02-28 Thread Duane
On 2/27/2012 6:49 PM, Stephen Kelly wrote: Nikos Chantziaras wrote: On 28/02/12 00:55, Stephen Kelly wrote: Andreas Pakulat wrote: I tried using GMane to post here. But it doesn't work. The mail never arrives here. Thats something to take up with the gmane admins, nothing anybody here

Re: [Interest] problem building with webkit

2012-04-02 Thread Duane
On 04/02/2012 09:06 AM, Thiago Macieira wrote: On segunda-feira, 2 de abril de 2012 08.52.06, Duane wrote: Using Fedora 16. configure/make/make install. Make fails building webkit with error Project ERROR: Package gstreamer-app-0.10 not found. Yum install qstreamer reports Package

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_structp does not name a type. I have png

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 trying to make the qvfb binary. I get a series

[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

[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

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

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 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

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-level POSIX

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 being

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 the led

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/VS2012 out

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, Duaneduane.heb...@group-upc.com wrote: On 12/10/2012 02:41

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

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

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 started. please try to apply the patch from

[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

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: Why would bool QSqlDatabase::transaction

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 think it's a corrupted table or anything

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 application on this database. I need some way

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, Duaneduane.heb...@group-upc.com wrote: On 12/10/2012 02:41

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 dialog on his

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 Knolltill.oliver.kn...@gmail.com: 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

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, mingw

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 Knolltill.oliver.kn...@gmail.com: That said, the Qt cross-platform file dialog is (was?) terribly slow

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 once or

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. What approach

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 using only

[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] 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 duane.heb...@group-upc.com: 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

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 till.oliver.kn...@gmail.com mailto:till.oliver.kn...@gmail.com wrote: Am 08.07.2014 um 19:24 schrieb Duane duane.heb...@group-upc.com mailto:duane.heb...@group-upc.com: I have

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 duane.heb...@group-upc.com 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 the error

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 I get the error Procedure entry point

[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.

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 is already opened but minimized

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 attempting

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 manager. The problem

[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?

[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

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 from QWindowsStyle. What's the simplest way

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 k...@carewolf.com 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

[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? ___

[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

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 borders and I've added an overload

[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);

[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

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 <duane.heb...@group-upc.com> To: interest@qt-project.org Subject: [Interest] Creating pdf with QTextDocument with chart I need to

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(); //paint the widget of your text document I was just looking at that. I think this would work but I'd have to manually

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 <duane.heb...@group-upc.com> 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 >> c

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 <duane.heb...@group-upc.com> wrote: I need to create a document as a pdf file for my application. I can use QTextDocument an

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 <duane.heb...@group-upc.com> 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(); //paint the widget of yo

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

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.

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

[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] 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

[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

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<QLineEdit*>() with Qt4 but with Qt5 this returns null. Any suggestions? Are you su

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 findChild

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<QLineEdit*>() with Qt4 but with Qt5 this returns null. Any suggestions? XY p

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 QFileDialog

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

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. Recommendation

[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)

[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] maintenance tool

2016-06-27 Thread Duane
On 27/06/2016 1:52 PM, Konstantin Podsvirov wrote: 27.06.2016, 20:28, "Duane" <duane.heb...@group-upc.com>: On 27/06/2016 12:31 PM, Konstantin Podsvirov wrote: If you about Qt Installer Framework? Documentation: http://doc.qt.io/qtinstallerframework/index.html P

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 <duane.heb...@group-upc.com>: On 27/06/2016 1:52 PM, Konstantin Podsvirov wrote: 27.06.2016, 20:28, "Duane" <duane.heb...@group-upc.com>: On 27/06/2016 12:31 PM

[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

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

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 return value

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 is already

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. S

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" <duane.heb...@group-upc.com>: 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 QProce

[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?

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" <duane.heb...@group-upc.com>: Qt 5.3, on TinyCore Linux 5 and Fedora 23. I'm currently usi

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

[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

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. Doh

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

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

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
with the 4.7.1 dlls and everything is ok. On Mon, Dec 19, 2016 at 11:03 AM, Duane <duane.heb...@group-upc.com <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: -Orig

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

[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

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 Interest@qt

[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

[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

[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.