summaryrefslogtreecommitdiffstats
path: root/tests/manual/textrendering/codeeditor/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/textrendering/codeeditor/main.cpp')
-rw-r--r--tests/manual/textrendering/codeeditor/main.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/manual/textrendering/codeeditor/main.cpp b/tests/manual/textrendering/codeeditor/main.cpp
new file mode 100644
index 0000000000..3e3d98ae31
--- /dev/null
+++ b/tests/manual/textrendering/codeeditor/main.cpp
@@ -0,0 +1,18 @@
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+#include <QApplication>
+
+#include "codeeditor.h"
+
+int main(int argv, char **args)
+{
+ QApplication app(argv, args);
+
+ CodeEditor editor;
+ editor.setWindowTitle(QObject::tr("Code Editor Example"));
+ editor.show();
+
+ return app.exec();
+}
+