Re: [Interest] Chromium build failure, SSL and Qt 5.6.3 vs 5.6.0,

2018-07-29 Thread Thiago Macieira
On Sunday, 29 July 2018 13:58:41 PDT Christian Gagneraud wrote:
> Hi,
> 
> We used to build Qt-5.6.3 on and for Linux-i386.
> I recently had to downgrade to Qt-5.6.0 (see below), but now the build
> fails with:
>
> qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c:
> In function 'ssl3_ChaCha20Poly1305':
> qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c:2118:15:
> error: 'CK_NSS_AEAD_PARAMS {aka struct CK_NSS_AEAD_PARAMS}' has no member
> named 'pIv'
>  aeadParams.pIv = (unsigned char *) additionalData;
>^

Which OpenSSL version is this? Before Qt 5.10, you had to use 1.0. You cannot 
use 1.1.

> Note: The reason i need to downgrade, is because we have C++ source
> generated with QtQuickCompiler, these sources have been generated on
> Windows using Qt-5.6.0, and apparently it is not possible to build
> these generated sources with Qt-5.6.3 (!?!), cherry on the cake, our
> CI build system is i386-linux, ans The Qt Company doesn't provide
> binaries of QtQuickCompiler for i386-Linux, nor does it provide
> sources to build it ourselves.

The compiler is a commercial offering. So you must have a business 
relationship with them. I suggestion you contact your technical support and 
ask for that binary.

That's what happens when you use non-open source.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] QListView with delegate: support drag outside of QApplication

2018-07-29 Thread Frank Rueter | OHUfx

Hi all,

I have an app that uses two QListViews with delegates.
The user can drag ad drop items from one view into the other to create 
something like a shopping list.

So far so good.
Now I need to enable the user to also drag an item out of the 
application entirely.
Is it possible to access the drag event data that the list view produces 
by default, so I don’t have to re-invent the wheel for the already 
functioning internal drag?


Here is a simplified example that just needs support for dragging an 
item outside of the QApplication.


Any tips would be much appreciated.

Cheers,
frank

|import sys from PySide import QtGui, QtCore app = 
QtGui.QApplication(sys.argv) class MyList(QtGui.QListView): def 
__init__(self, parent=None): super(MyList, self).__init__(parent) 
self.setDragEnabled(True) self.setAcceptDrops(True) list1 = MyList() 
list2 = MyList() model1 = QtGui.QStandardItemModel(list1) model2 = 
QtGui.QStandardItemModel(list1) 
model2.setItemPrototype(QtGui.QStandardItem()) foods = [ 'Cookie dough', 
'Hummus', 'Spaghetti', 'Dal makhani', 'Chocolate whipped cream' ] for 
food in foods: item = QtGui.QStandardItem(food) model1.appendRow(item) 
list1.setModel(model1) list2.setModel(model2) w = QtGui.QSplitter() 
w.addWidget(list1) w.addWidget(list2) w.show() w.raise_() app.exec_() |


​
--

ohufxLogo 50x50 
	*vfx compositing  | *workflow 
customisation and consulting * *

**
   


Your gateway to over 1,000 free tools... right inside of Nuke 



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] Chromium build failure, SSL and Qt 5.6.3 vs 5.6.0,

2018-07-29 Thread Christian Gagneraud
Hi,

We used to build Qt-5.6.3 on and for Linux-i386.
I recently had to downgrade to Qt-5.6.0 (see below), but now the build
fails with:

qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c:
In function 'ssl3_ChaCha20Poly1305':
qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c:2118:15:
error: 'CK_NSS_AEAD_PARAMS {aka struct CK_NSS_AEAD_PARAMS}' has no
member named 'pIv'
 aeadParams.pIv = (unsigned char *) additionalData;
   ^
qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c:2119:15:
error: 'CK_NSS_AEAD_PARAMS {aka struct CK_NSS_AEAD_PARAMS}' has no
member named 'ulIvLen'
 aeadParams.ulIvLen = 8;
   ^

Are there any special requirements,or actually is there a difference
in the requirements, to build Qt5.6.0 vs Qt-5.6.3?

Thanks.

Note: The reason i need to downgrade, is because we have C++ source
generated with QtQuickCompiler, these sources have been generated on
Windows using Qt-5.6.0, and apparently it is not possible to build
these generated sources with Qt-5.6.3 (!?!), cherry on the cake, our
CI build system is i386-linux, ans The Qt Company doesn't provide
binaries of QtQuickCompiler for i386-Linux, nor does it provide
sources to build it ourselves.

Thanks again.

Chris
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] [Qt3d] Textures flickering

2018-07-29 Thread Oleg Evseev
 Mike, thanks.

Yes you are right. This is z-conflict.
This model is rendered fine, without flickering in another project with
disabled fragment depth writes to depth buffer.

How can I increase precision of z-buffer in qt 3d?


2018-07-29 21:28 GMT+03:00 Mike Krus :

> Hi
>
> hard to say from the short video, but it looks like you may have z
> fighting going on, two coinciding meshes and the lack on precision causing
> this flickering…
>
> Mike
>
> > On 29 Jul 2018, at 14:58, Oleg Evseev  wrote:
> >
> > Hi all,
> >
> > When I load big models with help QSceneLoader in assimp-cpp test example
> (or small models but move camera far away from object) textures start
> flickering:
> > https://youtu.be/5FUOWc412JE
> >
> > How to fix that?
> > Thanks in advance for help.
> >
> > ---
> > With regards, Oleg
> > ___
> > Interest mailing list
> > Interest@qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/interest
>
> --
> Mike Krus | mike.k...@kdab.com | Senior Software Engineer
> KDAB (UK) Ltd., a KDAB Group company
> Tel: UK Office +44 1625 809908   Mobile +44 7833 491941
> KDAB - The Qt Experts, C++, OpenGL Experts
>
>
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] [Qt3d] Textures flickering

2018-07-29 Thread Mike Krus via Interest
Hi

hard to say from the short video, but it looks like you may have z fighting 
going on, two coinciding meshes and the lack on precision causing this 
flickering…

Mike

> On 29 Jul 2018, at 14:58, Oleg Evseev  wrote:
> 
> Hi all,
> 
> When I load big models with help QSceneLoader in assimp-cpp test example (or 
> small models but move camera far away from object) textures start flickering:
> https://youtu.be/5FUOWc412JE
> 
> How to fix that?
> Thanks in advance for help.
> 
> ---
> With regards, Oleg
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

--
Mike Krus | mike.k...@kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company
Tel: UK Office +44 1625 809908   Mobile +44 7833 491941
KDAB - The Qt Experts, C++, OpenGL Experts



smime.p7s
Description: S/MIME cryptographic signature
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] [Qt3d] Textures flickering

2018-07-29 Thread Oleg Evseev
 Hi all,

When I load big models with help QSceneLoader in assimp-cpp test example
(or small models but move camera far away from object) textures start
flickering:
https://youtu.be/5FUOWc412JE

How to fix that?
Thanks in advance for help.

---
With regards, Oleg
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest