forked from qt-creator/qt-creator
Maemo: Re-enable package installation via UTFS mount.
This commit is contained in:
@@ -422,11 +422,9 @@ void MaemoDeployStep::handleUnmounted()
|
|||||||
|
|
||||||
switch (m_unmountState) {
|
switch (m_unmountState) {
|
||||||
case OldDirsUnmount:
|
case OldDirsUnmount:
|
||||||
#if 0 // TODO: Disabled for 2.1. Re-enable later or throw away for good.
|
|
||||||
if (toolChain()->allowsRemoteMounts())
|
if (toolChain()->allowsRemoteMounts())
|
||||||
setupMount();
|
setupMount();
|
||||||
else
|
else
|
||||||
#endif
|
|
||||||
prepareSftpConnection();
|
prepareSftpConnection();
|
||||||
break;
|
break;
|
||||||
case CurrentDirsUnmount:
|
case CurrentDirsUnmount:
|
||||||
|
|||||||
@@ -168,10 +168,8 @@ bool MaemoRunControlFactory::canRun(RunConfiguration *runConfiguration,
|
|||||||
return false;
|
return false;
|
||||||
const int freePortCount = maemoRunConfig->freePorts().count();
|
const int freePortCount = maemoRunConfig->freePorts().count();
|
||||||
|
|
||||||
#if 0 // TODO: Enable if deployment-via-mount is enabled again, otherwise throw away.
|
|
||||||
if (maemoRunConfig->toolchain()->allowsRemoteMounts() && freePortCount == 0)
|
if (maemoRunConfig->toolchain()->allowsRemoteMounts() && freePortCount == 0)
|
||||||
return false;
|
return false;
|
||||||
#endif
|
|
||||||
const int mountDirCount
|
const int mountDirCount
|
||||||
= maemoRunConfig->toolchain()->allowsRemoteMounts()
|
= maemoRunConfig->toolchain()->allowsRemoteMounts()
|
||||||
? maemoRunConfig->remoteMounts()->validMountSpecificationCount()
|
? maemoRunConfig->remoteMounts()->validMountSpecificationCount()
|
||||||
|
|||||||
@@ -55,10 +55,7 @@ public:
|
|||||||
enum MaemoVersion { Maemo5, Maemo6 };
|
enum MaemoVersion { Maemo5, Maemo6 };
|
||||||
MaemoVersion version() const;
|
MaemoVersion version() const;
|
||||||
bool allowsRemoteMounts() const { return version() == Maemo5; }
|
bool allowsRemoteMounts() const { return version() == Maemo5; }
|
||||||
|
bool allowsPackagingDisabling() const { return version() == Maemo5; }
|
||||||
// TODO: Perhaps re-enable when we deploy via UTFS again, otherwise throw the whole function away.
|
|
||||||
bool allowsPackagingDisabling() const { return /* version() == Maemo5 */ false; }
|
|
||||||
|
|
||||||
bool allowsQmlDebugging() const { return version() == Maemo6; }
|
bool allowsQmlDebugging() const { return version() == Maemo6; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
Reference in New Issue
Block a user