Changeset 2063
- Timestamp:
- 08/30/11 05:51:16 (21 months ago)
- Files:
-
- 1 modified
-
trunk/src/create_config.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/create_config.sh
r2052 r2063 72 72 output "QT_CFLAGS=$(pkg-config $QT_MODULES --cflags-only-other)" 73 73 QT_PREFIX=$(pkg-config QtCore --variable=prefix) 74 QT_BIN="${QT_PREFIX}/bin" 75 output "QT_BIN=${QT_BIN}" 76 output "QT_MOC=${QT_BIN}/moc" 77 output "QT_UIC=${QT_BIN}/uic" 78 else 79 info "no (optional)\n" 74 80 fi 75 fi76 if [ -z "$QT_PREFIX" -a -n "$QTDIR" ]; then77 info "yes (QTDIR)\n"78 output "QT_LIBPATH=-L${QTDIR}/lib"79 if [ -n "$(ls ${QTDIR}/lib/libqt-mt* 2> /dev/null)" ]; then80 output "QT_LIBS=-lqt-mt"81 else82 output "QT_LIBS=-lqt"83 fi84 output "QT_INCPATH=-I${QTDIR}/include"85 output "QT_CFLAGS="86 QT_PREFIX=${QTDIR}87 fi88 if [ -n "$QT_PREFIX" ]; then89 QT_BIN="${QT_PREFIX}/bin"90 output "QT_BIN=${QT_BIN}"91 output "QT_MOC=${QT_BIN}/moc"92 output "QT_UIC=${QT_BIN}/uic"93 81 else 94 82 info "no (optional)\n"