> Can you recompile root on afs and add the qtRoot?
This should not be needed.
QtRoot is a plugin and one should be able to use it against of any ROOT version.
> The installation it was ok, but the my application is crash.
Can you elaborate a little bit more? One needs to see you crash or even better one should be able to reproduce your issue to advise.
Best Regards
Valeri Fine
> -----Original Message-----
> From: Zoltan MATHE [mailto:Zoltan.Mathe_at_ucdconnect.ie]
> Sent: Wednesday, August 26, 2009 9:18 AM
> To: Fine, Valeri
> Cc: roottalk_at_root.cern.ch; qt-root-l_at_lists.bnl.gov; Rene.Brun_at_cern.ch
> Subject: Root + qtRoot installation problem in afs
>
> Hello,
> I have problem. I am trying to use ROOT+qtRoot from python. The afs
> install area the qtRoot is not installed. The following steps I did:
> I added to the .rootrc file the following lines:
> Gui.Style: windows
> Gui.Backend: qt
> Gui.Factory: qtgui
> Plugin.TGuiFactory: ^qtgui TQtGUIFactory QtRootGui
> "TQtGUIFactory()"
>
> I opened a new lxplus session and I did:
> [lxplus252] ~ > setenv ROOTSYS
> /afs/cern.ch/sw/lcg/app/releases/ROOT/5.22.00c/slc4_amd64_gcc34/root
> [lxplus252] ~ > set path=($ROOTSYS/bin $path)
> [lxplus252] ~ > setenv LD_LIBRARY_PATH
${LD_LIBRARY_PATH}:${ROOTSYS}/lib
> [lxplus252] ~ > setenv PYTHONPATH ${PYTHONPATH}:${ROOTSYS}/lib
> [lxplus252] ~ > python
> Python 2.5 (r25:51908, Oct 18 2007, 16:04:48)
> [GCC 3.4.6 20060404 (Red Hat 3.4.6-8)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sys
> >>>
> >>> from PyQt4.QtGui import *
> >>> from PyQt4.QtCore import *
> >>> import ROOT
> >>>
> >>> import sip
> >>> application = qApp
> >>> terminator = ROOT.TQtRootSlot.CintSlot()
> ** $Id: TGQt.cxx 26689 2008-12-06 07:03:04Z brun $ this=0x1782060
> Symbol font family found: Standard Symbols L
> Error in <TUnixSystem::DynamicPathName>: QtRootGui[.so | .sl | .dl |
.a
> | .dll] does not exist in
>
$(ROOTSYS)/cint/include:.:/afs/cern.ch/sw/lcg/app/releases/ROOT/5.22.00c
/s
>
lc4_amd64_gcc34/root/lib::/afs/cern.ch/lhcb/software/DEV/DAVINCI/DAVINCI
_v
>
24r1p1/InstallArea/slc4_amd64_gcc34/lib:/afs/cern.ch/lhcb/software/relea
se
>
s/HLT/HLT_v6r6/InstallArea/slc4_amd64_gcc34/lib:/afs/cern.ch/lhcb/softwa
re
>
/releases/LHCB/LHCB_v27r5/InstallArea/slc4_amd64_gcc34/lib:/afs/cern.ch/
sw
>
/Gaudi/releases/GAUDI/GAUDI_v21r3/InstallArea/slc4_amd64_gcc34/lib:/afs/
ce
>
rn.ch/lhcb/software/releases/REC/REC_v7r5/InstallArea/slc4_amd64_gcc34/l
ib
>
:/afs/cern.ch/lhcb/software/releases/PHYS/PHYS_v8r8/InstallArea/slc4_amd
64
>
_gcc34/lib:/afs/cern.ch/lhcb/software/releases/ANALYSIS/ANALYSIS_v3r8/In
st
>
allArea/slc4_amd64_gcc34/lib:/afs/cern.ch/lhcb/software/releases/LBCOM/L
BC
>
OM_v7r5/InstallArea/slc4_amd64_gcc34/lib:/afs/cern.ch/lhcb/software/rele
as
>
es/COMPAT/COMPAT_v1r2/CompatSys/slc4_amd64_gcc34/lib:/afs/cern.ch/sw/lcg
/e
>
xternal/qt/4.4.2/slc4_amd64_gcc34/lib:/afs/cern.ch/sw/lcg/external/casto
r/
> 2.1.7-
>
24/slc4_amd64_gcc34/usr/lib64:/afs/cern.ch/sw/lcg/external/Grid/myproxy/
3.
> 6-VDT-
>
1.6.0/slc4_amd64_gcc34/globus/lib:/afs/cern.ch/sw/lcg/external/Grid/gfal
/1
> .11.8-
>
2/slc4_amd64_gcc34/lib64:/afs/cern.ch/sw/lcg/external/tcmalloc/1.3/slc4_
am
>
d64_gcc34/lib:/afs/cern.ch/sw/lcg/app/releases/RELAX/RELAX_1_1_13b/slc4_
am
>
d64_gcc34/lib:/afs/cern.ch/sw/lcg/app/releases/POOL/POOL_2_9_1/slc4_amd6
4_
>
gcc34/lib:/afs/cern.ch/sw/lcg/external/pcre/4.4/slc4_amd64_gcc34/lib:/af
s/
>
cern.ch/sw/lcg/external/HepMC/2.03.09/slc4_amd64_gcc34/lib:/afs/cern.ch/
sw
> /lcg/external/Grid/globus/4.0.3-VDT-
>
1.6.0/slc4_amd64_gcc34/globus/lib:/afs/cern.ch/sw/lcg/external/oracle/10
.2
> .0.4-
>
full/slc4_amd64_gcc34/lib:/afs/cern.ch/sw/lcg/external/sqlite/3.6.8/slc4
_a
>
md64_gcc34/lib:/afs/cern.ch/sw/lcg/app/releases/COOL/COOL_2_8_1/slc4_amd
64
>
_gcc34/lib:/afs/cern.ch/sw/lcg/app/releases/CORAL/CORAL_2_3_1/slc4_amd64
_g
>
cc34/lib:/afs/cern.ch/sw/lcg/external/clhep/1.9.4.2/slc4_amd64_gcc34/lib
:/
>
afs/cern.ch/sw/lcg/external/XercesC/2.8.0/slc4_amd64_gcc34/lib:/afs/cern
.c
>
h/sw/lcg/external/uuid/1.38/slc4_amd64_gcc34/lib:/afs/cern.ch/sw/lcg/ext
er
>
nal/GSL/1.10/slc4_amd64_gcc34/lib:/afs/cern.ch/sw/lcg/external/Boost/1.3
9.
>
0_python2.5/slc4_amd64_gcc34/lib:/afs/cern.ch/sw/lcg/app/releases/ROOT/5
.2
> 2.00c/slc4_amd64_gcc34/root/lib:/afs/cern.ch/sw/lcg/external/Grid/dm-
> util/1.7.6-
> 1/slc4_amd64_gcc34/lib64:/afs/cern.ch/sw/lcg/external/Grid/cgsi-
> gsoap/1.3.3-
> 1/slc4_amd64_gcc34/lib64:/afs/cern.ch/sw/lcg/external/Grid/voms-api-
> cpp/1.8.9-
>
2/slc4_amd64_gcc34/lib64:/afs/cern.ch/sw/lcg/external/fftw3/3.1.2/slc4_a
md
> 64_gcc34/lib:/afs/cern.ch/sw/lcg/external/Grid/LFC/1.7.2-
> 1sec/slc4_amd64_gcc34/lib64:/afs/cern.ch/sw/lcg/external/Grid/lcg-dm-
> common/1.7.2-
>
1sec/slc4_amd64_gcc34/lib64:/afs/cern.ch/sw/lcg/external/Grid/voms-api-
> c/1.8.9-
>
2/slc4_amd64_gcc34/lib64:/afs/cern.ch/sw/lcg/external/Python/2.5/slc4_am
d6
>
4_gcc34/lib:/afs/cern.ch/sw/lcg/app/releases/ROOT/5.22.00c/slc4_amd64_gc
c3
>
4/root/lib:/afs/cern.ch/sw/lcg/app/releases/ROOT/5.22.00c/slc4_amd64_gcc
34
> /root/cint/cint/stl
> TClass::TClass:0: RuntimeWarning: no dictionary for class QObject is
> available
> >>> termAddress =
sip.wrapinstance(ROOT.AddressOf(terminator)[0],QObject)
> >>> QObject.connect(application,
> SIGNAL("lastWindowClosed()"),termAddress ,SLOT("Terminate()"))
> True
> >>>
>
> The problen is if I want to make a plots I can not because the library
> is missing.
> I installed the qtRoot layer. I followed the instructions from
> http://root.bnl.gov/QtRoot/How2Install4Unix.html link. The
installation
> it was ok, but the my application is crash.
>
> Can you recompile root on afs and add the qtRoot?
>
> Thanks,
> Zoltan
>
>
>
>
Received on Wed Aug 26 2009 - 15:35:31 CEST
This archive was generated by hypermail 2.2.0 : Fri Aug 28 2009 - 05:50:04 CEST