Re: [Interest] crashing when incompatible qt already exists on user's system

2012-08-13 Thread Justin Karneges
On Monday, August 13, 2012 07:33:53 PM Bob Hood wrote: > On 8/13/2012 7:31 PM, Justin Karneges wrote: > > Hi folks, > > > > It appears that MinGW's C++ ABI is not reliable between releases. I don't > > know how often this happens, but in any case I've witnessed the > > following issue: > > > > -

Re: [Interest] crashing when incompatible qt already exists on user's system

2012-08-13 Thread Justin Karneges
Yes, explicitly setting the library paths seems like the safest way to address this. I prefer being able to use the default plugin path during development though, so I'm using removeLibraryPath() to remove the default path, and doing it only if that path is not additionally specified in the QT_

Re: [Interest] crashing when incompatible qt already exists on user's system

2012-08-13 Thread Bob Hood
On 8/13/2012 7:31 PM, Justin Karneges wrote: > Hi folks, > > It appears that MinGW's C++ ABI is not reliable between releases. I don't > know > how often this happens, but in any case I've witnessed the following issue: > > - Build machine has C:\Qt\4.8.2, built using a recent MinGW compiler. Thi

Re: [Interest] crashing when incompatible qt already exists on user's system

2012-08-13 Thread Alex Malyushytskyy
Talking about Windows the only reliable solution is to supply all dependencies (at least not system) with your application. For example you can build dll with different compiler or version of the same compiler. You have to make sure that your application uses correct build of QT. On top of this, ac

[Interest] crashing when incompatible qt already exists on user's system

2012-08-13 Thread Justin Karneges
Hi folks, It appears that MinGW's C++ ABI is not reliable between releases. I don't know how often this happens, but in any case I've witnessed the following issue: - Build machine has C:\Qt\4.8.2, built using a recent MinGW compiler. This machine builds my application. - User's machine has C:\

Re: [Interest] Programming strategy for old-school, 2-d video game?

