Re: [Interest] problem converting QVariant UserType to Int

2014-08-26 Thread Thiago Macieira
On Tuesday 26 August 2014 18:18:31 glenn popelka wrote: > qDebug() << "UserTypeClass::toInt " << this << ' ' << *ok << ' ' << m_data; qDebug() already adds the spaces for you -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center __

Re: [Interest] problem converting QVariant UserType to Int

2014-08-26 Thread Mandeep Sandhu
> > Output: > = > UserTypeClass ctor 0x7fff6aa02710 3 -> 3 > UserTypeClass copy 0x7fff6aa02710 to 0x194eb20 3 (UserType copied into > QVariant) > UserTypeClass::toInt 0x7fff6aa026f0 false 26537440 (1st conversion > failed, where did 26537440 come from?) Seems like uninitialized value from a TH

[Interest] problem converting QVariant UserType to Int

2014-08-26 Thread glenn popelka
Qt-5.3.1, Fedora 20, g++4.8.3. Also tested on Windows7 with Qt5.2.1 and 5.3.1. I’m trying to take advantage of the new functionality in Qt5.2 allowing conversion from a QVariant holding a UserType directly to Integer. I think this may be a bug, but I could be wrong... Here's my code, it can al

Re: [Interest] How to fix encoding

2014-08-26 Thread Edgar Moraes Diniz
Hi, Actually, I meant Qt drivers, such as QOCI, QPSQL, QSQLITE etc. You don't need to recompile the entire Qt library, only the QODBC driver. Em 26/08/2014 10:14, zdenko podobny escreveu: > Hello, > > I try to retrieve strings from db with QODBC (QT 5.3.1 windows). > Database locale i

Re: [Interest] How to fix encoding

2014-08-26 Thread zdenko podobny
Using native c++ driver (but not QT based) is my backup solution. At the moment I try to find QT5 based solution without need to recompile QT... Zdenko On Tue, Aug 26, 2014 at 3:32 PM, Edgar Moraes Diniz < edgar.di...@openmailbox.org> wrote: > Hi, > > I had this problem here in Brazil, too, bu

Re: [Interest] How to fix encoding

2014-08-26 Thread Edgar Moraes Diniz
Hi, I had this problem here in Brazil, too, but with Qt 5.0, perhaps that's the same point. To overcome this problem, I found two solutions: 1 (easier): Do you really have to use ODBC? Native drivers are supposedly better and faster. Try using the native driver for your DB. 2 (not so eas

[Interest] How to fix encoding

2014-08-26 Thread zdenko podobny
Hello, I try to retrieve strings from db with QODBC (QT 5.3.1 windows). Database locale is en_US.819 (and ODBC driver does not work if client locale is not set to en_US.819). Strings (stored by windows application in db) are cp1250 encoded. And instead of "doručené" I got "doru?en?". Here is par

Re: [Interest] Custom path for android build dir?

2014-08-26 Thread Ben Lau
On 26 August 2014 18:11, Tomasz Siekierda wrote: > Hi, > > Is there any way to change the path or name of the android build dir > ("android-build")? I have a project where I need to create several > different .apk files from a single SUBDIRS project, but all those > subprojects try to use the sam

Re: [Interest] Qt5.2.1-QtQuickControls build with Yocto-1.5

2014-08-26 Thread Ramakanthreddy Kesireddy
Well I cross-compiled Qt5.x for target board ..So in conf file, there are no qt modules being added. Best Regards, Ramakanth -Original Message- From: Meenakumari Shedole [mailto:meenakumar...@hcl.com] Sent: Tuesday, August 26, 2014 1:13 PM To: Ramakanthreddy Kesireddy; interest@qt-projec

[Interest] Custom path for android build dir?

2014-08-26 Thread Tomasz Siekierda
Hi, Is there any way to change the path or name of the android build dir ("android-build")? I have a project where I need to create several different .apk files from a single SUBDIRS project, but all those subprojects try to use the same android-build directory, which leads to clashes. Does anybo

Re: [Interest] XAML and CX in Qt for Windows Phone

2014-08-26 Thread Knight Andrew
Hi, XAML rendering is not supported out of the box, and probably won't be any time soon. You need modify Qt to do this, so read the code review links I pasted earlier. This experimental territory, so you're on you're own here. Feel free to comment on the code reviews themselves if there are par

Re: [Interest] XAML and CX in Qt for Windows Phone

2014-08-26 Thread Đèn cù Phan Quang Huy
Dear Andrew, Recently, i was a bit busy so i can tried it today. (ZW) extension only enable to use CX. I want to render Qt to XAML scene graph. How can i do it??? Sorry for my poor English :) ! On Fri, Aug 15, 2014 at 4:35 PM, Đèn cù Phan Quang Huy < matdenno...@gmail.com> wrote: > Thanks, And