return f1;
}
+void testTypeFormats()
+{
+ // These tests should result in properly displayed umlauts in the
+ // Locals&Watchers view. It is only support on gdb with Python.
+
+ // Select UTF-8 in "Change Format for Type" in L&W context menu.
+ const char *s = "aöa";
+
+ // Windows: Select UTF-16 in "Change Format for Type" in L&W context menu.
+ // Other: Select UCS-6 in "Change Format for Type" in L&W context menu.
+ const wchar_t *w = L"aöa";
+
+ // Make sure to undo "Change Format".
+ int dummy = 1;
+ Q_UNUSED(s);
+ Q_UNUSED(w);
+ Q_UNUSED(dummy);
+}
+
+
class Thread : public QThread
{
public:
testStdStack();
testStdString();
testStdVector();
+ testTypeFormats();
testPassByReference();
testPlugin();
testQList();
testQLinkedList();
- const char *s = "aöa";
- // wchar_t * support only with Python.
- const wchar_t *w = L"aöa";
testNamespace();
//return 0;
testQHash();
//QColor color(255,128,10);
//QFont font;
-
- Q_UNUSED(s);
- Q_UNUSED(w);
return 0;
}