QtDM

From CLONWiki
Jump to navigation Jump to search

EPICS-related package, replacing MEDM with Qt-based GUIs. Contains parser adl2ui converting *.adl medm GUIs to *.ui Qt GUIs. Obtained from site http://epics.web.psi.ch/software/caqtdm/.

Downloaded caQtDM_3_2_1, sources and build scripts only from that website, saved it as /usr/local/downloads/QtDM_Package_3_2_1.tar.gz, and did following steps to install:

  • mkdir /apps/QtDM_3.2.1
  • cd /apps/QtDM_3.2.1
  • cp /usr/local/downloads/QtDM_Package_3_2_1.tar.gz .
  • gunzip QtDM_Package_3_2_1.tar.gz
  • tar xvf QtDM_Package_3_2_1.tar
  • rm QtDM_Package_3_2_1.tar
setenv QTHOME /apps/Trolltech/Qt-4.8.4
setenv QWTHOME /apps/Trolltech/qwt-6.0.0
setenv QWTINCLUDE /apps/Trolltech/qwt-6.0.0/src
setenv QWTLIB /apps/Trolltech/qwt-6.0.0/lib 
#EPICS_BASE now defined as /usr/local/clas/clas12/R3.14.12.3/base for locating epics
#EPICSINCLUDE now defined as /usr/local/clas/clas12/R3.14.12.3/base/include for locating epics include files
#EPICSLIB now defined as /usr/local/clas/clas12/R3.14.12.3/base/lib/linux-x86 for locating epics libraries
#QTBASE now defined as /usr/local/clas/clas12/R3.14.12.3/zzz/caQtDM_Binaries for building the package locally,pointing to caQtDM_Binaries
#QTDM_RPATH now defined as /usr/local/epics/extensions/lib/linux-x86:/usr/local/clas/clas12/R3.14.12.3/zzz/caQtDM_Binaries for runtime search path
setenv EPICSEXTENSIONS /misc/clas/clas12/R3.14.12.3/zzz/AAA/extensions
setenv QTDM_LIBINSTALL /misc/clas/clas12/R3.14.12.3/zzz/AAA/extensions/lib/linux-x86
setenv QTDM_BININSTALL /misc/clas/clas12/R3.14.12.3/zzz/AAA/extensions/bin/linux-x86
setenv PATH /misc/clas/clas12/R3.14.12.3/zzz/AAA/extensions/bin/linux-x86:"$PATH" 
##setenv CAQTDM_DISPLAY_PATH /misc/clas/clas12/R3.14.12.3/zzz/caQtDM/parser
setenv CAQTDM_DISPLAY_PATH /misc/clas/clas12/R3.14.12.3/zzz/caQtDM_Tests
# to build: ./caQtDM_BuildAll
# to run: ./startDM_Local