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 support for Python 2 left, until it EOLs,
after a 5 year extension. Everyone has migrated their business critical
applications to Python 3 by now, right?




Well, to me "7 and a half months...left" is not EOL, and I don't know 
precisely when Python v2/Windows support was jettisoned, but you can add that 
difference to the duration as well.That's how I personally define "prematurely."


But the decision is made; I'm not instigating a brush war over it.  I'm not 
invested in PySide2, and neither are my customers. It was just going to be a 
convenience for them as long as we continued to support Python v2.  Now it won't.


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


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 a 5 year extension. Everyone has migrated their business critical 
applications to Python 3 by now, right?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products



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


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 object in question is being destroyed.
> [...]
> So, no, you can't race against the object's destruction. Ensure that the 
> destructor has not begun running when you post an event or make a metacall or 
> basically anything else.

Okay, thanks for confirming!

I will continue to use a shared pointer to the object in question; that
way the invokeMethod caller/thread owns a reference to the object
ensuring it can't be destroyed until invokeMethod completes.

-- 
Matthew
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


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 git?



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


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 have used a shared pointer to pass the object between
> threads, because I *know* that is safe (the call will be queued before
> the object can possibly be deleted; if it gets deleted before the queued
> call dispatches, that's okay; I just care that the program doesn't crash
> / corrupt memory / eat kittens). If, OTOH, I were to use a bare pointer,
> I *know* that is unsafe, because I have no guarantee the object still
> exists (or, worse, that the pointer now refers to some other object)
> when I go to queue the call.

Right.

> What's less clear (without trying to dig through the guts of Qt's event
> queuing at least) is; in something like the above, is invokeMethod is
> guaranteed to be able to queue the call successfully if another thread
> deletes the target object some time between the start of the call to
> invokeMethod and when the event is fully created on Foo's thread's event
> queue (at which point it is "safe")?

It's not safe. Let me simplify further. The last thing that 
QMetaMethod::invoke does when queuing a call is:

QCoreApplication::postEvent(object, new QMetaCallEvent(...));

But postEvent() still needs to inspect the receiver to find out which thread 
it is associated with, so it can add the event to that thread's posted event 
queue. So your code must guarantee that the object in question is still a 
valid QObject while postEvent() runs.

So, no, you can't race against the object's destruction. Ensure that the 
destructor has not begun running when you post an event or make a metacall or 
basically anything else.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products



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


[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();

// ...later...
delete foo;
  }

  void bar2()
  {
QMetaObject::invokeMethod(foop, ::whatever, ...);
  }

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.

Historically I have used a shared pointer to pass the object between
threads, because I *know* that is safe (the call will be queued before
the object can possibly be deleted; if it gets deleted before the queued
call dispatches, that's okay; I just care that the program doesn't crash
/ corrupt memory / eat kittens). If, OTOH, I were to use a bare pointer,
I *know* that is unsafe, because I have no guarantee the object still
exists (or, worse, that the pointer now refers to some other object)
when I go to queue the call.

What's less clear (without trying to dig through the guts of Qt's event
queuing at least) is; in something like the above, is invokeMethod is
guaranteed to be able to queue the call successfully if another thread
deletes the target object some time between the start of the call to
invokeMethod and when the event is fully created on Foo's thread's event
queue (at which point it is "safe")?

In fact, given that invokeMethod takes a QObject* and not a QPointer, I
think the answer is that it *can't* be fully thread-safe? (If the caller
does not own the target object, how could Qt prevent the passed-in
pointer from being destroyed and recycled between the caller obtaining
the QObject* from the QPointer and the first instruction of invokeMethod
executing?)

-- 
Matthew
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


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 trying to install PySide2 on Windows 10.
We tried installers from here
http://download.qt.io/snapshots/ci/pyside/5.9/latest/pyside2/
and here
http://download.qt.io/snapshots/ci/pyside/5.12/latest/pyside2/

But neither seem to work.
I remember just running a pip install last December:
pip install -v 
--index-url=http://download.qt.io/snapshots/ci/pyside/5.9/latest/ pyside2 
--trusted-host download.qt.io


But that does not find any installer anymore either.
So I tried this:
pip install -v 
--index-url=http://download.qt.io/snapshots/ci/pyside/5.12/latest/ pyside2 
--trusted-host download.qt.io


and just got an error:

