Qt in cern
This is the command to compile in Cern the Qt tutorial programs:
setenv LD_LIBRARY_PATH "/usr/local/gcc-alt-2.95.2/lib:/afs/cern.ch/sw/lhcxx/specific/redhat61/gcc-2.95.2/Qt/2.2.4/lib:/usr/local/gcc-alt-2.95.2/lib/"
g++ -o qtut qtut.cc -L/afs/cern.ch/sw/lhcxx/specific/redhat61/gcc-2.95.2/Qt/2.2.4/lib -I/afs/cern.ch/sw/lhcxx/specific/redhat61/gcc-2.95.2/Qt/2.2.4/include -lqt
to preprocess header files with macro:
/afs/cern.ch/sw/lhcxx/specific/redhat61/gcc-2.95.2/Qt/2.2.4/bin/moc lcdrange.h > lcdrange1.h
In the implementation now you must include lcdrange1.h:note that both lcdrange.h and lcdrange1.h are needed.
Page author Giuseppe Zito: zito@ba.infn.it
Last update: