[Interest] Can't get the iOS IAP process to work using the Qt QML Purchasing API.

2017-08-11 Thread Lawrence Clague
I have been unable to get the iOS IAP process to work using the Qt QML Purchasing API. Has anyone using Qt as their IDE been able to successfully make either a test or real purchase using iTunes TestFlight or the Sandbox? If so how did you accomplish this? At a total loss for iOS. Android wo

Re: [Interest] QML debugger doesn't work for big cmake-based project

2017-08-11 Thread alexander ivash
My combination definitely works on sample app.. QtCreator 4.3.1, Qt 5.9.1, QtQuick 2 (msvc2017, windows 10x64). Thank you for the hint with debugger log, will check it! André Pönitz писал(а) в своём письме Fri, 11 Aug 2017 20:53:47 +0300: On Fri, Aug 11, 2017 at 05:48:43PM +0300, Alexande

Re: [Interest] QML debugger doesn't work for big cmake-based project

2017-08-11 Thread André Pönitz
On Fri, Aug 11, 2017 at 05:48:43PM +0300, Alexander Ivash wrote: > I'm experiencing issues with enabling QML debugger for huge > cmake-based project. I've added add_definitions(-DQT_QML_DEBUG) and > enabled checkbox in Qt Creator but breakpoints never triggered. On > launching debugger I see 'QML d

[Interest] Qt3D Rendering offscreen

2017-08-11 Thread Andy
Goal: With Qt3D (C++), render my scene offscreen, use render capture on it, and save image to disk. With my Qt3DWindow-based solution the scene looks fine and I can do the render capture part (on macOS anyways - Windows doesn't work for me - https://bugreports.qt.io/browse/QTBUG-61223 ). Now I ne

Re: [Interest] QML debugger doesn't work for big cmake-based project

2017-08-11 Thread Alexander Ivash
Hmm.. ok, I will try.. But I'm a bit skeptical it will help because I've never seem 'waitng for connection' (although I know for sure there is QQuickWindow creation in code). Is there any tricks which might force QML Debugger to start listening connections earlier and attach it to QML engine manual

Re: [Interest] QML debugger doesn't work for big cmake-based project

2017-08-11 Thread Ulf Hermann
On 08/11/2017 05:01 PM, Alexander Ivash wrote: > But then way don't I see 'waiting for connection... ' ? Because it only starts waiting for connections once a QML engine exists. Before that there is nothing to debug anyway. > Also, If what you say is true, then is it possible to increase this t

Re: [Interest] QML debugger doesn't work for big cmake-based project

2017-08-11 Thread Alexander Ivash
But then way don't I see 'waiting for connection... ' ? Also, If what you say is true, then is it possible to increase this timeout ? 2017-08-11 17:54 GMT+03:00 Ulf Hermann : > On 08/11/2017 04:48 PM, Alexander Ivash wrote: >> On launching debugger I see 'QML debugging is enabled. Only use this in

Re: [Interest] QML debugger doesn't work for big cmake-based project

2017-08-11 Thread Ulf Hermann
On 08/11/2017 04:48 PM, Alexander Ivash wrote: > On launching debugger I see 'QML debugging is enabled. Only use this in a > safe environment.' but don't see 'Waiting for connnection...', so it > looks line debugger is not completely initialized. Does your application do anything complicated befo

[Interest] QML debugger doesn't work for big cmake-based project

2017-08-11 Thread Alexander Ivash
I'm experiencing issues with enabling QML debugger for huge cmake-based project. I've added add_definitions(-DQT_QML_DEBUG) and enabled checkbox in Qt Creator but breakpoints never triggered. On launching debugger I see 'QML debugging is enabled. Only use this in a safe environment.' but don't see

Re: [Interest] Improve ListView scrolling performance (many pictures)

2017-08-11 Thread Andy
I've been using jpeg - something like this (where MAX_THUMB_DIM is 60): void _saveThumbnail( QImage inImage, const QString &inPath ) { QImage image = inImage.scaled( MAX_THUMB_DIM, MAX_THUMB_DIM, Qt::KeepAspectRatio, Qt::SmoothTransformation ); QImageWriter writer( inPath, "JPEG" );

Re: [Interest] Improve ListView scrolling performance (many pictures)

2017-08-11 Thread Mark Gaiser
You need to do the "heavy" image operations in a separate thread! Copy the result back to the main thread and feed it to QML. You should not do any more operations on it once it lives in the main thread (no resize, scale, colorize, whatever) as you will notice that during scrolling. On Fri, Aug 11

Re: [Interest] Improve ListView scrolling performance (many pictures)

2017-08-11 Thread Bernhard B
Hi Andy, many thanks for your response! I am also using a QAbstractListModel-derived class that gets exposed to the QML world which contains the images. Yesterday I started to resize the images before feeding them to the ListModel. According to the QML Profiler the delegate gets now created a lit

Re: [Interest] Improve ListView scrolling performance (many pictures)

2017-08-11 Thread Andy
Bernhard: I don't use QML, but in my application I use a QAbstractItemModel-derived class and a QTreeView-derived class to display image thumbnails in the view. The way I make it speedy is to save the image as a thumbnail so the view items don't need to resize the image data at all. Maybe you cou

Re: [Interest] Improve ListView scrolling performance (many pictures)

2017-08-11 Thread Bernhard B
Hi Vlad, you mean the QQuickAsyncImageProvider? That one sounds really promising. Will definitely try that out. Many thanks for the suggestion! Bernhard Am Donnerstag, 10. August 2017 schrieb Vlad Stelmahovsky : > threaded image provider might help > > On Thu, Aug 10, 2017 at 12:36 PM, Bernhard