Re: [Interest] Translation support totally broken

2013-12-19 Thread André Somers
Thiago Macieira schreef op 18-12-2013 17:58: On quarta-feira, 18 de dezembro de 2013 16:58:22, Till Oliver Knoll wrote: ID based translation is the bigest fuckup since the invention of i18n! Oh just how I hated that concept when back in Java. Or any other framework for that matter. In Qt

Re: [Interest] Cannot Install 5.2 on Mac OSX Mavericks

2013-12-19 Thread Raul Metsma
On 19 Dec 2013, at 10:20, Till Oliver Knoll till.oliver.kn...@gmail.com wrote: And I remember faintly that there was once a solution offered (by Xcode?) to simply install wrappers (or a tool which would set the proper PATHs and INCLUDEs etc.) such that the binaries from

Re: [Interest] Translation support totally broken

2013-12-19 Thread Harish Surana
thanks Thiago for nice tip of !! :) On Wed, Dec 18, 2013 at 5:58 PM, Thiago Macieira thiago.macie...@intel.comwrote: On quarta-feira, 18 de dezembro de 2013 16:58:22, Till Oliver Knoll wrote: ID based translation is the bigest fuckup since the invention of i18n! Oh just how I hated that

Re: [Interest] Translation support totally broken

2013-12-19 Thread Scott Aron Bloom
Another tip.. If you are creating software as an OEM. Use %CUSTOMER_NAME%, and %PRODUCT_NAME%, and I have also used it for %COPYRIGHT% in the original C++. For instance: QString( About: %PRODUCT_NAME%. Copyright %COPYRIGHT% %CUSTOMER_NAME% ); From:

Re: [Interest] Something funny. QAccelerometer

2013-12-19 Thread Guido Seifert
What sensor plugins do you have installed? Check in QT_INSTALL_PLUGINS/sensors. Perhaps there is a plugin installed that is providing dummy sensor data for testing purposes. This is interesting. libqtsensors_dummy.so libqtsensors_generic.so libqtsensors_linuxsys.so I have the

Re: [Interest] Cannot Install 5.2 on Mac OSX Mavericks

2013-12-19 Thread Brett (Gmail)
I got clean everything and the command line tools are the latest Mavericks ones and they work as I can run command from the command line for gcc, etc. and all work (and showing using the Xcode ones inside the bundle). Still baffling what's going on. All works fine except for 2 files. Clicking

[Interest] QVariant type query

2013-12-19 Thread Ramakanthreddy Kesireddy
Hi, Please let me know if I can pass QListT as QVariant like QListint as QVariant? Thanks and Regards, Ramakanth DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is

Re: [Interest] Something funny. QAccelerometer

2013-12-19 Thread Alejandro Exojo
2013/12/16 Guido Seifert warg...@gmx.de: I am wondering... how do I test the QAccelerometer? By throwing my desktop machine out of the window? ;-) On a more serious note: The Qt Simulator was able to change the values returned by some of those classes, even in a scripted way. For the

Re: [Interest] saving data using QtSql during shutdown

2013-12-19 Thread Francisco Ares
Hi. Found it: QApplication::commitData(QSessionManager * manager) All you have to do is derive QApplication with the above function explicitly doing what you need to do at the system shutdown, replace QApplication at main() for this new derived class, and that's it. I've tested under Linux, Qt

Re: [Interest] Translation support totally broken

2013-12-19 Thread Till Oliver Knoll
Am 19.12.2013 um 09:44 schrieb André Somers an...@familiesomers.nl: ... I think one should make an English translation anyway. Indeed, don't expect the source text to be perfect. That also allows you to deal with plurals properly: tr(Copying files. %n File(s) remaining., ,

Re: [Interest] Best practice for properties, QAbstractListModel with a QListQObject* and a Quick2 view

2013-12-19 Thread Martin Koller
On Wednesday 18 December 2013 14:58:17 Jan Kundrát wrote: On Wednesday, 18 December 2013 11:59:15 CEST, Ola Røer Thorsen wrote: However I get problems when I delete objects from the list model. The delegates are deleted later than the actual objects, so I get warnings from QML on the

Re: [Interest] Best practice for properties, QAbstractListModel with a QListQObject* and a Quick2 view

2013-12-19 Thread Jan Kundrát
On Thursday, 19 December 2013 16:34:01 CEST, Martin Koller wrote: beginRemoveRows(... row1, row1); beginRemoveRows(... row17, row17); ... endRemoveRows(); endRemoveRows(); You cannot do this. Jan -- Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Re: [Interest] Best practice for properties, QAbstractListModel with a QListQObject* and a Quick2 view

2013-12-19 Thread Martin Koller
On Thursday 19 December 2013 16:53:31 Jan Kundrát wrote: On Thursday, 19 December 2013 16:34:01 CEST, Martin Koller wrote: beginRemoveRows(... row1, row1); beginRemoveRows(... row17, row17); ... endRemoveRows(); endRemoveRows(); You cannot do this. I'm curious: do you know why the

Re: [Interest] Best practice for properties, QAbstractListModel with a QListQObject* and a Quick2 view