2012-08-13 Thread Alan Ezust
There is an example app that shows pong already, written in QML. Run "qtdemo" and go to "Qt Declarative Examples" - "TV Tennis". On Sat, Aug 11, 2012 at 12:32 PM, K. Frank wrote: > Hello List! > > Could anyone offer an overview of how one might implement a > two-dimensional video game? (Think of

Re: [Interest] Qt 5: Converting QJsonValue to QJsonArray

2012-08-13 Thread lars.knoll
On Aug 13, 2012, at 11:21 PM, ext Stephen Chu wrote: > On 8/13/12 9:24 AM, lars.kn...@nokia.com wrote: >> >> On Aug 8, 2012, at 9:14 PM, ext Stephen Chu wrote: >> >>> I am trying out the new QJsonValue in Qt 5 and find myself wondering: >>> Does converting a QJsonValue which is an array to a

Re: [Interest] Qt 5: Converting QJsonValue to QJsonArray

2012-08-13 Thread Stephen Chu
On 8/13/12 9:24 AM, lars.kn...@nokia.com wrote: > > On Aug 8, 2012, at 9:14 PM, ext Stephen Chu wrote: > >> I am trying out the new QJsonValue in Qt 5 and find myself wondering: >> Does converting a QJsonValue which is an array to a QJsonArray with >> QJsonValue::toArray() makes a copy of the unde

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-13 Thread Bob Hood
On 8/13/2012 9:30 AM, Till Oliver Knoll wrote: > Am 13.08.2012 um 16:00 schrieb Atlant Schmidt : > >> ... >> And this is what Nokia has just done; in the course >> of just four years, they destroyed essentially all >> of their investors' capital that was invested in >> acquiring Trolltech. > >

Re: [Interest] Qt and fixed width/pitch font

2012-08-13 Thread BRM
> From: Jan Kundrát > To: interest@qt-project.org > Cc: > Sent: Monday, August 13, 2012 3:49 PM > Subject: Re: [Interest] Qt and fixed width/pitch font > > On 08/01/12 17:55, Carl Schumann wrote: >> So I tried QFont::setFixedPitch(true). > > The following works for me: > > // Ask for a fixed-

Re: [Interest] Qt and fixed width/pitch font

2012-08-13 Thread Jan Kundrát
On 08/01/12 17:55, Carl Schumann wrote: > So I tried QFont::setFixedPitch(true). The following works for me: // Ask for a fixed-width font. The problem is that these names wary across platforms, // but the following works well -- at first, we come up with a made-up name, and then // let the Qt

[Interest] Sqlite3 handler access

2012-08-13 Thread Scott Aron Bloom
I need to add a custom command to my sqlite3 system Im accessing via QSqlDatabase.. Per reading found at sourceforge and qtcentre, I have compiled in the code locally from the Qt source area.. However, on the call to sqlite3_create_function, sqlite is crashing... extern "C" void getMs

Re: [Interest] Dragging child widgets around

2012-08-13 Thread Giuseppe D'Angelo
On 13 August 2012 14:42, Syam wrote: > I have a background widget on to which several child widgets are created > dynamically at run time. The number, type, position and size of the child > widgets are specified by a text file. Most of these are custom widgets, but > some are standard widgets like

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-13 Thread Till Oliver Knoll
Am 13.08.2012 um 16:00 schrieb Atlant Schmidt : > ... > And this is what Nokia has just done; in the course > of just four years, they destroyed essentially all > of their investors' capital that was invested in > acquiring Trolltech. Wait a sec... wasn't that because Nokia bought a highly va

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-13 Thread Thiago Macieira
On segunda-feira, 13 de agosto de 2012 15.28.35, Rui Maciel wrote: > On 08/13/2012 03:14 PM, Thiago Macieira wrote: > > So, in all, you*may* be right that giving a product under a freer licence > > lowers its monetary value -- it's intuitive. > > That is also debatable. For example, Red Hat manag

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-13 Thread Rui Maciel
On 08/13/2012 03:14 PM, Thiago Macieira wrote: > So, in all, you*may* be right that giving a product under a freer licence > lowers its monetary value -- it's intuitive. That is also debatable. For example, Red Hat manages to pull an annual revenue of around 1 billion dollars while giving away

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-13 Thread R. Reucher
On Monday 13 August 2012 16:00:25 Atlant Schmidt wrote: > But the original owner of a proprietary software > product who then takes it "open sourced" seems to > invariable take a bath, flushing essentially all > of their investment in that product down the drain. > And this is what Nokia

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-13 Thread Thiago Macieira
On segunda-feira, 13 de agosto de 2012 10.00.25, Atlant Schmidt wrote: > But the original owner of a proprietary software > product who then takes it "open sourced" seems to > invariable take a bath, flushing essentially all > of their investment in that product down the drain. > And this

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-13 Thread Rui Maciel
On 08/13/2012 03:00 PM, Atlant Schmidt wrote: >But the original owner of a proprietary software >product who then takes it "open sourced" seems to >invariable take a bath, flushing essentially all >of their investment in that product down the drain. >And this is what Nokia has j

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-13 Thread Atlant Schmidt
BRM: > If you only try to look at the value that one company can > extract from a software product, then you're not looking > at its full value. The majority of work is done in fixing > bugs to it; and no one company is going to do that right > in a way that meets the community. Look at Qt and all

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-13 Thread BRM
> From: Atlant Schmidt > Subject: RE: [Interest] Digia to acquire Qt from Nokia > BRM: >> And that's hogwash. > >   Okay, I'll make my statement more clear: > >   "Still, this may serve as an indication that once a company >   converts a piece of formerly proprietary (closed-source) >   softwa

Re: [Interest] Programming strategy for old-school, 2-d video game?

2012-08-13 Thread K. Frank
Hi Jason! Thank you for your advice. On Mon, Aug 13, 2012 at 9:23 AM, Jason H wrote: > I'd say QML all the way. Could you elaborate a little bit? What features of QML make it especially apt for game programming? I haven''t really gotten my head around QML yet -- for example, I wrote a simple

[Interest] Dragging child widgets around

2012-08-13 Thread Syam
I have a background widget on to which several child widgets are created dynamically at run time. The number, type, position and size of the child widgets are specified by a text file. Most of these are custom widgets, but some are standard widgets like QLabel. Now, I need to have a way to 'design

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-13 Thread Atlant Schmidt
BRM: > And that's hogwash. Okay, I'll make my statement more clear: "Still, this may serve as an indication that once a company converts a piece of formerly proprietary (closed-source) software to open-sourced software, that company, in making that transition, effectively throws away m

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-13 Thread BRM
> From: Atlant Schmidt >  Still, this may serve as an indication that once a company >  converts a piece of closed-source software to open-sourced >  software, that company has effectively thrown away most of >  the *MONETARY* value of that software. And that's hogwash. What's the *MONETARY* v

Re: [Interest] Qt 5: Converting QJsonValue to QJsonArray

2012-08-13 Thread lars.knoll
On Aug 8, 2012, at 9:14 PM, ext Stephen Chu wrote: > I am trying out the new QJsonValue in Qt 5 and find myself wondering: > Does converting a QJsonValue which is an array to a QJsonArray with > QJsonValue::toArray() makes a copy of the underlying data? > > Say I load a JSON file which is an

Re: [Interest] Programming strategy for old-school, 2-d video game?

2012-08-13 Thread Jason H
I'd say QML all the way. From: K. Frank To: Qt-interest Sent: Saturday, August 11, 2012 3:32 PM Subject: [Interest] Programming strategy for old-school, 2-d video game? Hello List! Could anyone offer an overview of how one might implement a two-dimensi

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-13 Thread Atlant Schmidt
Thiago: > I'm not going to give you an analysis of the issue, since I'm > not allowed to, but if any journalists are around and thinking > of reporting that as a sign of Qt's value, please think again. Which is why, of course, I wrote "the rest of Qt" in my original posting; I don't know the

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-13 Thread Bo Thorsen
Den 13-08-2012 13:57, Atlant Schmidt skrev: >Apparently, the price Digia paid for the rest of Qt was >EUR4m (US$4.9m). > >That's quite a mark-down from the US$150m Nokia paid to >buy Trolltech in 2008! > > http://www.financial-news.co.uk/6900/2012/08/finnish-handset-maker-nokia-exit

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-13 Thread Thiago Macieira
On segunda-feira, 13 de agosto de 2012 07.57.48, Atlant Schmidt wrote: > All: > > Apparently, the price Digia paid for the rest of Qt was > EUR4m (US$4.9m). > > That's quite a mark-down from the US$150m Nokia paid to > buy Trolltech in 2008! > >Atlant

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-13 Thread Atlant Schmidt
All: Apparently, the price Digia paid for the rest of Qt was EUR4m (US$4.9m). That's quite a mark-down from the US$150m Nokia paid to buy Trolltech in 2008! Atlant -=-=-=-=-=- http://www.financial-news.co.uk/6900/2012/08/finnish-handset-maker-nok