> On 22 Jun 2016, at 09:17, Shawn Rutledge <shawn.rutle...@qt.io> wrote:
> 
> 
>> On 21 Jun 2016, at 21:26, Thiago Macieira <thiago.macie...@intel.com> wrote:
>> 
>> On terça-feira, 21 de junho de 2016 18:02:05 PDT Morten Sorvig wrote:
>>> I think using screen names can be a good match for cases where you are
>>> sometimes connecting to external screens, provided that the string returned
>>> by name() is unique for each screen.
>> 
>> It's not. It's always "DP-1" (it reports the connection, not the monitor).
> 
> So far that’s a difference between OS X (which reports the monitor’s model 
> name) and Linux (which reports the output name).  If we could get both, on 
> all OSes (which I’m not sure of), maybe we could format it like “SyncMaster 
> on HDMI-1” or some such.


I was unable to find any API for getting the make or model of the monitor.
Someone who is more familiar with XCB could give the authoritative answer
here.

If this is indeed impossible then users with multiple monitor setups have
to manually maintain multiple QT_SCREEN_SCALE_FACTORS configs, based on
either screen index or connection name.

Morten



_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to