From 90e9ec4749d18f174248d2247c9b044b1d0ec077 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Thu, 7 Apr 2011 11:54:40 +0200 Subject: [PATCH] QMakeStep: Disable qmljsdebugger checkbox for Symbian, Maemo5 Debugging on device or the emulator is right now not supported. Reviewed-by: dt --- src/plugins/qt4projectmanager/qmakestep.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/plugins/qt4projectmanager/qmakestep.cpp b/src/plugins/qt4projectmanager/qmakestep.cpp index e9c5c3d1328..36dbf5fd62f 100644 --- a/src/plugins/qt4projectmanager/qmakestep.cpp +++ b/src/plugins/qt4projectmanager/qmakestep.cpp @@ -331,6 +331,17 @@ bool QMakeStep::isQmlDebuggingLibrarySupported(QString *reason) const if (qt4BuildConfiguration()->qtVersion()->hasQmlDebuggingLibrary()) return true; + if (!qt4BuildConfiguration()->qtVersion()->qtAbis().isEmpty()) { + ProjectExplorer::Abi abi = qt4BuildConfiguration()->qtVersion()->qtAbis().first(); + if (abi.os() == ProjectExplorer::Abi::SymbianOS + || abi.osFlavor() == ProjectExplorer::Abi::MaemoLinuxFlavor) { + if (reason) + *reason = QString(); +// *reason = tr("Qml debugging on device not yet supported."); + return false; + } + } + if (!qt4BuildConfiguration()->qtVersion()->isValid()) { if (reason) *reason = tr("Invalid Qt version.");