2013-12-19 Thread Jan Kundrát
On Thursday, 19 December 2013 17:16:25 CEST, Martin Koller wrote: I'm curious: do you know why the implementation of beginRemoveRows() uses a QStack/push() then ? Maybe I am wrong and this can be used. That said, the MVC API is complicated enough as is, so mandating support for nested

Re: [Interest] QVariant type query

2013-12-19 Thread Thiago Macieira
On quinta-feira, 19 de dezembro de 2013 09:56:46, Ramakanthreddy Kesireddy wrote: Hi, Please let me know if I can pass QListT as QVariant like QListint as QVariant? You can only store concrete types in QVariant. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect -

Re: [Interest] Translation support totally broken

2013-12-19 Thread Scott Aron Bloom
I didn't say in copyright notices :) I had once worked on a project, where we were putting out 9 versions of the same code... Using Qt translation made + Qt styles made it a snap Scott -Original Message- From: interest-bounces+scott.bloom=onshorecs@qt-project.org

[Interest] linux: libxcb assertion failure causes program crash

2013-12-19 Thread Peter Holzkorn
Hi, My program uses multiple QOpenGLContexts and a Quick context. It crashes predictably with a SIGABRT and the following message: ../../src/xcb_conn.c:186: write_vec: Assertion `!c-out.queue_len’ failed. This bug ( https://bugreports.qt-project.org/browse/QTBUG-31935 ) seems to be the same.

Re: [Interest] Something funny. QAccelerometer

2013-12-19 Thread Constantin Makshin
AFAIR, simulator's primary (available out of the box at least) pseudo environments were Symbian and Maemo 5. With both systems being in zombie state even at the time of Qt ownership transfer, there's a chance that Nokia didn't see any benefits in keeping the project and decided not to give it to

[Interest] on iOS, svg files cause Invalid Image Data errors in my Qt5.2 QtQuick app

2013-12-19 Thread VStevenP
I am observing that on iOS, svg files cause Invalid Image Data errors in my Qt5.2 QtQuick app. These same svg files render just fine when I run the same Qt 5.2 QtQuick app on a few recent Android versions.  I'm currently on KitKat 4.4.2, on a Google Nexus 7 7 (2012). Here's an example error

[Interest] Qt widgets: widgets appears without backgound

2013-12-19 Thread Николай Шатохин
If I show widget inside other widget, it appears with transparent background. How to disable this? Best regards, Nick ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Poor mirror performance for the online Qt SDK

2013-12-19 Thread Sze Howe Koh
Hello Tuukka, What I'm trying to say is, there could be users out there who have difficulty downloading Qt because they get assigned an underperforming mirror. Are there plans to let users override their assigned mirror in the online SDK installer, for cases like this? In my case, the system

Re: [Interest] Poor mirror performance for the online Qt SDK

2013-12-19 Thread Vadim Peretokin
You aren't the only one. I get the same Chinese mirror in Australia and it is terrible. It taught me that wget has a default retry limit of 20 times! The online installer and the browser download are not useable in Australia, even on a fibre connection. Download the offline installer and either

Re: [Interest] Poor mirror performance for the online Qt SDK

2013-12-19 Thread Brett (Gmail)
Yes, for me too in Southeast Asia it always chooses China which due to the national firewall is super slow always. The logic should be to only choose China mirrors from within China, otherwise ignore it. On Dec 20, 2013, at 7:54 AM, Vadim Peretokin vpereto...@gmail.com wrote: You aren't the

Re: [Interest] Poor mirror performance for the online Qt SDK

2013-12-19 Thread Sadika Sumanapala
I have the same problem (I'm in Sri Lanka). yesterday i tried to download 4 times. It is very slow. And the worst thing is online installer missing resume capability. If connection drops for whatever reason it starts to download from beginning. On Fri, Dec 20, 2013 at 6:38 AM, Brett (Gmail)

[Interest] Android resources

2013-12-19 Thread Igor Mironchik
Hi. Is it possible to set version of the application and icons for Android app in the project file? If so then how? Thanks. -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Android resources

2013-12-19 Thread Yang Fan
Why not use AndroidManifest.xml, it's simple enough. On Fri, Dec 20, 2013 at 2:45 PM, Igor Mironchik igor.mironc...@gmail.comwrote: Hi. Is it possible to set version of the application and icons for Android app in the project file? If so then how? Thanks. -- Best Regards, Igor

Re: [Interest] Android resources

2013-12-19 Thread Igor Mironchik
Hi. Why not use AndroidManifest.xml, it's simple enough. AndroidManifest.xml generates at deployment point. And there are different information about Qt libs and so on that can be changed during the next releases of Qt. I don't want to have pain with it. Or I something understand wrong

Re: [Interest] Android resources

2013-12-19 Thread Bo Thorsen
Den 20-12-2013 08:47, Igor Mironchik skrev: Hi. Why not use AndroidManifest.xml, it's simple enough. AndroidManifest.xml generates at deployment point. And there are different information about Qt libs and so on that can be changed during the next releases of Qt. I don't want to have pain