When debugging with Qt Creator, each time I step into a method with a QString as parameter I reach some annoying qstring.h code:
// ASCII compatibility
#ifndef QT_NO_CAST_FROM_ASCII
inline QT_ASCII_CAST_WARN QString(const char *ch)
: d(fromAscii_helper(ch, ch ? int(strlen(ch)) : -1))
{}
Is there a way to avoid the debugger to step into qstring.h?
Edit 1
My pro file:
QT += core
QT -= gui
TARGET = ConsoleTest03
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += main.cpp
My code:
#include <QDebug>
#include <QString>
void display(QString s)
{
qDebug() << s;
}
int main(int argc, char *argv[])
{
display("coucou");
return 0;
}
Edit 2
I use Qt 5.1.1 and Qt 3.0.1.