File plugin_path.diff of Package libqt5-creator

diff -Naur qt-creator-2.8.81~git.orig/qtcreator.pri qt-creator-2.8.81~git/qtcreator.pri
--- qt-creator-2.8.81~git.orig/qtcreator.pri	2013-08-28 11:27:58.679332964 +0200
+++ qt-creator-2.8.81~git/qtcreator.pri	2013-08-28 21:45:35.850769575 +0200
@@ -141,6 +141,7 @@
 } else {
     contains(TEMPLATE, vc.*):vcproj = 1
     IDE_APP_TARGET   = qtcreator
+    QTC_PREFIX       = $$QTC_PREFIX
     IDE_LIBRARY_PATH = $$IDE_BUILD_TREE/$$IDE_LIBRARY_BASENAME/qtcreator
     IDE_PLUGIN_PATH  = $$IDE_LIBRARY_PATH/plugins
     IDE_LIBEXEC_PATH = $$IDE_APP_PATH # FIXME
@@ -161,9 +162,9 @@
 LIBS += -L$$IDE_LIBRARY_PATH
 
 !isEmpty(vcproj) {
-    DEFINES += IDE_LIBRARY_BASENAME=\"$$IDE_LIBRARY_BASENAME\"
+    DEFINES += IDE_LIBRARY_BASENAME=\"$$IDE_LIBRARY_BASENAME\" QTC_PREFIX=\"$$QTC_PREFIX\"
 } else {
-    DEFINES += IDE_LIBRARY_BASENAME=\\\"$$IDE_LIBRARY_BASENAME\\\"
+    DEFINES += IDE_LIBRARY_BASENAME=\\\"$$IDE_LIBRARY_BASENAME\\\" QTC_PREFIX=\\\"$$QTC_PREFIX\\\"
 }
 
 DEFINES += QT_CREATOR QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII
diff -Naur qt-creator-2.8.81~git.orig/src/app/main.cpp qt-creator-2.8.81~git/src/app/main.cpp
--- qt-creator-2.8.81~git.orig/src/app/main.cpp	2013-08-28 11:27:58.990329076 +0200
+++ qt-creator-2.8.81~git/src/app/main.cpp	2013-08-28 22:41:30.376832228 +0200
@@ -195,7 +195,7 @@
     const QString rootDirPath = rootDir.canonicalPath();
 #if !defined(Q_OS_MAC)
     // 1) "plugins" (Win/Linux)
-    QString pluginPath = rootDirPath;
+    QString pluginPath = QLatin1String(QTC_PREFIX);
     pluginPath += QLatin1Char('/');
     pluginPath += QLatin1String(IDE_LIBRARY_BASENAME);
     pluginPath += QLatin1String("/qtcreator/plugins");