1
/* * This file is part of Maliit framework *
3
* Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
6
* Contact: maliit-discuss@lists.maliit.org
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License version 2.1 as published by the Free Software Foundation
11
* and appearing in the file LICENSE.LGPL included in the packaging
17
#include <QApplication>
18
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
19
#include <QInputContextFactory>
22
int main(int argc, char** argv)
24
QApplication kit(argc, argv);
26
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
27
kit.setInputContext(QInputContextFactory::create("MaliitDirect", &kit));