[Interest] Qt 5.2 build (VS 2013 64-bit) generates crashing EXEs

2013-12-12 Thread Andreas Hackelöer
Hi, I followed these steps to create a 64-bit build of Qt 5.2 using Visual Studio 2013 (everything done from the Visual Studio 2013 ×64 Command Prompt): - I cloned the git repository: git clone git://gitorious.org/qt/qt5.git - I ran the init-repository script: perl ./init-repository —no-webkit

[Interest] [meta-qt5] Error running application with linuxfb platform

2013-12-12 Thread Stefano Cordibella
Hi list, I am trying to run a Qt5 application on at91sam9x35 atmel board with Yocto (poky dora). On this environment I am able to run Qt4 application using the embedded version of qt4 provided by atmel. I suppose that the embedded mode use linuxfb platform. Now I want to build and run appl

[Interest] visual studio addin

2013-12-12 Thread bob smith
Hi I am using the VS Addin and have a problem If I change a ui file with designer by, for example, adding a widget then VS intellisense does not recognize it. If I unload an reload the project the new member is available. Is anyone out there using the VS addin and come across this problem ? Anyo

Re: [Interest] visual studio addin

2013-12-12 Thread alexander golks
Am Thu, 12 Dec 2013 09:49:26 + schrieb bob smith : > Hi > I am using the VS Addin and have a problem > If I change a ui file with designer by, for example, adding a widget then VS > intellisense does not recognize it. If I unload an reload the project the new > member is available. > Is any

[Interest] Where are the 5.2 VS2012 x86 OpenGL binaries

2013-12-12 Thread Philipp Kursawe
Why are they not part of this release, but only VS2010 comes with x86 OpenGL support? For the desktop I would love to go completly without any dependency on OpenGL but since that is not an option anymore (QtGUI depends on it for whatever reason) I would like to have the smallest deploy size possibl

Re: [Interest] visual studio addin

