8 changed files with 266 additions and 1 deletions
@ -0,0 +1,35 @@
@@ -0,0 +1,35 @@
|
||||
Name "QGroundcontrol" |
||||
|
||||
OutFile "qgroundcontrol-installer-win32.exe" |
||||
|
||||
InstallDir $PROGRAMFILES\qgroundcontrol |
||||
|
||||
Page license |
||||
Page directory |
||||
Page components |
||||
Page instfiles |
||||
UninstPage uninstConfirm |
||||
UninstPage instfiles |
||||
|
||||
LicenseData ..\license.txt |
||||
|
||||
Section "" |
||||
|
||||
SetOutPath $INSTDIR |
||||
File ..\release\*.* |
||||
WriteUninstaller $INSTDIR\QGroundControl_uninstall.exe |
||||
SectionEnd |
||||
|
||||
Section "Uninstall" |
||||
Delete $INSTDIR\QGroundControl_uninstall.exe |
||||
Delete $INSTDIR\*.* |
||||
RMDir $INSTDIR |
||||
Delete "$SMPROGRAMS\QGroundControl\*.*" |
||||
RMDir "$SMPROGRAMS\QGroundControl\" |
||||
SectionEnd |
||||
|
||||
Section "create Start Menu Shortcuts" |
||||
CreateDirectory "$SMPROGRAMS\QGroundControl" |
||||
CreateShortCut "$SMPROGRAMS\QGroundControl\uninstall.lnk" "$INSTDIR\QGroundControl_uninstall.exe" "" "$INSTDIR\QGroundControl_uninstall.exe" 0 |
||||
CreateShortCut "$SMPROGRAMS\QGroundControl\QGroundControl.lnk" "$INSTDIR\qgroundcontrol.exe" "" "$INSTDIR\qgroundcontrol.exe" 0 |
||||
SectionEnd |
@ -0,0 +1,41 @@
@@ -0,0 +1,41 @@
|
||||
# Video streaming application for simple UDP direct byte streaming |
||||
|
||||
|
||||
QT += svg network |
||||
|
||||
TEMPLATE = app |
||||
TARGET = qgcvideo |
||||
|
||||
BASEDIR = . |
||||
BUILDDIR = build/qgcvideo |
||||
LANGUAGE = C++ |
||||
|
||||
CONFIG += release |
||||
CONFIG -= debug |
||||
|
||||
OBJECTS_DIR = $$BUILDDIR/obj |
||||
MOC_DIR = $$BUILDDIR/moc |
||||
UI_HEADERS_DIR = src/ui/generated |
||||
|
||||
macx:DESTDIR = $$BASEDIR/bin/mac |
||||
|
||||
INCLUDEPATH += . \ |
||||
src \ |
||||
src/ui \ |
||||
src/comm \ |
||||
include/ui \ |
||||
src/ui/mavlink \ |
||||
src/apps/qgcstreamer |
||||
|
||||
# Input |
||||
|
||||
HEADERS += src/apps/qgcvideo/QGCVideoApp.h |
||||
|
||||
SOURCES += \ |
||||
src/apps/qgcvideo/QGCVideoApp.cc \ |
||||
src/apps/qgcvideo/main.cc |
||||
|
||||
FORMS += \ |
||||
src/apps/qgcvideo/QGCVideoApp.ui |
||||
|
||||
RESOURCES = mavground.qrc |
@ -0,0 +1,44 @@
@@ -0,0 +1,44 @@
|
||||
/*=====================================================================
|
||||
|
||||
QGroundControl Open Source Ground Control Station |
||||
|
||||
(c) 2009 - 2011 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
|
||||
|
||||
This file is part of the QGROUNDCONTROL project |
||||
|
||||
QGROUNDCONTROL is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 3 of the License, or |
||||
(at your option) any later version. |
||||
|
||||
QGROUNDCONTROL is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License |
||||
along with QGROUNDCONTROL. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
======================================================================*/ |
||||
|
||||
/**
|
||||
* @file |
||||
* @brief Main executable |
||||
* @author Lorenz Meier <lm@inf.ethz.ch> |
||||
* |
||||
*/ |
||||
|
||||
#include "QGCVideoApp.h" |
||||
#include "ui_QGCVideoApp.h" |
||||
|
||||
QGCVideoApp::QGCVideoApp(QWidget *parent) : |
||||
QMainWindow(parent), |
||||
ui(new Ui::QGCVideoApp) |
||||
{ |
||||
ui->setupUi(this); |
||||
} |
||||
|
||||
QGCVideoApp::~QGCVideoApp() |
||||
{ |
||||
delete ui; |
||||
} |
@ -0,0 +1,52 @@
@@ -0,0 +1,52 @@
|
||||
/*=====================================================================
|
||||
|
||||
QGroundControl Open Source Ground Control Station |
||||
|
||||
(c) 2009 - 2011 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
|
||||
|
||||
This file is part of the QGROUNDCONTROL project |
||||
|
||||
QGROUNDCONTROL is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 3 of the License, or |
||||
(at your option) any later version. |
||||
|
||||
QGROUNDCONTROL is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License |
||||
along with QGROUNDCONTROL. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
======================================================================*/ |
||||
|
||||
/**
|
||||
* @file |
||||
* @brief Main executable |
||||
* @author Lorenz Meier <lm@inf.ethz.ch> |
||||
* |
||||
*/ |
||||
|
||||
#ifndef QGCVIDEOAPP_H |
||||
#define QGCVIDEOAPP_H |
||||
|
||||
#include <QMainWindow> |
||||
|
||||
namespace Ui { |
||||
class QGCVideoApp; |
||||
} |
||||
|
||||
class QGCVideoApp : public QMainWindow |
||||
{ |
||||
Q_OBJECT |
||||
|
||||
public: |
||||
explicit QGCVideoApp(QWidget *parent = 0); |
||||
~QGCVideoApp(); |
||||
|
||||
private: |
||||
Ui::QGCVideoApp *ui; |
||||
}; |
||||
|
||||
#endif // QGCVIDEOAPP_H
|
@ -0,0 +1,24 @@
@@ -0,0 +1,24 @@
|
||||
<ui version="4.0"> |
||||
<author/> |
||||
<comment/> |
||||
<exportmacro/> |
||||
<class>QGCVideoApp</class> |
||||
<widget class="QMainWindow" name="QGCVideoApp"> |
||||
<property name="geometry"> |
||||
<rect> |
||||
<x>0</x> |
||||
<y>0</y> |
||||
<width>800</width> |
||||
<height>600</height> |
||||
</rect> |
||||
</property> |
||||
<property name="windowTitle"> |
||||
<string>MainWindow</string> |
||||
</property> |
||||
<widget class="QMenuBar" name="menubar"/> |
||||
<widget class="QWidget" name="centralwidget"/> |
||||
<widget class="QStatusBar" name="statusbar"/> |
||||
</widget> |
||||
<pixmapfunction/> |
||||
<connections/> |
||||
</ui> |
@ -0,0 +1,46 @@
@@ -0,0 +1,46 @@
|
||||
/*=====================================================================
|
||||
|
||||
QGroundControl Open Source Ground Control Station |
||||
|
||||
(c) 2009 - 2011 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
|
||||
|
||||
This file is part of the QGROUNDCONTROL project |
||||
|
||||
QGROUNDCONTROL is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 3 of the License, or |
||||
(at your option) any later version. |
||||
|
||||
QGROUNDCONTROL is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License |
||||
along with QGROUNDCONTROL. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
======================================================================*/ |
||||
|
||||
/**
|
||||
* @file |
||||
* @brief Main executable |
||||
* @author Lorenz Meier <lm@inf.ethz.ch> |
||||
* |
||||
*/ |
||||
|
||||
#include <QtGui/QApplication> |
||||
#include "QGCVideoApp.h" |
||||
|
||||
/**
|
||||
* @brief Starts the application |
||||
* |
||||
* @param argc Number of commandline arguments |
||||
* @param argv Commandline arguments |
||||
* @return exit code, 0 for normal exit and !=0 for error cases |
||||
*/ |
||||
int main(int argc, char *argv[]) |
||||
{ |
||||
|
||||
QGCVideoApp app(argc, argv); |
||||
return app.exec(); |
||||
} |
Loading…
Reference in new issue