Hey,

I'm using Qt Creator as a C IDE for Cygwin apps with no Qt or Mingw.
Don't know if this is a supported configuration.

It ought to be possible to force a debugger type when Creator launches
it, as it can lead to unexpected results such as treating GDB as
CdbEngine, and passing it wrong command-line arguments as a
result.

Here's a silly hack that works for me, but is in no way an acceptable 
solution:

--- a/src/plugins/debugger/debuggerrunner.cpp
+++ b/src/plugins/debugger/debuggerrunner.cpp
@@ -374,13 +374,7 @@ static QList<DebuggerEngineType> 
enginesForToolChain(const
          result.push_back(GdbEngineType);
          break;
     case Abi::PEFormat:
-        if (toolChain.osFlavor() == Abi::WindowsMSysFlavor) {
-            result.push_back(GdbEngineType);
-            result.push_back(CdbEngineType);
-        } else {
-            result.push_back(CdbEngineType);
-            result.push_back(GdbEngineType);
-        }
+        result.push_back(GdbEngineType);
          break;
      case Abi::RuntimeQmlFormat:
          result.push_back(QmlEngineType);

Might be nice to have such an option somewhere in the GUI, as not to 
have to manually hack and compile the whole thing.

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to