From 529f38bd8878b6b1bea2b5457031ce936aab8d80 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Mon, 6 Oct 2014 15:03:54 +0200 Subject: addedd communi --- libcommuni/examples/qmlbot/main.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 libcommuni/examples/qmlbot/main.cpp (limited to 'libcommuni/examples/qmlbot/main.cpp') diff --git a/libcommuni/examples/qmlbot/main.cpp b/libcommuni/examples/qmlbot/main.cpp new file mode 100644 index 0000000..d74e909 --- /dev/null +++ b/libcommuni/examples/qmlbot/main.cpp @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2008-2014 The Communi Project + * + * This example is free, and not covered by the BSD license. There is no + * restriction applied to their modification, redistribution, using and so on. + * You can study them, modify them, use them in your own program - either + * completely or partially. + */ + +#include +#include + +int main(int argc, char* argv[]) +{ + QCoreApplication app(argc, argv); + + // enable debug output + qputenv("IRC_DEBUG", "1"); + + QQmlApplicationEngine engine(QUrl("qrc:/main.qml")); + return app.exec(); +} -- cgit v1.2.3-54-g00ecf