Re: [Interest] QT 5.4 - Windows Phone (WinRT) - Blank Screen

2014-10-10 Thread Raphael Couto
My qml had a ref to Screen. I've removed and the code works now. But running, it generates an Exception: First-chance exception at 0x6580ACE1 (libGLESv2d.dll) in meubrt.exe: 0xC005: Access violation reading location 0xDE09. Fault in void* TPoolAllocator::allocate (PoolAlloc.cpp - A

Re: [Interest] QT 5.4 - Windows Phone (WinRT) - Blank Screen

2014-10-10 Thread Raphael Couto
I'm trying to put this code on my main.cpp: QQmlApplicationEngine engine; engine.load(QUrl("qrc:/qml/MeuBRT-QT/main.qml")); #if defined(Q_OS_WINPHONE) QQuickWindow *window = (QQuickWindow*)engine.rootObjects().first(); QSurfaceFormat format = window->format(); format.setStencilBufferSi

Re: [Interest] Threading Question

2014-10-10 Thread Alan Ezust
>From what I understand, moveToThread() requires a parent-child relationship between the objects for the "subtree" to include them. If the QTimer was a subobject (data member) rather than a pointer to another heap object with the parent set, then the QTimer won't be moved to the other thread along

[Interest] I have lost the ability to launch a debug session from QtCreator since the installation of Xcode 6

2014-10-10 Thread Nuno Santos
Hi, Since I have installed Xcode 6 that I can no longer launch a debug session. It says “No debugger set up.” Does anyone know how to solve this? Regards, Nuno ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/lis

Re: [Interest] Is Qt 5.3.2 compatible with iOS 8?

2014-10-10 Thread Nuno Santos
Hi, In my case the problem was on qiosscreen.mm It was this bug: https://bugreports.qt-project.org/browse/QTBUG-40885 I had to apply a patch. It is now working again! Thanks, Regards, Nuno Santos www.imaginando.pt On 10 Oct 2014, at 13:24, Federico Buti wrote: > The rotation issue is a k

Re: [Interest] ASSERT / Debug Crash in Qt 5.3.2. WTF, Windows x64, LLIntData.cpp at bitwise_cast(&testVector)[sizeof(void*)/sizeof(uint32_t) + 1] == 42)

2014-10-10 Thread Allan Sandfeld Jensen
Hi On Friday 10 October 2014, Andre Barth wrote: > Hi Allan, > > castResult[3] is indexResult - forgot to print that explicitly; sorry > > indexedResult > 0x > > Anyway: > Here's the complete layout > &testVector > 0x0026e8e8 {m_size=42 } > WTF::VectorBuffer: {...} > m_s

Re: [Interest] Is Qt 5.3.2 compatible with iOS 8?

2014-10-10 Thread Nils Heidorn
Hello Kate, xould you show what you had to do to make it work ? (i could think of something crude like trying to detect the orientation manually and then swap the h/v sizes but i dont like that. Do you have something more elegant ? Greetings, Nils >It is compatible but screen rotation does not

Re: [Interest] ASSERT / Debug Crash in Qt 5.3.2. WTF, Windows x64, LLIntData.cpp at bitwise_cast(&testVector)[sizeof(void*)/sizeof(uint32_t) + 1] == 42)

2014-10-10 Thread Andre Barth
Hi Allan, castResult[3] is indexResult - forgot to print that explicitly; sorry indexedResult 0x Anyway: Here's the complete layout &testVector 0x0026e8e8 {m_size=42 } WTF::VectorBuffer: {...} m_size: 42 &testVector.m_size 0x0026e8f8 {42} &testVector.m_capacity 0x

Re: [Interest] ASSERT / Debug Crash in Qt 5.3.2. WTF, Windows x64, LLIntData.cpp at bitwise_cast(&testVector)[sizeof(void*)/sizeof(uint32_t) + 1] == 42)

