Re: [Interest] PySide2 installer for windows?

2019-05-17 Thread Bob Hood
On 5/17/2019 2:58 PM, Thiago Macieira wrote: On Friday, 17 May 2019 10:16:04 PDT Bob Hood wrote: They have (prematurely, imo) abandoned the combination of Windows + Python v2.7. You will only be able to install PySide2 under Windows with Python v3.x now. Less than 7 and a half months of suppor

Re: [Interest] PySide2 installer for windows?

2019-05-17 Thread Thiago Macieira
On Friday, 17 May 2019 10:16:04 PDT Bob Hood wrote: > They have (prematurely, imo) abandoned the combination of Windows + Python > v2.7. You will only be able to install PySide2 under Windows with Python > v3.x now. Less than 7 and a half months of support for Python 2 left, until it EOLs, after

Re: [Interest] QMetaObject::invokeMethod thread safety

2019-05-17 Thread Matthew Woehlke
On 17/05/2019 13.47, Thiago Macieira wrote: > On Friday, 17 May 2019 10:25:15 PDT Matthew Woehlke wrote: >> IOW, I have some shared object owner by Thread 1 which is eventually >> deleted. In Thread 2, I want to queue a call to a slot on that object. > > Thread-safety does not apply while the obje

Re: [Interest] How build qtserialbus from GIT?

2019-05-17 Thread Denis Shienkov
Hi, just open it in QtCreator and build. Note: But as it is a Qt module, then you need in the Perl (e.g ActivePerl on Windows) && Python (v2) installed. BR, Denis 17.05.2019 17:37, Oleg Gavrilchenko пишет: I want add MODBUS ASCII mode to qtserialbus. How to build qtserialbus cloned from

Re: [Interest] QMetaObject::invokeMethod thread safety

2019-05-17 Thread Thiago Macieira
On Friday, 17 May 2019 10:25:15 PDT Matthew Woehlke wrote: > IOW, I have some shared object owner by Thread 1 which is eventually > deleted. In Thread 2, I want to queue a call to a slot on that object. Thread-safety does not apply while the object in question is being destroyed. > Historically I

[Interest] QMetaObject::invokeMethod thread safety

2019-05-17 Thread Matthew Woehlke
Yes, yes, I know the doc says it's thread safe, but I'm still not entirely sure about this particular example: QPointer foop; // global void bar1() { auto* foo = new Foo; foop = foo; QtConcurrent::run(&bar2); // ...later... delete foo; } void bar2() { QMetaOb

Re: [Interest] PySide2 installer for windows?

2019-05-17 Thread Bob Hood
They have (prematurely, imo) abandoned the combination of Windows + Python v2.7.  You will only be able to install PySide2 under Windows with Python v3.x now. Found that out recently when I too went looking for installers. On 5/16/2019 5:57 PM, Frank Rueter | OHUfx wrote: Hi all, we are try

Re: [Interest] How build qtserialbus from GIT?

2019-05-17 Thread Thiago Macieira
On Friday, 17 May 2019 07:37:34 PDT Oleg Gavrilchenko wrote: > I want add MODBUS ASCII mode to qtserialbus. How to build qtserialbus cloned > from git? qmake && make -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel System Software Products _

[Interest] How build qtserialbus from GIT?

2019-05-17 Thread Oleg Gavrilchenko
I want add MODBUS ASCII mode to qtserialbus. How to build qtserialbus cloned from git? ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] FW: How can I implement QModbusClient for MODBUS ASCII mode?

2019-05-17 Thread Oleg Gavrilchenko
I want write and add MODBUS ASCII code to Qt. I want implement QModbusClient subclass for this. I ask help me, how implement this class. -Original Message- From: Andre Hartmann [mailto:andre.hartm...@iseg-hv.de] Sent: Friday, May 17, 2019 1:12 PM To: Олег Гаврильченко Cc: Olivier B.; In

Re: [Interest] FW: How can I implement QModbusClient for MODBUS ASCII mode?

2019-05-17 Thread Andre Hartmann
Hi, Modbus ASCII support is tracked as https://bugreports.qt.io/browse/QTBUG-51751 You can comment and vote there for that feature. And of course, if you like, you can contribute the missing code to Qt. Regards, André Am 17.05.19 um 11:50 schrieb Olivier B.: I actually don't understand wh

Re: [Interest] FW: How can I implement QModbusClient for MODBUS ASCII mode?

2019-05-17 Thread Oleg Gavrilchenko
I want implement modbus ascii. I ask you to explain, how to implement QModbusClient subclass for MODBUS ASCII mode, Similar like QModbusRtuSerialMaster. I see QModbusRtuSerialMaster sources, but don't undertand cleary, how I can do it. -Original Message- From: Olivier B. [mailto:pers

Re: [Interest] FW: How can I implement QModbusClient for MODBUS ASCII mode?

2019-05-17 Thread Olivier B.
I actually don't understand what we can do for you if you don't know how to do it. Do you want us to implement it for you? You can use libmodbus and create classes around it. Or implement modbus ascii in pure Qt Le ven. 17 mai 2019 à 11:45, Олег Гаврильченко a écrit : > > > > -Original Messa

Re: [Interest] FW: How can I implement QModbusClient for MODBUS ASCII mode?

2019-05-17 Thread Олег Гаврильченко
-Original Message- From: Olivier B. [mailto:perso.olivier.barthel...@gmail.com] Sent: Friday, May 17, 2019 12:19 PM To: Олег Гаврильченко Cc: Interests Qt Subject: Re: [Interest] FW: How can I implement QModbusClient for MODBUS ASCII mode? https://doc.qt.io/qt-5/qtserialbus-modbus-mast

Re: [Interest] FW: How can I implement QModbusClient for MODBUS ASCII mode?

2019-05-17 Thread Olivier B.
https://doc.qt.io/qt-5/qtserialbus-modbus-master-example.html https://doc.qt.io/qt-5/qtserialbus-modbus-slave-example.html https://sourceforge.net/projects/qmodmaster/ Le ven. 17 mai 2019 à 11:10, Олег Гаврильченко a écrit : > > Hello. > > I want write QModbusClient/QModubsServer subclasses, that

Re: [Interest] FW: How can I implement QModbusClient for MODBUS ASCII mode?

2019-05-17 Thread Christian Gagneraud
On Fri, 17 May 2019 at 21:09, Олег Гаврильченко wrote: > > Hello. > > I want write QModbusClient/QModubsServer subclasses, that communicate via > MODBUS ASCII mode. Have you looked at https://doc.qt.io/qt-5/qtserialbus-index.html ? Eg. they have master/slave Modbus examples. Chris _

[Interest] FW: How can I implement QModbusClient for MODBUS ASCII mode?

2019-05-17 Thread Олег Гаврильченко
Hello. I want write QModbusClient/QModubsServer subclasses, that communicate via MODBUS ASCII mode. How can I make this? ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] QPainter::drawImage() is terrible at smooth scaling?

2019-05-17 Thread Allan Sandfeld Jensen
On Freitag, 17. Mai 2019 06:48:20 CEST David M. Cotter wrote: > is this a bug? > > https://forum.qt.io/topic/102637/qpainter-drawimage-is-terrible-at-smooth-sc > aling > Likes like you are downscaling more than 2x. QPainter is doing bilinear sampling when smooth scaling, and that produces bad re