From b22ddc847548d91e670dc2296fe04d05c99677b2 Mon Sep 17 00:00:00 2001 From: Andy Postnikov Date: Fri, 3 Dec 2021 22:45:34 +0200 Subject: testing/qt-creator: upgrade to 6.0.0 --- testing/qt-creator/fix-execinfo.patch | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'testing/qt-creator/fix-execinfo.patch') diff --git a/testing/qt-creator/fix-execinfo.patch b/testing/qt-creator/fix-execinfo.patch index b409a30afd7..f9bf5662222 100644 --- a/testing/qt-creator/fix-execinfo.patch +++ b/testing/qt-creator/fix-execinfo.patch @@ -1,6 +1,6 @@ ---- a/src/plugins/debugger/shared/backtrace.cpp -+++ b/src/plugins/debugger/shared/backtrace.cpp -@@ -30,8 +30,10 @@ +--- a/src/libs/utils/qtcassert.cpp ++++ b/src/libs/utils/qtcassert.cpp +@@ -31,8 +31,10 @@ #if defined(Q_OS_LINUX) #include #include @@ -8,18 +8,18 @@ #include #endif +#endif - - namespace Debugger { - namespace Internal { + + namespace Utils { + @@ -40,7 +42,7 @@ void dumpBacktrace(int maxdepth) { if (maxdepth == -1) - maxdepth = 200; --#if defined(Q_OS_LINUX) -+#if defined(Q_OS_LINUX) && defined(__GLIBC__) - void *bt[200] = {nullptr}; - qDebug() << "BACKTRACE:"; + maxdepth = 1000; +-#if defined(Q_OS_UNIX) ++#if defined(Q_OS_UNIX) && defined(__GLIBC__) + void *bt[1000] = {nullptr}; int size = backtrace(bt, sizeof(bt) / sizeof(bt[0])); + char **lines = backtrace_symbols(bt, size); diff --git a/src/plugins/qmldesigner/designercore/exceptions/exception.cpp b/src/plugins/qmldesigner/designercore/exceptions/exception.cpp index a3a9806f7e..c369e681ab 100644 --- a/src/plugins/qmldesigner/designercore/exceptions/exception.cpp -- cgit v1.2.3