2013-12-12 Thread Michael Sué
Hi, VS intellisense will recognize a new widget after the first build (with uic run), usually not immediately but when it eventually feels like updating its information or when you prod it to do so. From: interest-bounces+sue=nf.mpg...@qt-project.org [mailto:interest-bounces+sue=nf.mpg...@

Re: [Interest] Where are the 5.2 VS2012 x86 OpenGL binaries

2013-12-12 Thread Koehne Kai
> -Original Message- > From: interest-bounces+kai.koehne=digia@qt-project.org > [mailto:interest-bounces+kai.koehne=digia@qt-project.org] On Behalf Of > Philipp Kursawe > Sent: Thursday, December 12, 2013 11:05 AM > To: interest@qt-project.org > Subject: [Interest] Where are the 5.

Re: [Interest] visual studio addin

2013-12-12 Thread Felix morack
VS is not able to process .ui files, as .ui files only contain XML data, no real C++ code. You will have to generate the code from the .ui first (uic'ing), and then VS will parse the newly generated code immediately. Thanks to the VSAddin, the build process does the uic'ing for you. 2013/12/12 Mi

Re: [Interest] visual studio addin

2013-12-12 Thread bob smith
Thanks everyone - now I understand Date: Thu, 12 Dec 2013 13:11:37 +0100 From: felixo...@gmail.com To: s...@nf.mpg.de CC: interest@qt-project.org Subject: Re: [Interest] visual studio addin VS is not able to process .ui files, as .ui files only contain XML data, no real C++ code. You will have t

[Interest] General QTimer question

2013-12-12 Thread Jason Kretzer
Good Morning! This is more a general question about the behavior of QTimer followed by a more specific instance of the question. What can make a QTimer not timeout()? In a general sense, what can make it miss its firing? That was the general question. My specific situation: I display 3 QWeb

Re: [Interest] Quick2 ListView - set current index to a new item when added

2013-12-12 Thread Ola Røer Thorsen
2013/12/11 Preet > > The index is exposed just as 'index' in the delegate itself. > > Ah. Thank you! Somehow missed that earlier. > > What's the difference between that one and Component.onCompleted? > > I think Component.onCompleted is run any time something creates the > component, which mig

Re: [Interest] General QTimer question

2013-12-12 Thread Harish Surana
I would say change your approach little bit: 1. Create only 3 instance of QWebView 2. Whenever QTimer shots change content of QWebView and show them. 3. After they are finished displaying content hide them. 4. repeat step 2 and 3 On Thu, Dec 12, 2013 at 1:57 PM, Jason Kretzer wrote: > Good Mor

Re: [Interest] General QTimer question

2013-12-12 Thread Jason Kretzer
So, reuse the QWebViews instead of destroying and creating new ones. Interesting. - - - - - - - - - - - - - - - - - - - - - - - Jason R. Kretzer Application Developer Google # 606-887-9011 Cell # 606-792-0079 ja...@gocodigo.com “quidquid latine dictum sit altum videtu

Re: [Interest] General QTimer question

2013-12-12 Thread Harish Surana
Yes, reuse them. I had similar problem when I was creating a digital signage solution. On Thu, Dec 12, 2013 at 2:53 PM, Jason Kretzer wrote: > So, reuse the QWebViews instead of destroying and creating new ones. > > Interesting. > > *- - - - - - - - - - - - - - - - - - - - - - -* > *Jason R. **

[Interest] How to insert a new record with generated primary key into a QSqlTableModel

2013-12-12 Thread Knut Krause
Hi, I got a DataMapper set up like http://pastebin.com/k9kB1N1a Editing the existing model works really fine but how can I add a new customer? I basically need to insert a new record to the model with an auto generated id (from my DB) and then set the mapper to the correct ModelIndex. How would

Re: [Interest] General QTimer question

2013-12-12 Thread Bo Thorsen
Den 12-12-2013 13:57, Jason Kretzer skrev: > This is more a general question about the behavior of QTimer followed by > a more specific instance of the question. > > What can make a QTimer not timeout()? In a general sense, what can make > it miss its firing? Only one thing: When timer timeouts a

Re: [Interest] Loader seems to be blocking animation

2013-12-12 Thread VStevenP
When I try to use this new sytnax, I see the following run-time error, and the animation doesn't happen.  Any idea what I can do to avoid this error and get the animation to work? assets:/qml/WidgetsGallery/Widgets/PageTabsPane.qml:119 ((null)): assets:/qml/WidgetsGallery/Widgets/PageTabsPane.q

Re: [Interest] How to insert a new record with generated primary key into a QSqlTableModel

2013-12-12 Thread Scott Aron Bloom
It will depend slightly on the database. If your database driver back end supports the driver feature LastInsertId, then the easiest way is to call QSqlResult::lastInserId() You can then do a fetchMore() on the model, and correlate the id to the index... if not, I have done a search for the rec

Re: [Interest] How to insert a new record with generated primary key into a QSqlTableModel

2013-12-12 Thread Knut Krause
I'm using SQLite, hopefully it'll support it. Where would I get the QSqlResult::lastInserId() though? I really don't want my database to be in some inconsistent state if I do something wrong or if I abort the edit the record should be discarded again. regards Am Donnerstag, 12. Dezember 2013,

[Interest] QOpenGLFramebufferObject, render to FBO using texture from another Image item?

2013-12-12 Thread Ola Røer Thorsen
I recently discovered the new way of doing render-to-FBO in Qt 5.2.0. It's a major improvement compared with what had to be done previously, I think! :-) However I have run into something tricky as I want to do something more advanced: I need to render some textured geometry into an FBO. The use-

Re: [Interest] Where are the 5.2 VS2012 x86 OpenGL binaries

2013-12-12 Thread Philipp Kursawe
I understand, I wonder why until 5.1 a x86 OpenGL Version for VS2012 was delivered or am I mistaken? On Thu, Dec 12, 2013 at 11:17 AM, Koehne Kai wrote: > > > -Original Message- > > From: interest-bounces+kai.koehne=digia@qt-project.org > > [mailto:interest-bounces+kai.koehne=digia.

[Interest] QFileSystemWatcher - possible bug

2013-12-12 Thread Graham Labdon
Hi I have added a path to a QFileSystemWatcher object to detect when a folder is added to an initial folder. I have connected the directoryChanged signal and indeed this gets called when a folder is added to the initial folder. now want to add a watch for the added folder so in my slot I get a li

Re: [Interest] Where are the 5.2 VS2012 x86 OpenGL binaries

2013-12-12 Thread Koehne Kai
> -Original Message- > From: Philipp Kursawe [mailto:phil.kurs...@gmail.com] > Sent: Thursday, December 12, 2013 3:43 PM > To: Koehne Kai > Cc: interest@qt-project.org > Subject: Re: [Interest] Where are the 5.2 VS2012 x86 OpenGL binaries > > I understand, I wonder why until 5.1 a x86 Open

[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] 5.2 RC1 -> release

2013-12-12 Thread Koehne Kai
> -Original Message- > From: interest-bounces+kai.koehne=digia@qt-project.org > I see that 5.2 is now officially released. Great! > > Does anyone know if anything has changed from RC1 to the release? There were changes (e.g. 52 patches in qtbase alone). If you've a git clone you can

Re: [Interest] Qt 5.2 build (VS 2013 64-bit) generates crashing EXEs

2013-12-12 Thread Andreas Hackelöer
Found the error. If QT_QPA_PLATFORM_PLUGIN_PATH is set (even if it is set to the correct path qtbase\plugins\platforms), Qt crashes while trying to locate the platform plugin. 2013/12/12 Andreas Hackelöer > Hi, > > I followed these steps to create a 64-bit build of Qt 5.2 using Visual > Studio

Re: [Interest] How to insert a new record with generated primary key into a QSqlTableModel

2013-12-12 Thread Scott Aron Bloom
SQLLite does.. after the insert command is executed, call lastInsertId() Scott -Original Message- From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Knut Krause Sent: Thursday, December 12, 2013

Re: [Interest] Storing complex SQL relations with Qt

2013-12-12 Thread Constantin Makshin
Usually if you don't explicitly ask for a transaction, RDBMS creates an implicit one for each statement. AFAIK, SQLite uses this idea too. And the next to last paragraph at http://www.sqlite.org/autoinc.html gives an impression that uniqueness of values in AUTOINCREMENT columns isn't affected by t

[Interest] What's next for Qt 5.3?

2013-12-12 Thread Jason H
So now we have mobile off to the races... Is anything going to happen with making Qt a better network toolkit? By that I mean SOAP and rest services - and providing those, not just consuming them. Maybe a HTML5 canvas as part of QPA? WebGL for QML?__

Re: [Interest] Storing complex SQL relations with Qt

2013-12-12 Thread Knut Krause
Thanks for your opinion. I thought I'd be at least this far right now but it looks like I cannot insert new rows. I already opened a new thread [Interest] How to insert a new record with generated primary key into a QSqlTableModel for that. But I've been readin all day long and I can't find a s

Re: [Interest] Storing complex SQL relations with Qt

2013-12-12 Thread Jason H
I'm just coming into this, but I don't see the problem. Just make DataMapper ignorant about the ID, but let the TableModel know about it. Also, SQLite has a implied RowID in addition (or instead of) your own autoincrement ID. Maybe that will help? From: Knut K

Re: [Interest] What's next for Qt 5.3?

2013-12-12 Thread Philipp Kursawe
Uhmm, what do you mean by providing REST Services? Are you talking about a HTTP framework like Rails or Sinatra? Imho such functionality has no place in the default distribution of Qt. You can easily develop that as an addon library. In fact, to develop a basic REST HTTP Server in plain C++ with ro

[Interest] VS2013

2013-12-12 Thread Felix morack
I think a lot of us windows guys want to move over to VS2013 (optimization bugs in VS2012 and all). Unfortunately, VS2013 wasnt released in time to have full support in Qt 5.2. VS2013 has been around for a while now, and code to update the VSAddon to support VS2013 has been reviewed, approved and

Re: [Interest] VS2013

2013-12-12 Thread Thiago Macieira
On quinta-feira, 12 de dezembro de 2013 21:17:56, Felix morack wrote: > I think a lot of us windows guys want to move over to VS2013 (optimization > bugs in VS2012 and all). > > Unfortunately, VS2013 wasnt released in time to have full support in Qt 5.2. > VS2013 has been around for a while now, a

Re: [Interest] VS2013

2013-12-12 Thread Pau Garcia i Quiles
On Thu, Dec 12, 2013 at 10:17 PM, Thiago Macieira wrote: > Would people feel bad if we no longer provided binaries for VS 2010? > Many people are still on VS2010 (in fact, I know a not-negligible amount of companies still on VS 2008) Microsoft is releasing too fast for the mid to large corpora

Re: [Interest] VS2013

2013-12-12 Thread Felix morack
Why would you need to drop something else? But yes, i think moving forward is more important than keeping VS2010 support. So what are the current plans? 2013/12/12 Thiago Macieira > On quinta-feira, 12 de dezembro de 2013 21:17:56, Felix morack wrote: > > I think a lot of us windows guys wan

Re: [Interest] VS2013

2013-12-12 Thread Felix morack
> > >> Would people feel bad if we no longer provided binaries for VS 2010? >> > > Many people are still on VS2010 (in fact, I know a not-negligible amount > of companies still on VS 2008) > > Microsoft is releasing too fast for the mid to large corporation. > Very true. In fact, i work for one

Re: [Interest] Storing complex SQL relations with Qt

2013-12-12 Thread Mark Brand
> [Interest] How to insert a new record with generated primary key into a > QSqlTableModel > > for that. But I've been readin all day long and I can't find a solution on > how I can initialize a new record with my DataMapper form … If you're looking for a way for your application to initialize r

Re: [Interest] 5.2 RC1 -> release

2013-12-12 Thread Mark Gaiser
Where is the page with new C++ classes and new QML types/properties? doc.qt-project.org is pointing to http://qt-project.org/doc/qt-5/index.html for 5.2 which doesn't show a whats new page. Well, it does, but that is 5.0, not 5.2. On Thu, Dec 12, 2013 at 4:33 PM, Koehne Kai wrote: >> -Origina

Re: [Interest] 5.2 RC1 -> release

2013-12-12 Thread Christoph Feck
On Thursday 12 December 2013 22:57:03 Mark Gaiser wrote: > Where is the page with new C++ classes and new QML > types/properties? doc.qt-project.org is pointing to > http://qt-project.org/doc/qt-5/index.html for 5.2 which doesn't > show a whats new page. Well, it does, but that is 5.0, not 5.2. Re

Re: [Interest] VS2013

2013-12-12 Thread Charley Bay
>>> Would people feel bad if we no longer provided binaries for VS 2010? >> >> Many people are still on VS2010 (in fact, I know a not-negligible amount >> of companies still on VS 2008) >> >> Microsoft is releasing too fast for the mid to large corporation. Felix spaketh: > Very true. In fact, i

Re: [Interest] VS2013

2013-12-12 Thread Pau Garcia i Quiles
On Thu, Dec 12, 2013 at 11:19 PM, Charley Bay wrote: > MSVC2013 is an exception because IMHO, MSVC2010 and MSVC2012 had > serious deficiencies (we won't use them). > > Careful with that: LLVM is sticking to MSVC2010 for now because they found some serious issues in 2012 and 2013 (in obscure C++1

Re: [Interest] 5.2 RC1 -> release

2013-12-12 Thread Mark Gaiser
On Thu, Dec 12, 2013 at 11:15 PM, Christoph Feck wrote: > On Thursday 12 December 2013 22:57:03 Mark Gaiser wrote: >> Where is the page with new C++ classes and new QML >> types/properties? doc.qt-project.org is pointing to >> http://qt-project.org/doc/qt-5/index.html for 5.2 which doesn't >> show

Re: [Interest] What's next for Qt 5.3?

2013-12-12 Thread Jason H
Close, more about using QObjects and QPROPERTYs to create a object hierarchy which map to slots.  root = RestObject(NULL); class O1 : public RestObject { Q_PROPERTY (QString p1 READ p1) } o1 = O1("o1", root); GET /o1/p1 (calls O1::p1()) Add QMetaObject magic for mapping query paramters to slo

Re: [Interest] What's next for Qt 5.3?

2013-12-12 Thread Philipp Kursawe
Understood, yes the meta object system could be facilitated for that. I have something similar implemented for my in-app protocol handler. On Thu, Dec 12, 2013 at 11:40 PM, Jason H wrote: > Close, more about using QObjects and QPROPERTYs to create a object > hierarchy which map to slots. > > r

Re: [Interest] VS2013

2013-12-12 Thread Thiago Macieira
On quinta-feira, 12 de dezembro de 2013 22:22:56, Felix morack wrote: > Why would you need to drop something else? Because we don't have enough manpower to test all the packages that people ask for. Let me put it this way: there will be MSVC2013 packages if there are people testing them. Join t

Re: [Interest] VS2013

2013-12-12 Thread Felix morack
Deal! I am sure we can gather enough people for testing a msvc2013 package. I'll subs. to the release slit momentarily. Any ideas when we can expect 5.2.1? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/

Re: [Interest] VS2013

2013-12-12 Thread Michael Sué
Hi, I think support for VS 2010 should be held up as long as WINDOWS XP is officially supported (April 2014). The newer VS versions do not support native development on WINDOWS XP but this will stop to be an issue as soon as the platform does no longer exist. - Michael. __

Re: [Interest] VS2013

2013-12-12 Thread Yves Bailly
Le 13/12/2013 08:50, Michael Sué a écrit : > I think support for VS 2010 should be held up as long as WINDOWS XP is > officially supported (April 2014). The newer VS versions do not support > native development on WINDOWS XP but this will stop to be an issue as soon as > the platform does no lon