XDS-Viewer: Difference between revisions

From XDSwiki
Jump to navigation Jump to search
(Qt5 source and binaries (Thomas Hauß, HZB))
(make the Qt5 version the default for Linux.)
Line 3: Line 3:
Source code adapted to Qt5 is available as [https://{{SERVERNAME}}/pub/xds-viewer-0.7.tar.gz] (Thomas Hauß, HZB).
Source code adapted to Qt5 is available as [https://{{SERVERNAME}}/pub/xds-viewer-0.7.tar.gz] (Thomas Hauß, HZB).


To compile the program (version 0.6) for RedHat Enterprise Linux version 6 (or rather, for its CentOS equivalents), use the following recipe:
To compile the program, use the following recipe:


  wget http://downloads.sourceforge.net/xds-viewer/xds-viewer-0.6.tar.gz
  wget http://downloads.sourceforge.net/xds-viewer/xds-viewer-0.6.tar.gz
  tar xf xds-viewer-0.6.tar.gz
  tar xf xds-viewer-0.6.tar.gz
  cd xds-viewer-0.6
  cd xds-viewer-0.6
  sh compile.sh  
  sh compile.sh  
  # If this complains about missing tools or libraries, use e.g. "yum search cmake"  
  # If this complains about missing tools or libraries, use e.g. "yum search cmake"  
  # I had to "yum install cmake qt-devel"
  # I had to "yum install cmake qt-devel"
# on CentOS6 I had to install and use cmake3 instead of cmake
# installation of the 0.7 version works in the same way


The following patch makes the x and y values fit into the upper right window:
The following patch makes the x and y values fit into the upper right window:
Line 26: Line 28:
               <strikeout>false</strikeout>
               <strikeout>false</strikeout>


Linux binaries are available at https://{{SERVERNAME}}/pub/linux_bin . The latest and recommended one is a Qt5 Linux [https://{{SERVERNAME}}/pub/linux_bin/xds-viewer-qt5 binary] compiled on openSuse42.3 by Thomas Hauß (HZB). After downloading, it should be renamed to xds-viewer.  
Linux binaries are available at https://{{SERVERNAME}}/pub/linux_bin . The default one is a [https://{{SERVERNAME}}/pub/linux_bin/XDS-viewer Qt5 binary] (a Qt4 binary is available as XDS-viewer.qt4).


A [https://{{SERVERNAME}}/pub/mac_bin/XDS-Viewer-macOS10.15.dmg binary] for MacOS 10.15 was also made available by Thomas Hauß (HZB).
A [https://{{SERVERNAME}}/pub/mac_bin/XDS-Viewer-macOS10.15.dmg Qt5 binary] for MacOS 10.15 and newer was also made available by Thomas Hauß (HZB). The old Qt4 XDS-Viewer-0.6.dmg is still the default; so Mac users must decide which one is appropriate.


==Binaries at the sourceforge site==
==Binaries at the sourceforge site==

Revision as of 17:56, 9 November 2020

XDS-viewer is a open source program that was written by Michael Hoffer (Kabsch lab). It replaces the now obsolete VIEW program, and is available from http://xds-viewer.sourceforge.net/ .

Source code adapted to Qt5 is available as [1] (Thomas Hauß, HZB).

To compile the program, use the following recipe:

wget http://downloads.sourceforge.net/xds-viewer/xds-viewer-0.6.tar.gz
tar xf xds-viewer-0.6.tar.gz
cd xds-viewer-0.6
sh compile.sh 
# If this complains about missing tools or libraries, use e.g. "yum search cmake" 
# I had to "yum install cmake qt-devel"
# on CentOS6 I had to install and use cmake3 instead of cmake 
# installation of the 0.7 version works in the same way

The following patch makes the x and y values fit into the upper right window:

--- xds-viewer-old/src/mainwindow.ui    2009-03-08 15:00:55.000000000 +0100
+++ xds-viewer-new/src/mainwindow.ui    2009-03-05 22:22:37.000000000 +0100
@@ -142,7 +142,7 @@
            <property name="font" >
             
              <family>Monospace</family>
-             <pointsize>12</pointsize>
+             <pointsize>11</pointsize>
              <weight>75</weight>
              <bold>true</bold>
              <strikeout>false</strikeout>

Linux binaries are available at https://wiki.uni-konstanz.de/pub/linux_bin . The default one is a Qt5 binary (a Qt4 binary is available as XDS-viewer.qt4).

A Qt5 binary for MacOS 10.15 and newer was also made available by Thomas Hauß (HZB). The old Qt4 XDS-Viewer-0.6.dmg is still the default; so Mac users must decide which one is appropriate.

Binaries at the sourceforge site

These binaries are really old.

See also

Installation