qt命令行编译项目

#!/bin/sh
#export QTDIR=/opt_bk/QTDIR5.6.3
export QTDIR=/opt/Qt5.6.3/5.6.3/gcc_64
export PATH=$QTDIR/bin:$PATH
export MANPATH=$QTDIR/man:$MANPATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH

 
cd framework
make clean
$QTDIR/bin/qmake framework.pro -r -spec linux-g++ "CONFIG+=release"
make -j8
make clean

你可能感兴趣的:(linux,qt)