I’m writing GUI. On my local computer with CERN SL4 linux and Qt 3.3 everything goes fine. But some of my collaborators want to use it on lxplus. And there I cannot link the project. The problem is the same like if you copy&paste HelloCanvas.cxx and HelloCanvas.pro from page 413, chapter 27 of User’s guide. qmake phase finishes OK, compilation as well but linking fails with
/afs/cern.ch/sw/lcg/external/root/5.13.02/slc3_ia32_gcc323_dbg/root/lib/libGQt.so: undefined reference to `QWidget::repaint(bool)'
Could you please give me an advice? Thank you in advance,
You are welcome - I am glad that the problem is solved. I am adding the settings I have used:setenv ROOTSYS /afs/cern.ch/sw/lcg/external/root/5.13.02/slc3_ia32_gcc323_dbg/root
setenv QTDIR /afs/cern.ch/sw/lcg/external/qt/3.3.4/slc3_gcc323
setenv LD_LIBRARY_PATH .:$ROOTSYS/lib:$QTDIR/libCheers, Ilka