|
|
@ -120,7 +120,7 @@ AC_ARG_WITH([qt-install-plugins], |
|
|
|
# Check that QTDIR is defined or that --with-qtdir given |
|
|
|
# Check that QTDIR is defined or that --with-qtdir given |
|
|
|
if test x"$QT_INSTALL_PLUGINS" = x ; then |
|
|
|
if test x"$QT_INSTALL_PLUGINS" = x ; then |
|
|
|
# some usual Qt-locations |
|
|
|
# some usual Qt-locations |
|
|
|
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/qt4 /usr/lib/qt /usr/X11R6 /opt/local/lib/qt4 /opt/local/share/qt4 /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=${p}/plugins/designer |
|
|
|
QT_INSTALL_PLUGINS=${p}/plugins/designer |
|
|
|