configure_symbian
changeset 30 5dc02b23752f
parent 25 e24348a560a6
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
   666 CFG_SSE=auto
   666 CFG_SSE=auto
   667 CFG_FONTCONFIG=auto
   667 CFG_FONTCONFIG=auto
   668 CFG_QWS_FREETYPE=no
   668 CFG_QWS_FREETYPE=no
   669 CFG_LIBFREETYPE=no
   669 CFG_LIBFREETYPE=no
   670 CFG_SQL_AVAILABLE=
   670 CFG_SQL_AVAILABLE=
   671 QT_DEFAULT_BUILD_PARTS="libs tools examples demos"
   671 QT_DEFAULT_BUILD_PARTS="libs tools examples demos docs translations"
   672 #QTP change for lRelease app. Need for Symbian
       
   673 CFG_BUILD_PARTS=""
   672 CFG_BUILD_PARTS=""
   674 CFG_NOBUILD_PARTS=""
   673 CFG_NOBUILD_PARTS=""
   675 CFG_RELEASE_QMAKE=no
   674 CFG_RELEASE_QMAKE=no
   676 CFG_PHONON=yes
   675 CFG_PHONON=yes
   677 CFG_PHONON_BACKEND=yes
   676 CFG_PHONON_BACKEND=yes
  4344        cp -a "$QCONFIG_H" "$conf"
  4343        cp -a "$QCONFIG_H" "$conf"
  4345     done
  4344     done
  4346 
  4345 
  4347     #mkspecs/default is used as a (gasp!) default mkspec so QMAKESPEC needn't be set once configured
  4346     #mkspecs/default is used as a (gasp!) default mkspec so QMAKESPEC needn't be set once configured
  4348     rm -rf mkspecs/default
  4347     rm -rf mkspecs/default
  4349     cp -a mkspecs/`echo $XQMAKESPEC | sed "s,^${relpath}/mkspecs/,,"` mkspecs/default
  4348     cp -a `echo $XQMAKESPEC | sed "s,^${relpath}/mkspecs/,,"` mkspecs/default
  4350 
  4349 
  4351     # fix makefiles
  4350     # fix makefiles
  4352     for mkfile in GNUmakefile Makefile; do
  4351     for mkfile in GNUmakefile Makefile; do
  4353         EXTRA_LFLAGS=
  4352         EXTRA_LFLAGS=
  4354         EXTRA_CFLAGS=
  4353         EXTRA_CFLAGS=
  7558 PART_ROOTS=
  7557 PART_ROOTS=
  7559 for part in $CFG_BUILD_PARTS; do
  7558 for part in $CFG_BUILD_PARTS; do
  7560     case "$part" in
  7559     case "$part" in
  7561     tools) PART_ROOTS="$PART_ROOTS tools" ;;
  7560     tools) PART_ROOTS="$PART_ROOTS tools" ;;
  7562     libs) PART_ROOTS="$PART_ROOTS src" ;;
  7561     libs) PART_ROOTS="$PART_ROOTS src" ;;
  7563     translations) PART_ROOTS="$PART_ROOTS tools/linguist/lrelease" ;;
  7562     translations) PART_ROOTS="$PART_ROOTS tools/linguist/lrelease translations" ;;
  7564     examples) PART_ROOTS="$PART_ROOTS examples demos" ;;
  7563     examples) PART_ROOTS="$PART_ROOTS examples demos" ;;
  7565     *) ;;
  7564     *) ;;
  7566     esac
  7565     esac
  7567 done
  7566 done
  7568 
       
  7569 #For symbian release we need add translations to PRT_ROOTS
       
  7570 if [ "$PLATFORM_SYMBIAN" != "$XPLATFORM" ]; then
       
  7571     PART_ROOTS="$PART_ROOTS tools/linguist/lrelease"
       
  7572 fi
       
  7573 
  7567 
  7574 if [ "$CFG_DEV" = "yes" ]; then
  7568 if [ "$CFG_DEV" = "yes" ]; then
  7575     PART_ROOTS="$PART_ROOTS tests"
  7569     PART_ROOTS="$PART_ROOTS tests"
  7576 fi
  7570 fi
  7577 
  7571