2014-10-10 Thread Allan Sandfeld Jensen
Hi Andre That all looks reasonable, but what is in castResult[3] ? It expected to look like this: void * m_buffer [int index 0-1] uint m_capacity [int index 2] int m_size [int index 3] where m_capacity on Linux is 44, but m_size is 42. `Allan On Friday 10 October 2014, Andre Barth wrote: > Hi

Re: [Interest] ASSERT / Debug Crash in Qt 5.3.2. WTF, Windows x64, LLIntData.cpp at bitwise_cast(&testVector)[sizeof(void*)/sizeof(uint32_t) + 1] == 42)

2014-10-10 Thread Andre Barth
Hi Allan, Thanks for the prompt response. I will go ahead & log a bug. FWIW - Below is some test output. Thanks, Andre //some changed test code: Vector testVector; testVector.resize(42); auto sizeOfCalc = (sizeof(void*)/sizeof(uint32_t) + 1); auto address = &testVector; auto castResult = bit

Re: [Interest] ASSERT / Debug Crash in Qt 5.3.2. WTF, Windows x64, LLIntData.cpp at bitwise_cast(&testVector)[sizeof(void*)/sizeof(uint32_t) + 1] == 42)

2014-10-10 Thread Allan Sandfeld Jensen
On Friday 10 October 2014, Andre Barth wrote: > Hi all, > > I built a JIT-free version of Qt 5.3.2 (Win64) and now run into this > assertion in > > ..\Qt\qtwebkit\Source\JavaScriptCore\llint\LLIntData.cpp > > Vector testVector; > testVector.resize(42); > ASSERT(bitwise_cast(&testVector)[sizeof(v

Re: [Interest] Is Qt 5.3.2 compatible with iOS 8?

2014-10-10 Thread Federico Buti
The rotation issue is a known bug and will be resolved with 5.4. I have two apps wrote in C++/QML. One works perfectly (apart the known rotation issue). The other relies on an external library and it sometimes crashes during start-up. The crash happens also on the already deployed app if used on iO

Re: [Interest] Is Qt 5.3.2 compatible with iOS 8?

2014-10-10 Thread Kate Alhola
It is compatible but screen rotation does not work out of the box. I needed to do couple of patches to make it work. Kate On Fri, Oct 10, 2014 at 9:54 AM, Nuno Santos wrote: > Hi, > > I haven’t upgraded to iOS 8 yet. > > Can someone tell me if Qt 5.3.2 is compatible with iOS 8? > > I’m having p

Re: [Interest] Is Qt 5.3.2 compatible with iOS 8?

2014-10-10 Thread Nils Heidorn
Hi ! I am working with 5.3.2 & iOS 8. So far it seems to work, obviously there were some differences (i had a crash because of the UIActivityController needing more parameters). But 99% works. I DO have a problem that my App (GUI is QML) is not resizing itself when moving the iPad from Portrait

Re: [Interest] How to make conditional compilation in QML

2014-10-10 Thread Kristoffersen, Even (NO14)
If I read your email correctly it would probably be better solution for your problem to have a single Loader and only load the model specified in the config file? Loader { id: 3DModel source: getModelFile()   // Loads the corresponding QML file for the configured model

[Interest] How to make conditional compilation in QML

2014-10-10 Thread Amit . 2 . Deshpande
Hello, I am using 5 different 3D models on my display. Each model is a seperate QML file. These models are loaded as below using the Loader. At any given time there can be only one model enabled. The enabling is done prior to compilation. Please suggest me how can I compile only one

Re: [Interest] Dealing with clipboard under linux

2014-10-10 Thread Giuseppe D'Angelo
Hi, Il 10/10/2014 08:26, hualet ha scritto: I’m using Qt with python under linux, and want to copy some text into clipboard with Clipboard, it works quit well when the program is running, but every time the program’s down, it seems that Qt erase all the text in the clipboard, just don’t know