]> git.defcon.no Git - qopencamwidget/blob - main.cpp
Updated structure of documentation. No need to include GDB includes and Qt Core/GUI...
[qopencamwidget] / main.cpp
1 /*
2 QOpenCamWidget demo application main code stup (main.c)
3 This file is part of a demonstration application, illustrating
4 how to use the QOpenCamWidget, a Qt 4 widget that displays
5 video input from a webcam, along with a snapshot button.
6
7 Copyright (C) 2009 Jon Langseth
8
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License
11 as published by the Free Software Foundation in its version 2
12 of the License.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 */
23
24 #include <QtGui/QApplication>
25 #include "view.h"
26
27 // The contents of this file is simply a Qt Main app stub.
28 int main (int argc, char*argv[])
29 {
30 QApplication app(argc, argv);
31 app.setApplicationName("QOpenCamWidget testapp");
32 View v;
33 v.show();
34 return app.exec();
35 }
36