Installation

Binary pacakges

Packages bundled with Qt Creator

To facilitate the usage, packages bundled with Qt Creator are available at http://epics.web.psi.ch/software/CSDataQuick/downloads. The packages are self-contained, including Qt libraries, EPICS base libraries, and a stripped down version of Qt Creator.

Anaconda Packages

Anaconda is a Python distribution. It provides a reproducible way to deploy binary packages, not limited to Python. This module provides packages for linux-64, win-64 and osx-64 platform.

$ conda install -c paulscherrerinstitute csdataquick

On Windows, if the module is not to be used by Python applications, the EPICS dll libraries have to be in path

> set PATH=%PATH%;C:\Miniconda3\epics\windows-x64

Dependencies

  • Qt 5.6 or higher
  • EPICS base 3.14.12 or higher
  • Git
  • cmake 2.8.10 or higher

On RHEL/Centos/SL 6.x, install qt5 from EPEL repository,

# yum install yum-conf-epel
# yum --enablerepo=epel install qt5-qtdeclarative-devel
# yum --enablerepo=epel install qt5-qtquickcontrols

In the following instructions, EPICS base is assumed to be in C:\epics\base-3.14.12 on Windows and /usr/local/epics/base on macOS or Linux. And the EPICS_BASE environment variable is pointing to it. The EPICS_HOST_ARCH environment variable is assumed to be

OSEPICS_HOST_ARCH
Windowswindows-x64
macOSdarwin-x86
Linuxlinux-x86_64

Note: If it is going to be used in Qt Quick Designer, different setup might be required on Windows.

macOS or Linux

  • Get the source from github
    $ git clone https://github.com/xiaoqiangwang/CSDataQuick
  • Create an out-of-source build directory
    $ mkdir CSDataQuick-build
    $ cd CSDataQuick-build
  • Use cmake to config the build
    $ cmake ../CSDataQuick
  • Start the build process
    $ make

Windows

  • Get the source from github
    > git clone https://github.com/xiaoqiangwang/CSDataQuick
  • Create an out-of-source build directory
    > mkdir CSDataQuick-build
    > cd CSDataQuick-build
  • Add Visual C++, Qt SDK, EPICS base to the PATH
    > set PATH=%PATH%;C:\Qt\5.9.4\msvc2015_64\bin;C:\epics\base-3.14.12\bin\windows-x64
    > call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
  • Use cmake to config the build
    > "C:\Program Files\CMake\bin\cmake" -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" ..\CSDataQuick
  • Start the build process
    > nmake