ERROR: Could not find a version that satisfies the requirement pyside2 (from 
versions: none)

Cleaning up...
Removed build tracker 
'c:\\users\\render\\appdata\\local\\temp\\pip-req-tracker-mjz7ju'

ERROR: No matching distribution found for pyside2


What am I missing?

Cheers,
frank

--

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
https://lists.qt-project.org/listinfo/interest


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


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 mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[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.; Interests Qt
Subject: Re: [Interest] FW: How can I implement QModbusClient for MODBUS ASCII 
mode?

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 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 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-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 communicate via 
>>> MODBUS ASCII mode.
>>>
>>> How can I make this?
>>>
>>> ___
>>> Interest mailing list
>>> Interest@qt-project.org
>>> https://lists.qt-project.org/listinfo/interest
>> You probably don't understand me. I see all this examples. All example use 
>> MODBUS RTU or MODUBS TCP protocol.
>> Only this protocols realized in QT in classes QModbusRtuSerialMaster and 
>> QModbusRtuSerialMaster. But I want to communicate via MODBUS ASDII mode.
>> MODBUS ASII mode not implement in QT. I asked, how I can make it?
>>
>> ___
>> Interest mailing list
>> Interest@qt-project.org
>> https://lists.qt-project.org/listinfo/interest
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
> 


--
Dipl.-Ing. (FH) André Hartmann
Softwareentwicklung / Software Development

E-Mail: andre.hartm...@iseg-hv.de | Tel: +49 351 26996-43 | Fax: +49 351
26996-21

iseg Spezialelektronik GmbH - HIGH VOLTAGE. EXACTLY.
iseg-hv.de | iseg-hv.com | download.iseg-hv.com

Bautzner Landstr. 23, 01454 Radeberg / Rossendorf, Germany Geschäftsführer / 
Managing directors: Dr. Frank Gleisberg, Dr. Joachim Pöthig Amtsgericht / Lower 
district court: Dresden HRB 16250
Umsatzsteuer-Id: / VAT-ID: DE812508942

News / Information
https://iseg-hv.com/en/products/control#isegControl2 isegControl2 - Unified 
Control Software https://iseg-hv.com/en/products/detail/EHS EHS FLEX - 
Customize and keep the price https://iseg-hv.com/en/products/detail/EHS EHS 
STACK - Perfect for GEM Detectors 
https://iseg-hv.com/files/iseg-high-voltage-power-supplies.pdf NEW! 
Product catalog 2017 / 2018 released
https://iseg-hv.com/en/products/detail/NHR NHR - NIM HV-Supply with reversible 
polarity

Links
https://www.linkedin.com/company/12726924 iseg on LINKEDIN | Let's stay 
connected!
https://www.youtube.com/channel/UC5AL-ZgOqSim_1gYNnndyzQ iseg on YOUTUBE 
| Tutorials and more ...
https://www.twitter.com/iseg_hv iseg on TWITTER | please follow!
https://iseg-hv.com/files/iseg-high-voltage-power-supplies.pdf iseg CATALOG | 
download product catalog as PDF http://download.iseg-hv.com/ iseg DOWNLOADS | 
manuals, software, firmware and more...

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.

___
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 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 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 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-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 communicate via 
MODBUS ASCII mode.

How can I make this?

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

You probably don't understand me. I see all this examples. All example use 
MODBUS RTU or MODUBS TCP protocol.
Only this protocols realized in QT in classes QModbusRtuSerialMaster and 
QModbusRtuSerialMaster. But I want to communicate via MODBUS ASDII mode.
MODBUS ASII mode not implement in QT. I asked, how I can make it?

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

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




--
Dipl.-Ing. (FH) André Hartmann
Softwareentwicklung / Software Development

E-Mail: andre.hartm...@iseg-hv.de | Tel: +49 351 26996-43 | Fax: +49 351 
26996-21


iseg Spezialelektronik GmbH - HIGH VOLTAGE. EXACTLY.
iseg-hv.de | iseg-hv.com | download.iseg-hv.com

Bautzner Landstr. 23, 01454 Radeberg / Rossendorf, Germany
Geschäftsführer / Managing directors: Dr. Frank Gleisberg, Dr. Joachim 
Pöthig

Amtsgericht / Lower district court: Dresden HRB 16250
Umsatzsteuer-Id: / VAT-ID: DE812508942

News / Information
https://iseg-hv.com/en/products/control#isegControl2 isegControl2 - 
Unified Control Software
https://iseg-hv.com/en/products/detail/EHS EHS FLEX - Customize and keep 
the price
https://iseg-hv.com/en/products/detail/EHS EHS STACK - Perfect for GEM 
Detectors
https://iseg-hv.com/files/iseg-high-voltage-power-supplies.pdf NEW! 
Product catalog 2017 / 2018 released
https://iseg-hv.com/en/products/detail/NHR NHR - NIM HV-Supply with 
reversible polarity


Links
https://www.linkedin.com/company/12726924 iseg on LINKEDIN | Let's stay 
connected!
https://www.youtube.com/channel/UC5AL-ZgOqSim_1gYNnndyzQ iseg on YOUTUBE 
| Tutorials and more ...

https://www.twitter.com/iseg_hv iseg on TWITTER | please follow!
https://iseg-hv.com/files/iseg-high-voltage-power-supplies.pdf iseg 
CATALOG | download product catalog as PDF
http://download.iseg-hv.com/ iseg DOWNLOADS | manuals, software, 
firmware and more...


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen. Wenn Sie nicht der richtige
Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren 
Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
Weitergabe dieser Mail ist nicht

gestattet.

This e-mail may contain confidential and/or privileged information. If 
you are not the intended recipient
(or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the material in 
this e-mail is strictly forbidden.

___
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 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:perso.olivier.barthel...@gmail.com] 
Sent: Friday, May 17, 2019 12:50 PM
To: Олег Гаврильченко
Cc: Interests Qt
Subject: Re: [Interest] FW: How can I implement QModbusClient for MODBUS ASCII 
mode?

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 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-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 communicate via 
> > MODBUS ASCII mode.
> >
> > How can I make this?
> >
> > ___
> > Interest mailing list
> > Interest@qt-project.org
> > https://lists.qt-project.org/listinfo/interest
> You probably don't understand me. I see all this examples. All example use 
> MODBUS RTU or MODUBS TCP protocol.
> Only this protocols realized in QT in classes QModbusRtuSerialMaster and 
> QModbusRtuSerialMaster. But I want to communicate via MODBUS ASDII mode.
> MODBUS ASII mode not implement in QT. I asked, how I can make it?
>
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest

___
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 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 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-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 communicate via 
> > MODBUS ASCII mode.
> >
> > How can I make this?
> >
> > ___
> > Interest mailing list
> > Interest@qt-project.org
> > https://lists.qt-project.org/listinfo/interest
> You probably don't understand me. I see all this examples. All example use 
> MODBUS RTU or MODUBS TCP protocol.
> Only this protocols realized in QT in classes QModbusRtuSerialMaster and 
> QModbusRtuSerialMaster. But I want to communicate via MODBUS ASDII mode.
> MODBUS ASII mode not implement in QT. I asked, how I can make it?
>
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
___
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 Олег Гаврильченко


-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-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 communicate via 
> MODBUS ASCII mode.
>
> How can I make this?
>
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
You probably don't understand me. I see all this examples. All example use 
MODBUS RTU or MODUBS TCP protocol. 
Only this protocols realized in QT in classes QModbusRtuSerialMaster and 
QModbusRtuSerialMaster. But I want to communicate via MODBUS ASDII mode.
MODBUS ASII mode not implement in QT. I asked, how I can make it?

___
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 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 communicate via 
> MODBUS ASCII mode.
>
> How can I make this?
>
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
___
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 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 mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[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 results at 2x downscaling. 
QImage::smoothScaled() uses a slower box scaling algorithm that works at even 
the most aggressive downscaling.

'Allan


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


Re: [Interest] [PySide] PySide2 installer for windows?

2019-05-17 Thread Alexandru Croitor
if you check https://pypi.org/project/PySide2/5.11.0a1.dev1530776631953/#files 
you'll see that even the very first release on pypi.org didn't 
have the win32 py27 windows wheels.

Most likely you installed those from 
http://download.qt.io/snapshots/ci/pyside/5.9/latest/pyside2/ at some point.

On 17. May 2019, at 07:37, Fredrik Averpil 
mailto:fred...@averpil.com>> wrote:

Jordan,

Do you know which was the last pip-installable version compatible with 2.7?

___
PySide mailing list
pys...@qt-project.org
https://lists.qt-project.org/listinfo/pyside

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