|
|
@ -123,14 +123,14 @@ if test x"$QT_INSTALL_PLUGINS" = x ; then |
|
|
|
QT_SEARCH="/usr/share/qt4 /usr/lib/qt /usr/X11R6 /usr/local/Trolltech/Qt-4.0.0 /usr/local/Trolltech/Qt-4.0.1 /usr/local/Trolltech/Qt-4.1.0 /usr/local/Trolltech/Qt-4.2.0 /usr/local/Trolltech/Qt-4.2.1 /usr/local/Trolltech/Qt-4.2.2" |
|
|
|
QT_SEARCH="/usr/share/qt4 /usr/lib/qt /usr/X11R6 /usr/local/Trolltech/Qt-4.0.0 /usr/local/Trolltech/Qt-4.0.1 /usr/local/Trolltech/Qt-4.1.0 /usr/local/Trolltech/Qt-4.2.0 /usr/local/Trolltech/Qt-4.2.1 /usr/local/Trolltech/Qt-4.2.2" |
|
|
|
for p in ${QT_SEARCH}; do |
|
|
|
for p in ${QT_SEARCH}; do |
|
|
|
if test -d ${p}/plugins/designer; then |
|
|
|
if test -d ${p}/plugins/designer; then |
|
|
|
QT_INSTALL_PLUGINS=${d}/plugins/designer |
|
|
|
QT_INSTALL_PLUGINS=${p}/plugins/designer |
|
|
|
break |
|
|
|
break |
|
|
|
fi |
|
|
|
fi |
|
|
|
done |
|
|
|
done |
|
|
|
if test x"$QT_INSTALL_PLUGINS" = x ; then |
|
|
|
if test x"$QT_INSTALL_PLUGINS" = x ; then |
|
|
|
for p in ${QT_SEARCH}; do |
|
|
|
for p in ${QT_SEARCH}; do |
|
|
|
if test -d ${p}/plugins; then |
|
|
|
if test -d ${p}/plugins; then |
|
|
|
QT_INSTALL_PLUGINS=${d}/plugins/designer |
|
|
|
QT_INSTALL_PLUGINS=${p}/plugins/designer |
|
|
|
break |
|
|
|
break |
|
|
|
fi |
|
|
|
fi |
|
|
|
done |
|
|
|
done |
|
|
|