forked from qt-creator/qt-creator
Maemo: Change installation prefix for non-Fremantle systems.
- /usr/local -> /usr - Technically, this changes the default installation path for all non-Fremantle UNIX systems.
This commit is contained in:
@@ -41,7 +41,7 @@ symbian {
|
|||||||
installPrefix = /opt/usr
|
installPrefix = /opt/usr
|
||||||
desktopfile.path = /usr/share/applications/hildon
|
desktopfile.path = /usr/share/applications/hildon
|
||||||
} else {
|
} else {
|
||||||
installPrefix = /usr/local
|
installPrefix = /usr
|
||||||
desktopfile.path = /usr/share/applications
|
desktopfile.path = /usr/share/applications
|
||||||
!isEqual(PWD,$$OUT_PWD) {
|
!isEqual(PWD,$$OUT_PWD) {
|
||||||
copyCommand = @echo Copying application data...
|
copyCommand = @echo Copying application data...
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ symbian {
|
|||||||
installPrefix = /opt/usr
|
installPrefix = /opt/usr
|
||||||
desktopfile.path = /usr/share/applications/hildon
|
desktopfile.path = /usr/share/applications/hildon
|
||||||
} else {
|
} else {
|
||||||
installPrefix = /usr/local
|
installPrefix = /usr
|
||||||
desktopfile.path = /usr/share/applications
|
desktopfile.path = /usr/share/applications
|
||||||
!isEqual(PWD,$$OUT_PWD) {
|
!isEqual(PWD,$$OUT_PWD) {
|
||||||
copyCommand = @echo Copying application data...
|
copyCommand = @echo Copying application data...
|
||||||
|
|||||||
@@ -359,7 +359,7 @@ QString MaemoDeployableListModel::installPrefix() const
|
|||||||
const MaemoToolChain *const tc = maemoToolchain();
|
const MaemoToolChain *const tc = maemoToolchain();
|
||||||
QTC_ASSERT(tc, return QString());
|
QTC_ASSERT(tc, return QString());
|
||||||
return QLatin1String(tc->version() == MaemoToolChain::Maemo5
|
return QLatin1String(tc->version() == MaemoToolChain::Maemo5
|
||||||
? "/opt/usr" : "/usr/local");
|
? "/opt/usr" : "/usr");
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Qt4ProjectManager
|
} // namespace Qt4ProjectManager
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ void MobileLibraryParameters::writeMaemoProFile(QTextStream &str) const
|
|||||||
" maemo5 {\n"
|
" maemo5 {\n"
|
||||||
" target.path = /opt/usr/lib\n"
|
" target.path = /opt/usr/lib\n"
|
||||||
" } else {\n"
|
" } else {\n"
|
||||||
" target.path = /usr/local/lib\n"
|
" target.path = /usr/lib\n"
|
||||||
" }\n"
|
" }\n"
|
||||||
" INSTALLS += target\n"
|
" INSTALLS += target\n"
|
||||||
"}\n";
|
"}\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user