diff options
| author | Henrik Hartz <henrik.hartz@nokia.com> | 2009-06-15 14:08:42 +0200 |
|---|---|---|
| committer | Henrik Hartz <henrik.hartz@nokia.com> | 2009-06-15 14:08:42 +0200 |
| commit | f7da31f66ed183c77b896aef2719a6f38fc4b843 (patch) | |
| tree | 5a3d54ab51a1be17954134cd020610175c1038b7 /videofeed/main.cpp | |
| parent | 23e90c3d691282b08b339ab19974d4bc4e214588 (diff) | |
Two WebKit examples demonstrating mixing native and web environments
using Qt
Diffstat (limited to 'videofeed/main.cpp')
| -rw-r--r-- | videofeed/main.cpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/videofeed/main.cpp b/videofeed/main.cpp new file mode 100644 index 0000000..04de3ca --- /dev/null +++ b/videofeed/main.cpp @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +** Contact: Qt Software Information (qt-info@nokia.com) +** +** This file is part of the Graphics Dojo project on Qt Labs. +** +** This file may be used under the terms of the GNU General Public +** License version 2.0 or 3.0 as published by the Free Software Foundation +** and appearing in the file LICENSE.GPL included in the packaging of +** this file. Please review the following information to ensure GNU +** General Public Licensing requirements will be met: +** http://www.fsf.org/licensing/licenses/info/GPLv2.html and +** http://www.gnu.org/copyleft/gpl.html. +** +** If you are unsure which license is appropriate for your use, please +** contact the sales department at qt-sales@nokia.com. +** +** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +** +****************************************************************************/ + +#include <QtGui> + +#include "mainwindow.h" + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + + MainWindow w; + w.resize(750, 550); + w.show(); + + return a.exec(); +} + |
