OSDN Git Service

Maemo: Change installation prefix for non-Fremantle systems.
authorChristian Kandeler <christian.kandeler@nokia.com>
Wed, 1 Dec 2010 12:54:10 +0000 (13:54 +0100)
committerChristian Kandeler <christian.kandeler@nokia.com>
Wed, 1 Dec 2010 15:56:51 +0000 (16:56 +0100)
- /usr/local -> /usr
- Technically, this changes the default installation path for all
  non-Fremantle UNIX systems.

doc/examples/batteryindicator/deployment.pri
share/qtcreator/templates/shared/deployment.pri
src/plugins/qt4projectmanager/qt-maemo/maemodeployablelistmodel.cpp
src/plugins/qt4projectmanager/wizards/mobilelibraryparameters.cpp

index 7b7f728..853feec 100644 (file)
@@ -41,7 +41,7 @@ symbian {
         installPrefix = /opt/usr
         desktopfile.path = /usr/share/applications/hildon       
     } else {
-        installPrefix = /usr/local
+        installPrefix = /usr
         desktopfile.path = /usr/share/applications
         !isEqual(PWD,$$OUT_PWD) {
             copyCommand = @echo Copying application data...
index f57225e..c2dd39e 100644 (file)
@@ -43,7 +43,7 @@ symbian {
         installPrefix = /opt/usr
         desktopfile.path = /usr/share/applications/hildon       
     } else {
-        installPrefix = /usr/local
+        installPrefix = /usr
         desktopfile.path = /usr/share/applications
         !isEqual(PWD,$$OUT_PWD) {
             copyCommand = @echo Copying application data...
index 4bffcc4..8f2ca72 100644 (file)
@@ -359,7 +359,7 @@ QString MaemoDeployableListModel::installPrefix() const
     const MaemoToolChain *const tc = maemoToolchain();
     QTC_ASSERT(tc, return QString());
     return QLatin1String(tc->version() == MaemoToolChain::Maemo5
-        ? "/opt/usr" : "/usr/local");
+        ? "/opt/usr" : "/usr");
 }
 
 } // namespace Qt4ProjectManager
index e38ea77..3454b3f 100644 (file)
@@ -112,7 +112,7 @@ void MobileLibraryParameters::writeMaemoProFile(QTextStream &str) const
            "    maemo5 {\n"
            "        target.path = /opt/usr/lib\n"
            "    } else {\n"
-           "        target.path = /usr/local/lib\n"
+           "        target.path = /usr/lib\n"
            "    }\n"
            "    INSTALLS += target\n"
            "}\n";