<div dir="ltr"><div><br></div>Dear XQuartz Developers,<div><br></div><div>I followed your advice and emailed the Qt mailing list. They looked at the source code and are quite confident the the problem is with XQuartz.</div><div><br></div><div>My class is using XQuartz 2.7.8.</div><div>We are logging into RHEL 6 using ssh -Y forwarding (problem also with -X).</div><div>Our system has Qt5 version 5.4.0 and libX11 version 1.6.3.</div><div><br></div><div>I can provide you with any other information you need.</div><div><br></div><div>Our students with Linux and Windows laptops aren&#39;t having any problem, just those with Macs using XQuartz.</div><div><br></div><div>I would greatly appreciate your help in fixing the problem. This is week 3 of our 10-week quarter.</div><div><br></div><div>Many thanks,</div><div><br></div><div>Bill</div><div><br></div><div><br></div><div>On Apr 12, 2016, at 10:22 AM, Thiago Macieira &lt;<a href="mailto:thiago.macieira@intel.com">thiago.macieira@intel.com</a>&gt; wrote:<br><br>Interesting.<br><br>Well, looking at the source code, it seems that Qt is simply trying to set the <br>selection owner for the given atom and failing. I see no reason *how* this can <br>be Qt&#39;s fault.<br><br>Have you reported this as a bug? If not, please do and explain that it happens <br>when ssh&#39;ing from a Mac machine using XQuartz to a Linux one. Please include <br>the SSH X11 forwarding configuration you&#39;re using (-X or -Y option or whatever) <br>and whether other, non-Qt5 applications can set the clipboard. A good test is <br>to run the xsel tool to get and set the clipboards.<br><br>-- <br>Thiago Macieira - thiago.macieira (AT) <a href="http://intel.com">intel.com</a><br> Software Architect - Intel Open Source Technology Center<br><br><div><blockquote type="cite" style="font-family:Helvetica;font-size:12px;line-height:normal">On Apr 8, 2016, at 6:12 PM, Jeremy Huddleston Sequoia &lt;<a href="mailto:jeremyhu@apple.com">jeremyhu@apple.com</a>&gt; wrote:<br><br>Those look like errors coming out of Qt, so I&#39;d certainly start with a Qt mailing list.<br><br><blockquote type="cite" class="">On Apr 8, 2016, at 14:57, <a href="mailto:from@alumni.stanford.edu">from@alumni.stanford.edu</a> wrote:<br><br><br>Dear XQuartz Developers,<br><br>I&#39;m teach a class this quarter at Stanford where the main software package we are using is running on Linux (RHEL 6). The application uses Qt5. The students with Windows and Linux laptops are able to view the GUI just fine, but the students with Macs using XQuartz (the majority) are having problems.<br><br>In particular, when the students try to do a copy, they get the error message<br><br>QXcbClipboard::setMimeData: Cannot set X11 selection owner<br><br>and the copy doesn&#39;t work. When they quit the application, they get the additional message<br><br>QApplication::qAppName: Please instantiate the QApplication object first<br><br>Do any of you have any ideas on how we could fix this? Not being able to copy is a big disadvantage to code development.<br><br>Many thanks!<br><br>Bill<br><br><br><br>_______________________________________________<br>Xquartz-dev mailing list<br><a href="mailto:Xquartz-dev@lists.macosforge.org">Xquartz-dev@lists.macosforge.org</a><br><a href="https://lists.macosforge.org/mailman/listinfo/xquartz-dev">https://lists.macosforge.org/mailman/listinfo/xquartz-dev</a><br></blockquote><br><br>_______________________________________________<br>Xquartz-dev mailing list<br><a href="mailto:Xquartz-dev@lists.macosforge.org">Xquartz-dev@lists.macosforge.org</a><br><a href="https://lists.macosforge.org/mailman/listinfo/xquartz-dev">https://lists.macosforge.org/mailman/listinfo/xquartz-dev</a></blockquote></div></div></div>