Commit 0743aee307bb0396aa3fed7968be13b6d201ef06

  • avatar
  • Mark Kromis <greybird @Atomi…ath.local>
  • Tue Oct 13 11:43:14 CEST 2009
Changed configure script to be simular to the mameo project as noted by blog post.

http://labs.trolltech.com/blogs/2009/10/09/qt-on-the-n900/

configure - Changed to option to use -iphone
configure
(11 / 12)
  
299299 PLATFORM_MAC=no
300300 PLATFORM_QWS=yes
301301 fi
302 elif [ "$PLATFORM_MAC" != "no" ]; then
303 PLATFORM_X11=no
304 PLATFORM_MAC=yes
305 PLATFORM_QWS=no
306 PLATFORM_IPHONE=yes
307302 else
308303 echo "No license exists to enable Qt for Embedded Linux. Disabling."
309304 CFG_EMBEDDED=no
911911 VAL=no
912912 ;;
913913 #Qt style yes options
914 -incremental|-qvfb|-profile|-shared|-static|-sm|-xinerama|-xshape|-xinput|-reduce-exports|-pch|-separate-debug-info|-stl|-freetype|-xcursor|-xfixes|-xrandr|-xrender|-mitshm|-fontconfig|-xkb|-nis|-qdbus|-dbus|-dbus-linked|-glib|-gstreamer|-gtkstyle|-cups|-iconv|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-accessibility|-confirm-license|-gnumake|-framework|-qt3support|-debug-and-release|-exceptions|-cocoa|-universal|-prefix-install|-silent|-armfpa|-optimized-qmake|-dwarf2|-reduce-relocations|-sse|-openssl|-openssl-linked|-ptmalloc|-xmlpatterns|-phonon|-phonon-backend|-multimedia|-svg|-webkit|-script|-scripttools|-rpath|-force-pkg-config)
914 -incremental|-qvfb|-profile|-shared|-static|-sm|-xinerama|-xshape|-xinput|-reduce-exports|-pch|-separate-debug-info|-stl|-freetype|-xcursor|-xfixes|-xrandr|-xrender|-mitshm|-fontconfig|-xkb|-nis|-qdbus|-dbus|-dbus-linked|-glib|-gstreamer|-gtkstyle|-cups|-iconv|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-accessibility|-confirm-license|-gnumake|-framework|-qt3support|-debug-and-release|-exceptions|-cocoa|-universal|-prefix-install|-silent|-armfpa|-optimized-qmake|-dwarf2|-reduce-relocations|-sse|-openssl|-openssl-linked|-ptmalloc|-xmlpatterns|-phonon|-phonon-backend|-multimedia|-svg|-webkit|-script|-scripttools|-rpath|-force-pkg-config|-iphone)
915915 VAR=`echo $1 | sed "s,^-\(.*\),\1,"`
916916 VAL=yes
917917 ;;
11721172 PLATFORM_MAC=no
11731173 PLATFORM_QWS=yes
11741174 fi
1175 elif [ "$PLATFORM_MAC" != "no" ]; then
1176 PLATFORM_X11=no
1177 PLATFORM_MAC=yes
1178 PLATFORM_QWS=no
1179 PLATFORM_IPHONE=yes
11801175 else
11811176 echo "No license exists to enable Qt for Embedded Linux. Disabling."
11821177 CFG_EMBEDDED=no
11831178 fi
11841179 ;;
1180 iphone)
1181 PLATFORM_X11=no
1182 PLATFORM_MAC=yes
1183 PLATFORM_QWS=no
1184 PLATFORM_IPHONE=yes
1185 ;;
1186
11851187 sse)
11861188 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
11871189 CFG_SSE="$VAL"
32433243 [-no-multimedia] [-multimedia] [-no-phonon] [-phonon] [-no-phonon-backend] [-phonon-backend]
32443244 [-no-openssl] [-openssl] [-openssl-linked]
32453245 [-no-gtkstyle] [-gtkstyle] [-no-svg] [-svg] [-no-webkit] [-webkit]
3246 [-no-script] [-script] [-no-scripttools] [-scripttools]
3246 [-no-script] [-script] [-no-scripttools] [-scripttools] [-iphone]
32473247
32483248 [additional platform specific options (see below)]
32493249
37403740
37413741 -sdk <sdk> ......... Build Qt using Apple provided SDK <sdk>. This option requires gcc 4.
37423742 To use a different SDK with gcc 3.3, set the SDKROOT environment variable.
3743
3744 -iphone ............ Build Qt using Apple provided SDK <sdk> This options requires iphone sdk 3.
37433745
37443746EOF
37453747fi