Hi,
> Can you recompile root on afs and add the qtRoot? No need to recompile ROOT, ROOT on afs has been build with Qt4.4.2 support (libQtRoot.so and libGQt.so are already in $ROOTSYS/lib)
You may have to set the following environment variables: setenv QTDIR /afs/cern.ch/sw/lcg/external/qt/4.4.2/slc4_amd64_gcc34 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${QTDIR}/lib
Cheers, Bertrand.
-----Original Message-----
From: qt-root-l-bounces_at_lists.bnl.gov
[mailto:qt-root-l-bounces_at_lists.bnl.gov] On Behalf Of Qt-Root
integration project
Sent: Wednesday, August 26, 2009 15:18
To: Valeri Fayn
Cc: Rene Brun; roottalk_at_root.cern.ch; qt-root-l_at_lists.bnl.gov
Subject: [Qt-root-l] 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
r/lib64:/afs/cern.ch/sw/lcg/external/Grid/myproxy/3.6-VDT-1.6.0/slc4_amd 64_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_amd64_
gcc34/lib:/afs/cern.ch/sw/lcg/app/releases/RELAX/RELAX_1_1_13b/slc4_amd6 4_gcc34/lib:/afs/cern.ch/sw/lcg/app/releases/POOL/POOL_2_9_1/slc4_amd64_ gcc34/lib:/afs/cern.ch/sw/lcg/external/pcre/4.4/slc4_amd64_gcc34/lib:/afs/cern.ch/sw/lcg/external/HepMC/2.03.09/slc4_amd64_gcc34/lib:/afs/cern.c h/sw/lcg/external/Grid/globus/4.0.3-VDT-1.6.0/slc4_amd64_gcc34/globus/li b:/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_amd64_gcc34/lib:/afs/cer
n.ch/sw/lcg/app/releases/COOL/COOL_2_8_1/slc4_amd64_gcc34/lib:/afs/cern. ch/sw/lcg/app/releases/CORAL/CORAL_2_3_1/slc4_amd64_gcc34/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/ce
rn.ch/sw/lcg/external/uuid/1.38/slc4_amd64_gcc34/lib:/afs/cern.ch/sw/lcg
/external/GSL/1.10/slc4_amd64_gcc34/lib:/afs/cern.ch/sw/lcg/external/Boo
st/1.39.0_python2.5/slc4_amd64_gcc34/lib:/afs/cern.ch/sw/lcg/app/release
s/ROOT/5.22.00c/slc4_amd64_gcc34/root/lib:/afs/cern.ch/sw/lcg/external/G
rid/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/exter
nal/Grid/voms-api-cpp/1.8.9-2/slc4_amd64_gcc34/lib64:/afs/cern.ch/sw/lcg
/external/fftw3/3.1.2/slc4_amd64_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_amd64_gcc34/lib:/afs/cern.ch/sw/lcg/app/re
leases/ROOT/5.22.00c/slc4_amd64_gcc34/root/lib:/afs/cern.ch/sw/lcg/app/r
eleases/ROOT/5.22.00c/slc4_amd64_gcc34/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
This archive was generated by hypermail 2.2.0 : Wed Aug 26 2009 - 17:50:02 CEST