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

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

Re: [Interest] pb with 530 official release and MAC/OS

2014-05-20 Thread Paul Miller
> I want to show(), do something, and then delete the messagebox. Not just > show() and return, what would be the point? I don't want to exec() > because I don't want the user to need to click on something, it's just a > waiting message that should not block the execution. > > It works fine on 521

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

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

2014-05-13 Thread Paul Miller
On 5/9/2014 9:56 AM, Paul Miller wrote: > 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? I eventually tracked this down to some old QM

[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 http://list

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 t

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

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 bu

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 https://bugreports.qt-

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

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

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

2014-04-04 Thread Paul Miller
ed to direct manipulation of objects in the widget, not elsewhere 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 ye

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

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

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 > wrote: > >> Am 02.04.2014 um 21:12 schrieb Paul Miller : >> >>> On 4/2/2014 1:46 PM, mai...@virtual-winds.org wrote: >>>> >>>> If I rememb

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 : > >> On 4/2/2014 1:46 PM, mai...@virtual-winds.org wrote: >>> >>> If I remember well under mac/os you have to press the key (whatever >>> apple calls it) together

Re: [Interest] Qt 5.2.1 Mac keyboard shortcut problems

2014-04-02 Thread Paul Miller
gt; Le 02-04-2014 19: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. >

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

Re: [Interest] Qt and OpenCL crash course

2014-03-12 Thread Paul Miller
CL with Qt objects, such as QImage. > > Thanks! > > -------- > *From:* Paul Miller > *To:* interest@qt-project.org > *Sent:* Wednesday, March 12, 2014 3:38 PM > *Subject:* Re: [Interest] Qt and OpenCL cra

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 angl

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

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

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

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 wo

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 t

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

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

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

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 wh

Re: [Interest] It's time again to play Find-That-Bug

2013-09-13 Thread Paul Miller
On 9/13/2013 6:19 AM, Bill Crocker wrote: > Hello: > > It's time again to play Find-That-Bug: > > I just spent several days tracking down a bug in the following code. > It was difficult to find because it is a reduced probability, > data-specific event; It can be completely function, > completely d

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 > >: > >> >> I would like to know if I develop a Qt application, can it be deployed >> across platforms like linux,OSX and Android without reco

Re: [Interest] Plans to support Mac 32 bit?

2013-09-01 Thread Paul Miller
On 9/1/2013 8:57 AM, Gil Moses wrote: > Hi, are there any plans to bring back the support for 32 bits on Mac? > Currenty all my 32 bit apps don’t link with the current distributions, > requiring massive migration to 64 bit on my side… Pretty much every Mac shipped in the last 5 years can run 64 bi

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

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

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

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 e

Re: [Interest] QGLContext::makeCurrent(): Failed. Why?

2013-01-20 Thread Paul Miller
On 1/20/2013 9:19 AM, Guido Seifert wrote: > Hi, I have a strange warning, which I don't understand. > > QImage image = buffer->toImage(); > > #if 0 > buffer->deleteTexture(mEndImageTexture); > buffer->deleteTexture(mStartImageTexture); > #endif > return image; > } > > I have no ide

Re: [Interest] Qt5 on MSVC2008, Win7x64 (Tier1)?

2012-07-09 Thread Paul Miller
> Requests for 64-bit VS 2008 have been really limited. Most of the > customers use 32-bit and plan to do so for the while being. Commercial customer here for the past 7 years and I'm using VS2008 RTM. I have literally dozens of products. I don't look forward to the migration of all of those pro

Re: [Interest] Why QString and not std::string?

2012-06-15 Thread Paul Miller
On 6/15/2012 8:46 AM, Konstantin Tokarev wrote: > > > 15.06.2012, 16:58, "Thiago Macieira": >> Any one care to give me the Standard Library equivalent of: >> >> QString::number(x) > > static_cast(&(ostringstream()<< x ) )->str(); I just threw up a little in my mouth. I'll take QString::

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

2012-06-14 Thread Paul Miller
>> No matter - all my Qt applications continue to work, I can still get >> Commercial support through Digia, and Open Governance will keep it going. > > Let's hope that Qt stays healthy. Although it isn't exactly perfect, > it's the closest there is to it. It would be painful to be forced to > re

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 expec

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

2012-06-12 Thread Paul Miller
On 6/12/2012 1:07 PM, Jason H wrote: > Addendum: Win7-64 has a "program files" and "program files (x86)" folder > distinction. I'm betting that is not taken into account. That was naturally my first thought, but that wasn't the issue. It turned out to be a bad pointer dereference. Quite a red her

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 &

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

[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 http://lists.qt-project.org/mailm

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

2012-04-25 Thread Paul Miller
>> In the wise words of the great sage Mr. T - "I pity the fool still >> running a 32-bit Mac!". > > Why? What's wrong with a 32-bit Mac? It can browse the web, you can do > email, you can watch movies, you can listen to your music, you can print > and scan stuff, and other things. And it provid

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

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

Re: [Interest] QT 4.5.3 on Lion MacOS

2012-03-01 Thread Paul Miller
On 3/1/2012 1:21 AM, Sergey wrote: > My QT application was built on MacOS 10.4 (Tiger) > Tiger is installed on my Mac-Mini computer, used for building program > releases. > > One of the program users installed program on MacOS Lion. > Jpeg images in program on Lion MacOS have corrupted colors. > So

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

2012-02-22 Thread Paul Miller
On 2/22/2012 10:49 AM, Bo Thorsen wrote: > Den 22-02-2012 17:38, Paul Miller skrev: >> 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 >>>> prob

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 olde

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 an

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

Re: [Interest] Mac App Store submission issues

2012-02-15 Thread Paul Miller
to version of Qt, especially on Mac). > > > Am 15.02.2012 um 21:45 schrieb Paul Miller: > >> On 2/15/2012 7:36 AM, Matilainen Pasi wrote: >>> - Storage location paths do not conform to App Store requirements when a >>> localized company or app name is used. Not

Re: [Interest] Mac App Store submission issues

2012-02-15 Thread Paul Miller
On 2/15/2012 7:36 AM, Matilainen Pasi wrote: > - Storage location paths do not conform to App Store requirements when a > localized company or app name is used. Not a very common problem as far as > I know, but there's a patch for this in QTBUG-16549. I just had my most recent submission rejected.

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-14 Thread Paul Miller
On 2/13/2012 4:48 PM, NoRulez wrote: > I tried it also this way, but i want to be able to generate packages on > a build server, so in my case the command line tools are simpler ;-) > > I had made a mistake in the example (point 2) in the last mail, here are > "all" steps copied from my project > >

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. > Bundle/Co

[Interest] Latest on Mac App Store + sandboxing?

2012-02-13 Thread Paul Miller
As the Sandbox deadline is now March 1, today I tried to submit an update to one of my Mac App Store apps and received an email with this information: "Invalid Signature - the executable .app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore is not signed, the signature is invalid, or it