OpenCASCADE sample for qt is giving problem

Dear Friends
If there's anyone using OpenCASCADE for QT please I need your help. I am juts trying to build the OpenCASCADE sample folder for qt.
Under qt folder there's only one example for qt I am able to compile the project using
qmake
make
its giving this errors

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/usr/local/bin/qmake -unix -o Makefile qt.pro
/bin/lrelease src/Common-icon.ts -qm ./res/Common-icon.qm
make: /bin/lrelease: Command not found
make: *** [res/Common-icon.qm] Error 127
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//my pro file is like below
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
TEMPLATE = app
CONFIG += qt debug
CXXFLAGS=-g
TARGET = IESample
#CONFIG(debug, debug|release) {
# DESTDIR = ./Linux/bind
# OBJECTS_DIR = ./Linux/objd
# MOC_DIR = ./Linux/srcd
#} else {
DESTDIR = ./Linux/bin
OBJECTS_DIR = ./Linux/obj
MOC_DIR = ./Linux/src
#}
HEADERS = src/*.h
SOURCES = src/*.cpp
TRANSLATIONS += ./src/Common-icon.ts \
./src/Common-string.ts \
./src/Interface-string.ts
INCLUDEPATH = $(CASROOT) $(CASROOT)/inc $(CASROOT)/src/WOKTclLib $(QTDIR)/include/QtCore \
$(QTDIR)/include/QtGui $(QTDIR)/include \
/usr/X11R6/include
LIBS = -L$(QTDIR)/lib -lQtCore -lQtGui -lpthread \
-L/share/apps/OpenCASCADE6.3.0/Linux/lib -lTKernel -lPTKernel -lTKMath -lTKService -lTKV3d -lTKV2d \
-lTKBRep -lTKIGES -lTKSTL -lTKVRML -lTKSTEP -lTKSTEPAttr -lTKSTEP209 \
-lTKSTEPBase -lTKShapeSchema -lTKGeomBase -lTKGeomAlgo -lTKG3d -lTKG2d \
-lTKXSBase -lTKPShape -lTKShHealing -lTKHLR -lTKTopAlgo -lTKMesh -lTKPrim \
-lTKCDF -lTKBool -lTKBO -lTKFillet -lTKOffset \
-L/usr/X11R6/lib -lX11 -lGL
DEFINES = LIN LININTEL CSFDB OCC_CONVERT_SIGNALS HAVE_CONFIG_H HAVE_WOK_CONFIG_H
lrelease.name = LRELASE ${QMAKE_FILE_IN}
lrelease.commands = $(QTDIR)/bin/lrelease ${QMAKE_FILE_NAME} -qm ./res/${QMAKE_FILE_BASE}.qm
lrelease.output = ./res/${QMAKE_FILE_BASE}.qm
lrelease.input = TRANSLATIONS
lrelease.clean = ./res/${QMAKE_FILE_BASE}.qm
lrelease.CONFIG += no_link target_predeps
QMAKE_EXTRA_COMPILERS += lrelease

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

If anybody has built this example successfully please help me to build it.Thanks

Dennis G.'s picture

Hello Sujan,

the error says that 'lrelease' is not found which is part of the qt package. Setting a symbolic link to lrelease in your /bin/ directory should fix this error.

Dennis