Re: [Interest] QTreeView expand/expandAll performance

2014-09-29 Thread Paul Miller
On 9/27/2014 12:34 AM, William Hallatt wrote: Sorry for the spam, but now that I'm looking at the profiler's output again in light of Paul and Marian's input, I think I've identified where I'll need to make my improvements. Thanks again for the help! Could you let us know where the issue

Re: [Interest] QTreeView expand/expandAll performance

2014-09-26 Thread Paul Miller
On 9/26/2014 8:33 AM, William Hallatt wrote: Hi everyone, I have just started playing with Qt’s MVC classes and have created a hierarchical model to display in a QTreeView. Some of the nodes, however, have a fair amount of children and when I expand these nodes (or, heaven forbid,

Re: [Interest] Tabbed Dock Widgets

2014-07-24 Thread Paul Miller
On 7/24/2014 5:29 AM, Graham Labdon wrote: Hi In my application I have a set of docked widgets that are all tabbed. I have a menu to which I have added the action associated with the docked widget that enables me to toggle the viability of the widgets. This all works fine except for one

[Interest] Windows: static Qt 5.3 w/ Desktop OpenGL?

2014-05-13 Thread Paul Miller
I'm trying to build Qt 5.3 rc1 statically on Windows w/ *desktop* OpenGL support and the build is failing while building qwindows.lib with a bunch of unresolved external symbols relating to OpenGL. Is this configuration supported? I'm building with Visual Studio 2012, and this is my configure:

[Interest] 5.3 RC1 OS X - strange white area in my widgets-based app

2014-05-09 Thread Paul Miller
I just replaced 5.3 BETA with RC1 and my application on Mac (widgets-based, with OpenGL) now has a solid white area (exactly 640x480) covering the top-left corner of the window. What is this? ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Qt 5.2/5.3 Windows - fully static?

2014-04-15 Thread Paul Miller
On 4/15/2014 1:19 AM, Kalinowski Maurice wrote: Hi, just verified that a Qt configured like this -nomake examples -nomake tests -static -no-icu compiles and applications launched successfully via Explorer double-click, both widgets and qtquick2 based. That was against the stable

[Interest] Qt 5.2/5.3 Windows - fully static?

2014-04-14 Thread Paul Miller
I am a commercial customer and have some self-contained tools that I have built with Qt 4.8 static, without the need to include some extra DLLs. With Qt 5.x, it seems I now have to include a platform dll to make the GUI work. This makes having a fully static utility program impossible. Is

Re: [Interest] OS X 5.3 beta - QPrintDialog does not open

2014-04-05 Thread Paul Miller
On 4/5/2014 6:56 AM, John Layt wrote: On 4 April 2014 17:30, Paul Miller p...@fxtech.com mailto:p...@fxtech.com wrote: Anyone else seen any print-related issues on OS X? There are no errors in the console, it just doesn't open. I've deployed QPrintSupport.framework

Re: [Interest] OS X 5.3 beta - QPrintDialog does not open

2014-04-05 Thread Paul Miller
On 4/5/2014 9:56 AM, John Layt wrote: Thanks Paul. We do have a qWarning message in the code to output in the debug log, but I guess -release mode optimises that out. I'll see if I can get a proper message box to pop up instead for 5.3 beofre we fix it properly (see

Re: [Interest] OS X Qt 5.2/5.3 keyboard modifier bug

2014-04-05 Thread Paul Miller
On 4/4/2014 10:01 PM, Tony Rietwyk wrote: Hi Paul, This sounds similar to a problem I have in 4.8.5 with OSX 10.9. setFocus or activate on the window does not work. You have to click on the window for it to activate correctly. Same build works OK in 10.7. Might be related to Qt bugs

[Interest] OS X Qt 5.2/5.3 keyboard modifier bug

2014-04-04 Thread Paul Miller
Here is another regression I found that is a show-stopper for us. In a custom widget I have a keyPressEvent() and keyReleaseEvent() handler to update a cursor when modifier keys are pressed (such as Cmd). In Qt 5.x, pressing Cmd (or shift, or ctrl) causes no keyPressEvents UNTIL the user

Re: [Interest] OS X Qt 5.2/5.3 keyboard modifier bug

2014-04-04 Thread Paul Miller
in the UI, so I believe my current workflow is correct. Trapping the modifier at a higher level would break encapsulation as well. Whether it's right or wrong, this code has worked for 10 years, and broke in 5.x. Etienne 2014-04-04 16:20 GMT+02:00 Paul Miller stel...@gmail.com mailto:stel

[Interest] OS X 5.3 beta - QPrintDialog does not open

2014-04-04 Thread Paul Miller
Anyone else seen any print-related issues on OS X? There are no errors in the console, it just doesn't open. I've deployed QPrintSupport.framework and plugins/printsupport/libcocoaprintersupport.dylib correctly, as far as I can tell. I just tried Assistant and Print doesn't work there either.

[Interest] building a retina QPixmap from a non-retina QImage

2014-04-03 Thread Paul Miller
I'm algorithmically building a QImage at double resolution, and I want to build a retina-capable QPixmap from it. Say for instance I want to make a retina-capable image at 100x100 logical pixels. So I create a QImage at 200x200, draw some stuff into, then I want to convert it to a QPixmap at

[Interest] Qt 5.2.1 Mac keyboard shortcut problems

2014-04-02 Thread Paul Miller
We've just ported a Qt 4.8 application to 5.2 and everything has gone fine on Windows. We're using Qt 5.2.1. On Mac, however, some of the keyboard shortcuts for menubar items are not triggering. Normal shortcuts like Cmd+S and Cmd+O are working, and even F2, F3, etc, but others like i and o

Re: [Interest] Qt 5.2.1 Mac keyboard shortcut problems

2014-04-02 Thread Paul Miller
:50, Paul Miller a écrit : We've just ported a Qt 4.8 application to 5.2 and everything has gone fine on Windows. We're using Qt 5.2.1. On Mac, however, some of the keyboard shortcuts for menubar items are not triggering. Normal shortcuts like Cmd+S and Cmd+O are working, and even F2, F3, etc

Re: [Interest] Qt 5.2.1 Mac keyboard shortcut problems

2014-04-02 Thread Paul Miller
On 4/2/2014 2:30 PM, Till Oliver Knoll wrote: Am 02.04.2014 um 21:12 schrieb Paul Miller p...@fxtech.com: On 4/2/2014 1:46 PM, mai...@virtual-winds.org wrote: If I remember well under mac/os you have to press the fn key (whatever apple calls it) together with the hot-key to get it works

Re: [Interest] Qt 5.2.1 Mac keyboard shortcut problems

2014-04-02 Thread Paul Miller
On 4/2/2014 5:14 PM, Jim Prouty wrote: On Apr 2, 2014, at 12:30 PM, Till Oliver Knoll till.oliver.kn...@gmail.com wrote: Am 02.04.2014 um 21:12 schrieb Paul Miller p...@fxtech.com: On 4/2/2014 1:46 PM, mai...@virtual-winds.org wrote: If I remember well under mac/os you have to press

Re: [Interest] Qt and OpenCL crash course

2014-03-13 Thread Paul Miller
On 3/13/2014 9:32 AM, Jason H wrote: Thanks everyone. Sean, can you elaborate on Qt has good support for OpenGL so using this approach should be pretty simple for you. Is this just referring to GL Widgets? Take a look at QGLFramebufferObject. There are some good OGL FB examples in the

Re: [Interest] Qt and OpenCL crash course

2014-03-12 Thread Paul Miller
On 3/12/2014 2:08 PM, Jason H wrote: I need to do some elementary graphics operations on QPixmap or QImage. I can do these in Qt to some extent already. But for this latest project I will be processing 4k resolution images. My operations are: Translate off origin Rotate by an acute angle

Re: [Interest] Qt and OpenCL crash course

2014-03-12 Thread Paul Miller
, such as QImage. Thanks! *From:* Paul Miller stel...@gmail.com *To:* interest@qt-project.org *Sent:* Wednesday, March 12, 2014 3:38 PM *Subject:* Re: [Interest] Qt and OpenCL crash course On 3/12/2014 2:08 PM, Jason H wrote

[Interest] QColor::lighter()

2014-01-15 Thread Paul Miller
On 1/15/2014 1:38 PM, Igor Mironchik wrote: Is it correct that QColor( Qt::black ).lighter() returns the same black color? Sure. lighter() multiplies the values of the color by the scale factor passed into lighter(). It's a gain, not a bias. ___

[Interest] problems with weather-app on iOS

2014-01-06 Thread Paul Miller
I wanted to play around with QtQuick and Qt-for-mobile development and it looks like the weather app demo would be a very good place to start. Downloaded QtCreator 3.0 (for Mac) and got it up and running for Android and iOS development very easily. Built the weather-app with no problems but

Re: [Interest] qt5 universal binaries

2013-12-16 Thread Paul Miller
On 12/16/2013 3:54 AM, Tim Blechmann wrote: hi all, i've been trying to compile some universal binaries (i32/x86_64) of qt 5.2. while i've been able to generate some libraries, mainly my disabling precompiled headers and compiling without sse3/4/avx support, i wonder: are UBs expected to

Re: [Interest] qt5 universal binaries

2013-12-16 Thread Paul Miller
On 12/16/2013 8:12 AM, Tim Blechmann wrote: i've been trying to compile some universal binaries (i32/x86_64) of qt 5.2. while i've been able to generate some libraries, mainly my disabling precompiled headers and compiling without sse3/4/avx support, i wonder: are UBs expected to work or will

Re: [Interest] static libs/osx

2013-12-16 Thread Paul Miller
On 12/16/2013 10:38 AM, Thiago Macieira wrote: On segunda-feira, 16 de dezembro de 2013 14:26:12, Tim Blechmann wrote: Undefined symbols for architecture x86_64: _compress2, referenced from: qCompress(unsigned char const*, int, int) in libQt5Bootstrap.a(qbytearray.o) _uncompress,

[Interest] 5.2 RC1 - release

2013-12-12 Thread Paul Miller
I see that 5.2 is now officially released. Great! Does anyone know if anything has changed from RC1 to the release? It takes about 4 hours to build on my Mac and I'd like to avoid that if necessary. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Making a popup QLineEdit

2013-10-18 Thread Paul Miller
On 10/18/2013 7:05 AM, Etienne Sandré-Chardonnal wrote: Dear all, I want to do the following GUI element : a QLineEdit which popups when some control is clicked, allowing the user for text input, and which hides when enter is pressed, or when the user clicks outside the QLineEdit. How can

Re: [Interest] iOS Guidlines and QML

2013-09-30 Thread Paul Miller
On 9/30/2013 2:21 AM, raven-worx Software wrote: I plan to write an iOS app that downloads a remote QML file which is the main part of the app from a remote webserver. As i read the Guidlines i stumbled upon the following rule which would interfer with that: 2.7 Apps that download code in

Re: [Interest] QTemporaryFile::open(OpenMode flags) is protected, but not in documentation

2013-09-26 Thread Paul Miller
On 9/26/2013 3:57 AM, Etienne Sandré-Chardonnal wrote: Then I don't see the point of QTemporaryFile... You write some data and can't do anything with it? What are the legacy uses of it? I use temporary files for memory mapping points and storing undo data. Stuff that can get blown away when

Re: [Interest] [OT] Re: Qt Application deployment across platforms

2013-09-04 Thread Paul Miller
On 9/4/2013 1:50 AM, Till Oliver Knoll wrote: Am 04.09.2013 um 08:37 schrieb Ramakanthreddy Kesireddy ramakanthreddy.kesire...@techmahindra.com mailto:ramakanthreddy.kesire...@techmahindra.com: I would like to know if I develop a Qt application, can it be deployed across platforms like

Re: [Interest] Converting std::string.c_str() code to use QString methods

2013-08-30 Thread Paul Miller
On 8/30/13 2:08 PM, Michael Jackson wrote: I have a large code base that we are migrating to more fully utilize Qt classes. Many places in the code have lines like the following: std::string path(/path/to/foo.txt); FILE* f = fopen(path.c_str(), wb); If the path variable is now declared as

Re: [Interest] What is beginInsertRows() purpose?

2013-08-23 Thread Paul Miller
On 8/23/2013 9:08 AM, Etienne Sandré-Chardonnal wrote: But... I always wondered why it is necessary to have both signals (one before and one after) in the underlying mechanism, and what could be wrong in doing: -modify the model underlying data structure by inserting rows- beginInsertRows()

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

2013-04-10 Thread Paul Miller
Our problem with this scenario is that our existing VSIntergration didn't work for VS2012. And the available newer VS-Addin doesn't support Qt4. This was supposed to be addressed but I don't believe it has. This is precisely the reason I'm still stuck on VS 2008.

Re: [Interest] QVariant equality

2013-04-03 Thread Paul Miller
On 4/3/2013 2:21 PM, Linos wrote: Hello, is this behavior intended? ... So they are equal, it seems a bit strange to me given one isNull, the other have a value and the two variants don't even have the same types, after change the value of not_null to 0.01 they are not equal.

Re: [Interest] Announcement of Copy - A Qt based cross platform sync app

2013-02-23 Thread Paul Miller
On 2/22/2013 9:24 PM, Jason Dictos wrote: Hey everyone, As someone who has learned a lot on this mailing list, I wanted to let you all know of a project I have been heavily involved in creating this past year. It is called Copy (www.copy.com), and the UI is written

Re: [Interest] Is Nokia officially done with Qt?

2012-06-14 Thread Paul Miller
On 6/14/2012 11:19 AM, Bob Hood wrote: On 6/14/2012 10:02 AM, Harri Pasanen wrote: If I read today's news correctly, Nokia is now done with Qt and all developers were fired. If so, thanks for the ride and all the best. Such a pity. Wouldn't really be a big surprise. Kind of expected it

Re: [Interest] windows Qt application crashes when not run with admin rights

2012-06-12 Thread Paul Miller
On 6/11/2012 12:35 PM, Guenther Boelter wrote: On 06/12/2012 01:27 AM, Paul Miller wrote: On 6/11/2012 12:24 PM, Guenther Boelter wrote: On 06/12/2012 12:18 AM, Paul Miller wrote: Well this is an odd one. We recently moved from Qt 4.5.3 to 4.7.4. Our application crashes during startup when

[Interest] windows Qt application crashes when not run with admin rights

2012-06-11 Thread Paul Miller
Well this is an odd one. We recently moved from Qt 4.5.3 to 4.7.4. Our application crashes during startup when NOT run with admin rights. Anyone seen anything like this? ___ Interest mailing list Interest@qt-project.org

Re: [Interest] windows Qt application crashes when not run with admin rights

2012-06-11 Thread Paul Miller
On 6/11/2012 12:24 PM, Guenther Boelter wrote: On 06/12/2012 12:18 AM, Paul Miller wrote: Well this is an odd one. We recently moved from Qt 4.5.3 to 4.7.4. Our application crashes during startup when NOT run with admin rights. Anyone seen anything like this? Hi Paul, are we talking about

Re: [Interest] Building 32-bit Qt 5 on Mac

2012-04-23 Thread Paul Miller
On 4/23/2012 1:19 PM, Stephen Chu wrote: Will 32-bit build be supported in Qt 5? Or we Mac guys will all have to force our users to 64-bit land? I don't know how far back you need to support, but we dropped support for 32 bit Mac last year. Pretty much every Mac built in the last 5 years has

Re: [Interest] Building 32-bit Qt 5 on Mac

2012-04-23 Thread Paul Miller
On 4/23/2012 3:49 PM, Stephen Chu wrote: On 4/23/12 4:32 PM, Nikos Chantziaras wrote: On 23/04/12 23:19, Paul Miller wrote: On 4/23/2012 1:19 PM, Stephen Chu wrote: Will 32-bit build be supported in Qt 5? Or we Mac guys will all have to force our users to 64-bit land? I don't know how far

Re: [Interest] QT 4.5.3 on Lion MacOS

2012-03-01 Thread Paul Miller
On 3/1/2012 10:11 AM, Michael Jackson wrote: AFAIK Xcode 3 does not run on OS X 10.7. You have to use Xcode 4 which ONLY comes with SDKs for 10.7. So it seems that OS X 10.6.8 is the current sweet spot for 10.5 through 10.7 support. Xcode 3 runs on 10.7. You need to do some silly moving

[Interest] Qt 4.7.1 windows printing crash/black results

2012-02-22 Thread Paul Miller
Hey folks - anyone seen any weird printing issues on Windows with Qt 4.7.1? My code hasn't changed since I was using Qt 4.5 for all this, but I upgraded to 4.7.1 for this release and when I print a QImage on windows it's crashing down in the QPainter::end() method, way down in

Re: [Interest] Qt 4.7.1 windows printing crash/black results

2012-02-22 Thread Paul Miller
On 2/22/2012 10:08 AM, Paul Miller wrote: My next step is to build a test program that hopefully shows the problem but I'm hoping someone might know what's going on. I must reiterate the code used to work with older versions of Qt. I whipped up a simple test program and it works fine. As far

Re: [Interest] Qt 4.7.1 windows printing crash/black results

2012-02-22 Thread Paul Miller
On 2/22/2012 10:25 AM, Paul Miller wrote: On 2/22/2012 10:08 AM, Paul Miller wrote: My next step is to build a test program that hopefully shows the problem but I'm hoping someone might know what's going on. I must reiterate the code used to work with older versions of Qt. I whipped up

Re: [Interest] Mac App Store submission issues

2012-02-15 Thread Paul Miller
On 2/15/2012 7:36 AM, Matilainen Pasi wrote: Since the information about submitting Qt-based applications to the Mac App Store is scattered around in mailing lists and bug reports, I thought it would be good to gather a list of the known issues and any solutions to those issues. Here's the

Re: [Interest] [Qt-interest] Latest on Mac App Store + sandboxing?

2012-02-13 Thread Paul Miller
On 2/13/2012 4:14 PM, noru...@me.com wrote: Hi, I had also troubles with this after lion comes out last year. In short words... You must use codesign for each file which is in your bundle, except for frameworks (see point 1) 1.) use codesign for all your frameworks (e.g.