If you don't want GLUT to be linked in as a fallback, compile with --no-glut
(See https://pymolwiki.org/index.php/Linux_Install#Compile_and_install )

Tcl/Tk could be loaded if there is an activated plugin which imports it. PyMOL 
does some trickery to provide the event loop for Tkinter from the PyQt thread 
to support old plugins.

Cheers,
  Thomas

> On Oct 16, 2018, at 6:59 PM, David Mathog <mat...@caltech.edu> wrote:
> 
> On 16-Oct-2018 00:07, Thomas Holder wrote:
>>> On Oct 15, 2018, at 9:38 PM, David Mathog <mat...@caltech.edu> wrote:
>>> There must be something about Qt that is a significant improvement over 
>>> Tk/Tcl - where/what is that?
>> It's not only Tk/Tcl, it's also GLUT which got replaced.
> 
> GLUT still seems to be there though, and the link libraries are loaded to 
> some extent even when Qt starts.
> 
> On Windows 7 ntldd shows _cmd.pyd linked to libfreeglut.dll.
> On linux (ubuntu 16.04 LTS) ldd shows _cmd.so linked to libglut.so.3.
> 
> Start the linux pymol, it finds and uses Qt, then:
> 
> lsof | grep glut
> python    3010            root  mem       REG        8,5       236564    
> 1978217 /usr/lib/i386-linux-gnu/libglut.so.3.9.0
> QXcbEvent 3010 3012       root  mem       REG        8,5       236564    
> 1978217 /usr/lib/i386-linux-gnu/libglut.so.3.9.0
> 
> lsof also shows
> 
> python    3010            root  mem       REG        8,5      1475144    
> 1975104 /usr/lib/i386-linux-gnu/libtk8.6.so
> QXcbEvent 3010 3012       root  mem       REG        8,5      1475144    
> 1975104 /usr/lib/i386-linux-gnu/libtk8.6.so
> 
> and it is clearly using Qt, so perhaps some of the libraries lsof/ldd show 
> are linked but are not called if Qt is used.
> 
>> So on the
>> pure "bug-fix list", we have:
>> - HiDPI support (we've seen unusable graphics on Intel/Windows)
>> - viewport size issues with multiple screens on Windows
>> On top of that, we get:
>> - trackpad support (pinch zoom)
>> - file open with drag-n-drop
> 
> Which of those fixes, if any, require Qt?
> 
> Thanks,
> 
> David Mathog
> mat...@caltech.edu
> Manager, Sequence Analysis Facility, Biology Division, Caltech

--
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.



_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to