X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=products%2Fcompil_scripts%2Fqt.sh;h=707176641b08a276a8fa50d853433eed4e9ffad7;hb=177f716c877eaf82838a77fb89230bf037049834;hp=cc943e374c873a71d88113a84812e48927db8304;hpb=298f0f1f3babde4391646eecad9c63ec2f3f46c2;p=tools%2Fsat_salome.git diff --git a/products/compil_scripts/qt.sh b/products/compil_scripts/qt.sh index cc943e3..7071766 100755 --- a/products/compil_scripts/qt.sh +++ b/products/compil_scripts/qt.sh @@ -16,11 +16,18 @@ then export QMAKE_CXXFLAGS="-std=c++11" fi +if [ -n "$SAT_DEBUG" ] +then + BUILD_TYPE="-debug" +else + BUILD_TYPE="-release" +fi + # For -qt-harfbuzz option, see spns #9694 echo -echo "*** ./configure -prefix $PRODUCT_INSTALL -release -opensource -nomake tests -nomake examples -no-rpath -verbose -no-separate-debug-info -confirm-license -qt-libpng -qt-xcb -no-eglfs -dbus-runtime -skip qtwebengine -skip wayland -skip qtgamepad -system-freetype -qt-harfbuzz -no-openssl -no-glib" +echo "*** ./configure -prefix $PRODUCT_INSTALL $BUILD_TYPE -opensource -nomake tests -nomake examples -no-rpath -verbose -no-separate-debug-info -confirm-license -qt-libpng -qt-xcb -no-eglfs -dbus-runtime -skip qtwebengine -skip wayland -skip qtgamepad -system-freetype -qt-harfbuzz -no-openssl -no-glib" -./configure -prefix $PRODUCT_INSTALL -release -opensource -nomake tests -nomake examples -no-rpath \ +./configure -prefix $PRODUCT_INSTALL $BUILD_TYPE -opensource -nomake tests -nomake examples -no-rpath \ -verbose -no-separate-debug-info -confirm-license -qt-libpng -qt-xcb -no-eglfs -dbus-runtime -skip qtwebengine \ -skip wayland -skip qtgamepad -system-freetype -qt-harfbuzz \ -no-openssl -no-glib