Re: [Interest] Define map of static items in QML

2016-03-29 Thread Elvis Stansvik
Den 30 mar 2016 8:36 fm skrev "Elvis Stansvik" : > > Hi all, > > I can understand why I can do > > property Item foo: Foo {} > property Item bar: Bar {} > property variant items: { > "foo": foo, > "bar": bar > } > > but not > > property variant items: { > "foo": Foo{}, > "bar": Bar{

[Interest] Define map of static items in QML

2016-03-29 Thread Elvis Stansvik
Hi all, I can understand why I can do property Item foo: Foo {} property Item bar: Bar {} property variant items: { "foo": foo, "bar": bar } but not property variant items: { "foo": Foo{}, "bar": Bar{} } The first opening { in the second example probably puts me in JS territory

Re: [Interest] Conflicting libjpeg versions

2016-03-29 Thread Thiago Macieira
On terça-feira, 29 de março de 2016 22:44:26 PDT Etienne Sandré-Chardonnal wrote: > nm --demangle libQt5Gui.a : > > Output: > ... > U jpeg_calc_output_dimensions > U jpeg_CreateCompress > U jpeg_CreateDecompress > U jpeg_destroy_

Re: [Interest] Conflicting libjpeg versions

2016-03-29 Thread Etienne Sandré-Chardonnal
nm --demangle libQt5Gui.a : Output: ... U jpeg_calc_output_dimensions U jpeg_CreateCompress U jpeg_CreateDecompress U jpeg_destroy_compress U jpeg_destroy_decompress U jpeg_finish_compress

Re: [Interest] Conflicting libjpeg versions

2016-03-29 Thread Thiago Macieira
On terça-feira, 29 de março de 2016 18:57:45 PDT Etienne Sandré-Chardonnal wrote: > My conclusion : With -system-libjpeg, Qt is set to link to the system > library, but no symbols from it are effectively linked with the > application. It seems that the linker finds libjpeg symbols exported by Qt >

Re: [Interest] Conflicting libjpeg versions

2016-03-29 Thread Etienne Sandré-Chardonnal
Thiago, I do not use these, I was just checking the different libjpeg versions shipped with Qt Updated status : I have another system where Qt was built with -qt-libjpeg - Everything works fine and I can use my own libjpeg library in the application without any issue. On the system with -system-

[Interest] QGraphicsScene/View getting stuck

2016-03-29 Thread maitai
Hello, I have a QGraphicsScene (Qt 5.6 / Windows 10) in which I am injecting quite a lot of items (around 10,000). After a while, the application freezes (i.e the main thread in which the QGraphicsScene/View resides is not responding anymore). After much digging, my conclusion is that the sc

Re: [Interest] Conflicting libjpeg versions

2016-03-29 Thread Thiago Macieira
On terça-feira, 29 de março de 2016 18:20:21 PDT Etienne Sandré-Chardonnal wrote: > I have looked into Qt sources, and three different libjpeg are shipped : > one with webkit, one with qtwebengine, and one with qtbase. The first one > is libjpeg-turbo 62, the two other are libjpeg 80 webkit and w

Re: [Interest] Conflicting libjpeg versions

2016-03-29 Thread Etienne Sandré-Chardonnal
I just recompiled Qt with -system-libjpeg, but the problem persists. It seems impossible not to link my application with a qt-bundled libjpeg That's strange... Which Qt version are you using? I have looked into Qt sources, and three different libjpeg are shipped : one with webkit, one with qtwebe

[Interest] StackView and focus question

2016-03-29 Thread Elvis Stansvik
Hi, In trying to debug some focus issues when using a StackView (Qt Quick 2), I came across something I find strange, and I'm hoping someone can explain it to me. Take a look at the following test case (main.qml, Red.qml, Green.qml, Blue.qml and FocusIndicator.qml): main.qml: import QtQuick 2.

Re: [Interest] Cannot build WebEngine module from Qt 5.6.0 with MSVC 2015

2016-03-29 Thread Michał Urbańczyk
I see, thank you for the answer. Actually I have used the .zip archive, so the issue apparently affects both packages, at least for 5.6.0. I'll try building from git. Best regards, Michał Urbańczyk 2016-03-29 16:58 GMT+02:00 Koehne Kai : > > -Original Message- > > Subject: [Interest] Can

Re: [Interest] iPad Pro display support?

2016-03-29 Thread Curtis Mitch
https://bugreports.qt.io/browse/QTBUG-37095 may be the problem. From: Interest [mailto:interest-bounces+mitch.curtis=theqtcompany@qt-project.org] On Behalf Of Nuno Santos Sent: Tuesday, 29 March 2016 12:53 PM To: interest Subject: [Interest] iPad Pro display support? Hi, I’m wondering if

Re: [Interest] Qt and Unity

2016-03-29 Thread Jean-Michaël Celerier
On Mon, Mar 28, 2016 at 11:04 PM, Tyler Brown wrote: > Is there a Qt development environment that is as feature rich and easy to > use as Unity? I think that some people are working on a 3D editor implemented in term of Qt3D : https://github.com/qtproject/qt-labs-qt3d-editor/tree/master/qml Ho

Re: [Interest] Conflicting libjpeg versions

2016-03-29 Thread Olivier B.
In that case it's at your app's link time that you have to make sure you link to the same libjpeg qt used. If both Qt and your app use a static libjpeg in the same executable, it must be the same 2016-03-29 17:00 GMT+02:00 Etienne Sandré-Chardonnal : > I will try recompiling Qt. Is there any way

Re: [Interest] Cannot build WebEngine module from Qt 5.6.0 with MSVC 2015

2016-03-29 Thread Koehne Kai
> -Original Message- > Subject: [Interest] Cannot build WebEngine module from Qt 5.6.0 with > MSVC 2015 > > Hi, > > I'm trying to build Qt 5.6.0 using Visual Studio 2015 Update 1. Everything > goes fine except for the webengine module. It compiles for quite a while > before failing. If I

Re: [Interest] Problem with zoomed-out qgraphicsview/scene

2016-03-29 Thread william.croc...@analog.com
On 03/29/2016 10:47 AM, David Heremans wrote: Hello, I seem to have a 'visibility problem' with my application. I have a QGraphicsscene that represents a piece of A4 paper at 300DPI (approx. 3300 by 2500 scene coordinates). On this scene I have a simple street map and some symbols. I draw the li

Re: [Interest] Conflicting libjpeg versions

2016-03-29 Thread Olivier B.
oops, ignore my 2nd sentence, i mixed up png and jpeg 2016-03-29 16:51 GMT+02:00 Olivier B. : > I do -system-libjpeg -I ${ENV_LIBJPEG_PATH}/include -L > ${ENV_LIBJPEG_PATH}/lib on my configure line to use my own libjpeg > version. > I also sed in qtbase/src/3rdparty/png_dependency.pri between de

Re: [Interest] iPad Pro display support?

2016-03-29 Thread ekke
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); Am 29.03.16 um 15:05 schrieb Nuno Santos: > Haven’t tried it with Qt 5.6 yet. Will try! > > Any special flags that need to be enabled? > >> On 29 Mar 2016, at 13:34, m...@rpzdesign.com >> wrote: >> >> How doe

Re: [Interest] Conflicting libjpeg versions

2016-03-29 Thread Olivier B.
I do -system-libjpeg -I ${ENV_LIBJPEG_PATH}/include -L ${ENV_LIBJPEG_PATH}/lib on my configure line to use my own libjpeg version. I also sed in qtbase/src/3rdparty/png_dependency.pri between debug and release build, in order to use a debug libjpeg in my debug qt and a release libjpeg in my releas

[Interest] Problem with zoomed-out qgraphicsview/scene

2016-03-29 Thread David Heremans
Hello, I seem to have a 'visibility problem' with my application. I have a QGraphicsscene that represents a piece of A4 paper at 300DPI (approx. 3300 by 2500 scene coordinates). On this scene I have a simple street map and some symbols. I draw the lines in black with thickness ranging between 1 to

Re: [Interest] Conflicting libjpeg versions

2016-03-29 Thread Etienne Sandré-Chardonnal
Hi, There is no dependency to any libjpeg DLL, as checked with dependency walker. And I have searched for any libjpeg*.dll in my system, none of them are inside the PATH. The libjpeg is linked statically. Which options do I have for configuring Qt? I only know the option which switches between em

Re: [Interest] Conflicting libjpeg versions

2016-03-29 Thread Olivier B.
Either your PATH is set so the wrong libjpeg dll is found first, or qt found the wrong jpeg include first. If you don't care which version is used, set your PATH so that your system libjpeg 6.2 is found first at runtime (or place the libjpeg dll of the version that was detected beside your executab

[Interest] Conflicting libjpeg versions

2016-03-29 Thread Etienne Sandré-Chardonnal
Dear all, I am compiling under windows with MinGW (64-bit) I compiled Qt for static linking. I let the default options for configure regarding jpeg support, and it seems that it choose using the system libjpeg (as seen in config.summary), probably because it detected it. My system libjpeg is the

Re: [Interest] iPad Pro display support?

2016-03-29 Thread Nuno Santos
Haven’t tried it with Qt 5.6 yet. Will try! Any special flags that need to be enabled? > On 29 Mar 2016, at 13:34, m...@rpzdesign.com wrote: > > How does it look on Qt 5.6? > > I had similar text fuzziness comments from IOS on Qt.5.5. > > md > > On 3/29/2016 4:52 AM, Nuno Santos wrote: >> Hi

Re: [Interest] iPad Pro display support?

2016-03-29 Thread m...@rpzdesign.com
How does it look on Qt 5.6? I had similar text fuzziness comments from IOS on Qt.5.5. md On 3/29/2016 4:52 AM, Nuno Santos wrote: Hi, I’m wondering if there is any special care I should take for iPad Pro. I have a user saying that the graphics is not crystal clear on it’s iPad Pro. The grap

[Interest] Cannot build WebEngine module from Qt 5.6.0 with MSVC 2015

2016-03-29 Thread Michał Urbańczyk
Hi, I'm trying to build Qt 5.6.0 using Visual Studio 2015 Update 1. Everything goes fine except for the webengine module. It compiles for quite a while before failing. If I skip the webengine module, the whole build succeeds. The build fails with the same error both with nmake and jom. It happens

[Interest] iPad Pro display support?

2016-03-29 Thread Nuno Santos
Hi, I’m wondering if there is any special care I should take for iPad Pro. I have a user saying that the graphics is not crystal clear on it’s iPad Pro. The graphics are mostly based on Qml Text and Canvas elements. Thanks, Nuno___ Interest mailing l

Re: [Interest] Moving from Parse

2016-03-29 Thread Ilya Diallo
I'm using IBM Bluemix for production, and a local server for testing. The local server is not necessary, but it's very nice to have that option. 2016-03-29 11:10 GMT+02:00 Nuno Santos : > Ilya, > > Yes, there are a lot

Re: [Interest] Structuring of QML app as set of interlinked screens for maximum code reuse

2016-03-29 Thread Elvis Stansvik
2016-03-29 11:36 GMT+02:00 Nikita Krupenko : > QQC2 available in 5.6 as TP, is actively in development and final > version should be in 5.7. Some issues fixed only in 5.7. I recommend > to target to use Qt 5.7, if you plan to use QQC2. > You can mix both controls, but this controls use different Hi

Re: [Interest] Structuring of QML app as set of interlinked screens for maximum code reuse

2016-03-29 Thread Nikita Krupenko
QQC2 available in 5.6 as TP, is actively in development and final version should be in 5.7. Some issues fixed only in 5.7. I recommend to target to use Qt 5.7, if you plan to use QQC2. You can mix both controls, but this controls use different HiDPI scaling mechanism: https://bugreports.qt.io/brows

Re: [Interest] Structuring of QML app as set of interlinked screens for maximum code reuse

2016-03-29 Thread Elvis Stansvik
2016-03-25 10:32 GMT+01:00 Nikita Krupenko : > 2016-03-22 21:13 GMT+02:00 Elvis Stansvik : >> But this will only allow me to redefine properties, and add new child >> items. How would I then be able to define both which content goes in >> the main area (the content Rectangle in the "base" item) and

Re: [Interest] Moving from Parse

2016-03-29 Thread Nuno Santos
Ilya, Yes, there are a lot of Parse Server hosting options now. Which provider have you chosen? Or are you hosting your own server? Thanks, Nuno > On 29 Mar 2016, at 09:16, Ilya Diallo wrote: > > Hi, > > I use Parse Server , and this > C++/QML

Re: [Interest] qtwebview with qtwebchannel

2016-03-29 Thread Sylvain Pointeau
On Tue, Mar 29, 2016 at 8:31 AM, Kalinowski Maurice < maurice.kalinow...@theqtcompany.com> wrote: > > > QtWebView has a QtWebEngine backend, and that should be available on > Windows. > > For UWP/WinRT there is a platform specific implementation loading Edge > into your application. For classic de

Re: [Interest] Moving from Parse

2016-03-29 Thread Ilya Diallo
Hi, I use Parse Server , and this C++/QML client lib . There's tons of Parse Server hosting options available, and the Qt client lib has served me well for getting data from the (also retiring) Qt Cloud Servic

Re: [Interest] Structuring of QML app as set of interlinked screens for maximum code reuse

2016-03-29 Thread Elvis Stansvik
Hi Nikita, (just back from Easter holiday) 2016-03-25 10:32 GMT+01:00 Nikita Krupenko : > 2016-03-22 21:13 GMT+02:00 Elvis Stansvik : >> But this will only allow me to redefine properties, and add new child >> items. How would I then be able to define both which content goes in >> the main area (