Accessible plugin build: Do not install before make install
authorAnselmo L. S. Melo <anselmo.melo@openbossa.org>
Fri, 25 May 2012 02:14:03 +0000 (23:14 -0300)
committerQt by Nokia <qt-info@nokia.com>
Tue, 5 Jun 2012 12:16:11 +0000 (14:16 +0200)
When prefix is set, libqtaccessiblequick.so was created in the install
directory. This patch fixes this behavior.

Change-Id: I3fe47841676e4ef8912498b6a1d8a42a55a4d6ac
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
src/plugins/accessible/quick/quick.pro

index 213d2e8..aec1f92 100644 (file)
@@ -5,7 +5,7 @@ load(qt_plugin)
 include ($$PWD/../shared/qaccessiblebase.pri)
 
 QT += core-private gui-private v8-private qml-private quick-private
-DESTDIR = $$QT.gui.plugins/accessible
+QTDIR_build:DESTDIR = $$QT.gui.plugins/accessible
 
 QTDIR_build:REQUIRES += "contains(QT_CONFIG, accessibility)"
 
@@ -23,3 +23,5 @@ HEADERS  += \
 OTHERFILES += accessible.json
 }
 
+target.path += $$[QT_INSTALL_PLUGINS]/accessible
+INSTALLS += target