[Qt-interest] environment variable and qmake issue
ami guru
dosto.walla at gmail.com
Sun Mar 15 15:02:28 CET 2009
Hello forum,
I am trying to compile libraries using qmake.
CPPLIBS is set in the environment variable and qmake is supposed to find
that.
That is how it was set:
*********************'
#Qt example related path
CPPLIBS=/home/sajjad/DesignPattern/projects/libs
export
PATH=$PATH:$ACG_PATH:$H3D_PATH:$H3DUTIL_INCLUDE_DIR:$HAPI_INCLUDE_DIR:$WM4_PATH:$OPENSCENEGRAPH_PATH:$OSG_FILE_PATH:$FTGL_PATH:$CPPLIBS:
*******************'
And the .pro file is as follows:
*******************'
CONFIG += debug
CPPLIBS=$$(CPPLIBS)
isEmpty( CPPLIBS ) {
error("You need to define CPPLIBS environment variable.")
}
*******************
And i am getting the error
Regards
Sajjad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090315/775bea7c/attachment.html
More information about the Qt-interest-old
mailing list