<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">What X error is Qt getting? &nbsp;Presumably, you'd need the Qt developers' help in learning that. &nbsp;Maybe Qt has a verbose logging setting. &nbsp;Which selection is it using?<div class=""><br class=""></div><div class="">They asked about the ssh X11 forwarding configuration. &nbsp;That would be useful for us, too.</div><div class=""><br class=""></div><div class="">Did you try installing xsel on the Linux system and running it with a Mac as the X server? &nbsp;What were the results?</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Ken</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 12, 2016, at 1:26 PM, <a href="mailto:from@alumni.stanford.edu" class="">from@alumni.stanford.edu</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><br class=""></div>Dear XQuartz Developers,<div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">My class is using XQuartz 2.7.8.</div><div class="">We are logging into RHEL 6 using ssh -Y forwarding (problem also with -X).</div><div class="">Our system has Qt5 version 5.4.0 and libX11 version 1.6.3.</div><div class=""><br class=""></div><div class="">I can provide you with any other information you need.</div><div class=""><br class=""></div><div class="">Our students with Linux and Windows laptops aren't having any problem, just those with Macs using XQuartz.</div><div class=""><br class=""></div><div class="">I would greatly appreciate your help in fixing the problem. This is week 3 of our 10-week quarter.</div><div class=""><br class=""></div><div class="">Many thanks,</div><div class=""><br class=""></div><div class="">Bill</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">On Apr 12, 2016, at 10:22 AM, Thiago Macieira &lt;<a href="mailto:thiago.macieira@intel.com" class="">thiago.macieira@intel.com</a>&gt; wrote:<br class=""><br class="">Interesting.<br class=""><br class="">Well, looking at the source code, it seems that Qt is simply trying to set the&nbsp;<br class="">selection owner for the given atom and failing. I see no reason *how* this can&nbsp;<br class="">be Qt's fault.<br class=""><br class="">Have you reported this as a bug? If not, please do and explain that it happens&nbsp;<br class="">when ssh'ing from a Mac machine using XQuartz to a Linux one. Please include&nbsp;<br class="">the SSH X11 forwarding configuration you're using (-X or -Y option or whatever)&nbsp;<br class="">and whether other, non-Qt5 applications can set the clipboard. A good test is&nbsp;<br class="">to run the xsel tool to get and set the clipboards.<br class=""><br class="">--&nbsp;<br class="">Thiago Macieira - thiago.macieira (AT) <a href="http://intel.com/" class="">intel.com</a><br class="">&nbsp;Software Architect - Intel Open Source Technology Center<br class=""><br class=""><div class=""><blockquote type="cite" style="font-family:Helvetica;font-size:12px;line-height:normal" class="">On Apr 8, 2016, at 6:12 PM, Jeremy Huddleston Sequoia &lt;<a href="mailto:jeremyhu@apple.com" class="">jeremyhu@apple.com</a>&gt; wrote:<br class=""><br class="">Those look like errors coming out of Qt, so I'd certainly start with a Qt mailing list.<br class=""><br class=""><blockquote type="cite" class="">On Apr 8, 2016, at 14:57, <a href="mailto:from@alumni.stanford.edu" class="">from@alumni.stanford.edu</a> wrote:<br class=""><br class=""><br class="">Dear XQuartz Developers,<br class=""><br class="">I'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&nbsp;and Linux laptops are able to view the GUI just fine, but the students with Macs using XQuartz (the majority) are having problems.<br class=""><br class="">In particular, when the students try to do a copy, they get the error message<br class=""><br class="">QXcbClipboard::setMimeData: Cannot set X11 selection owner<br class=""><br class="">and the copy doesn't work. When they quit the application, they get the additional message<br class=""><br class="">QApplication::qAppName: Please instantiate the QApplication object first<br class=""><br class="">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 class=""><br class="">Many thanks!<br class=""><br class="">Bill<br class=""><br class=""><br class=""><br class="">_______________________________________________<br class="">Xquartz-dev mailing list<br class=""><a href="mailto:Xquartz-dev@lists.macosforge.org" class="">Xquartz-dev@lists.macosforge.org</a><br class=""><a href="https://lists.macosforge.org/mailman/listinfo/xquartz-dev" class="">https://lists.macosforge.org/mailman/listinfo/xquartz-dev</a><br class=""></blockquote><br class=""><br class="">_______________________________________________<br class="">Xquartz-dev mailing list<br class=""><a href="mailto:Xquartz-dev@lists.macosforge.org" class="">Xquartz-dev@lists.macosforge.org</a><br class=""><a href="https://lists.macosforge.org/mailman/listinfo/xquartz-dev" class="">https://lists.macosforge.org/mailman/listinfo/xquartz-dev</a></blockquote></div></div></div>
<br class="">_______________________________________________<br class="">Xquartz-dev mailing list<br class=""><a href="mailto:Xquartz-dev@lists.macosforge.org" class="">Xquartz-dev@lists.macosforge.org</a><br class="">https://lists.macosforge.org/mailman/listinfo/xquartz-dev<br class=""></div></blockquote></div><br class=""></div></body></html>