checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for make... make
checking for perl... perl
checking for swig... not found
checking for math with CFLAGS="" LIBS=""... yes
checking for standard C++ lib with CFLAGS="" LIBS="-lstdc++"... yes
checking for dlopen with CFLAGS="" LIBS=""... yes
checking for qmake... no
checking for qmake-qt5... no
checking for qmake5... no
configure: error: Qtenv cannot find qmake -- maybe it is not in the PATH or has some exotic name (tested names were: qmake qmake-qt5 qmake5) - disabling Qtenv. You can try setting the QT_PATH variable in configure.user to a valid location.
Please Help.Thanks.
export PATH=$HOME/omnetpp-5.1/bin:$HOME/omnetpp-5.1/tools/macosx/bin:$PATH
export QT_PLUGIN_PATH=$HOME/omnetpp-5.1/tools/macosx/plugins
Configure: error: Qtenv cannot find qmake -- maybe it is not in the PATH or has some exotic name (tested names were: qmake qmake-qt5 qmake5) - disabling Qtenv. You can try setting the QT_PATH variable in configure.user to a valid location.
I tried modifying the bash_profile and bashrc to modify the path but it wouldn't work. Please help me out.
Thank you
Hasita
nano .bash_profile
export PATH=$HOME/omnetpp-5.2.1/bin:$HOME/omnetpp-5.2.1/tools/macosx/bin:$PATH
export QT_PLUGIN_PATH=$HOME/omnetpp-5.2.1/tools/macosx/plugins
source .bash_profile
cd omnet --> (press tab key) --> (press enter)
./configure
make
export PATH=$HOME/omnetpp-5.4.1/bin:$HOME/omnetpp-5.4.1/tools/macosx/bin:$PATH export QT_PLUGIN_PATH=$HOME/omnetpp-5.4.1/tools/macosx/plugins
it will work ,
omnetpp-5.4.1 folder must be in your home directory.