From f1a8f861f3317639d4a43a91e63cd5d85509b458 Mon Sep 17 00:00:00 2001 From: dankers Date: Wed, 16 Dec 2009 20:24:36 +0000 Subject: [PATCH] Basic bits created by Qt creator git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@73 ebee16cc-31ac-478f-84a7-5cbb03baadba --- ground/OpenPilotGCS/Makefile | 143 ++++++++++++++++++++++++++ ground/OpenPilotGCS/Makefile.Debug | 144 +++++++++++++++++++++++++++ ground/OpenPilotGCS/Makefile.Release | 144 +++++++++++++++++++++++++++ ground/OpenPilotGCS/ui_mainwindow.h | 71 +++++++++++++ 4 files changed, 502 insertions(+) create mode 100644 ground/OpenPilotGCS/Makefile create mode 100644 ground/OpenPilotGCS/Makefile.Debug create mode 100644 ground/OpenPilotGCS/Makefile.Release create mode 100644 ground/OpenPilotGCS/ui_mainwindow.h diff --git a/ground/OpenPilotGCS/Makefile b/ground/OpenPilotGCS/Makefile new file mode 100644 index 000000000..5bd375713 --- /dev/null +++ b/ground/OpenPilotGCS/Makefile @@ -0,0 +1,143 @@ +############################################################################# +# Makefile for building: OpenPilotGCS +# Generated by qmake (2.01a) (Qt 4.6.0) on: Wed 16. Dec 17:39:22 2009 +# Project: OpenPilotGCS.pro +# Template: app +# Command: c:\qt\2009.05\qt\bin\qmake.exe -spec c:\Qt\2009.05\qt\mkspecs\win32-g++ -win32 -o Makefile OpenPilotGCS.pro +############################################################################# + +first: debug +install: debug-install +uninstall: debug-uninstall +MAKEFILE = Makefile +QMAKE = c:\qt\2009.05\qt\bin\qmake.exe +DEL_FILE = del +CHK_DIR_EXISTS= if not exist +MKDIR = mkdir +COPY = copy /y +COPY_FILE = $(COPY) +COPY_DIR = xcopy /s /q /y /i +INSTALL_FILE = $(COPY_FILE) +INSTALL_PROGRAM = $(COPY_FILE) +INSTALL_DIR = $(COPY_DIR) +DEL_FILE = del +SYMLINK = +DEL_DIR = rmdir +MOVE = move +CHK_DIR_EXISTS= if not exist +MKDIR = mkdir +SUBTARGETS = \ + debug \ + release + +debug: $(MAKEFILE).Debug FORCE + $(MAKE) -f $(MAKEFILE).Debug +debug-make_default: $(MAKEFILE).Debug FORCE + $(MAKE) -f $(MAKEFILE).Debug +debug-make_first: $(MAKEFILE).Debug FORCE + $(MAKE) -f $(MAKEFILE).Debug first +debug-all: $(MAKEFILE).Debug FORCE + $(MAKE) -f $(MAKEFILE).Debug all +debug-clean: $(MAKEFILE).Debug FORCE + $(MAKE) -f $(MAKEFILE).Debug clean +debug-distclean: $(MAKEFILE).Debug FORCE + $(MAKE) -f $(MAKEFILE).Debug distclean +debug-install: $(MAKEFILE).Debug FORCE + $(MAKE) -f $(MAKEFILE).Debug install +debug-uninstall: $(MAKEFILE).Debug FORCE + $(MAKE) -f $(MAKEFILE).Debug uninstall +release: $(MAKEFILE).Release FORCE + $(MAKE) -f $(MAKEFILE).Release +release-make_default: $(MAKEFILE).Release FORCE + $(MAKE) -f $(MAKEFILE).Release +release-make_first: $(MAKEFILE).Release FORCE + $(MAKE) -f $(MAKEFILE).Release first +release-all: $(MAKEFILE).Release FORCE + $(MAKE) -f $(MAKEFILE).Release all +release-clean: $(MAKEFILE).Release FORCE + $(MAKE) -f $(MAKEFILE).Release clean +release-distclean: $(MAKEFILE).Release FORCE + $(MAKE) -f $(MAKEFILE).Release distclean +release-install: $(MAKEFILE).Release FORCE + $(MAKE) -f $(MAKEFILE).Release install +release-uninstall: $(MAKEFILE).Release FORCE + $(MAKE) -f $(MAKEFILE).Release uninstall + +Makefile: OpenPilotGCS.pro c:/Qt/2009.05/qt/mkspecs/win32-g++/qmake.conf c:/Qt/2009.05/qt/mkspecs/qconfig.pri \ + c:/Qt/2009.05/qt/mkspecs/features/qt_functions.prf \ + c:/Qt/2009.05/qt/mkspecs/features/qt_config.prf \ + c:/Qt/2009.05/qt/mkspecs/features/exclusive_builds.prf \ + c:/Qt/2009.05/qt/mkspecs/features/default_pre.prf \ + c:/Qt/2009.05/qt/mkspecs/features/win32/default_pre.prf \ + c:/Qt/2009.05/qt/mkspecs/features/debug.prf \ + c:/Qt/2009.05/qt/mkspecs/features/debug_and_release.prf \ + c:/Qt/2009.05/qt/mkspecs/features/default_post.prf \ + c:/Qt/2009.05/qt/mkspecs/features/win32/default_post.prf \ + c:/Qt/2009.05/qt/mkspecs/features/win32/rtti.prf \ + c:/Qt/2009.05/qt/mkspecs/features/win32/exceptions.prf \ + c:/Qt/2009.05/qt/mkspecs/features/win32/stl.prf \ + c:/Qt/2009.05/qt/mkspecs/features/shared.prf \ + c:/Qt/2009.05/qt/mkspecs/features/warn_on.prf \ + c:/Qt/2009.05/qt/mkspecs/features/qt.prf \ + c:/Qt/2009.05/qt/mkspecs/features/win32/thread.prf \ + c:/Qt/2009.05/qt/mkspecs/features/moc.prf \ + c:/Qt/2009.05/qt/mkspecs/features/win32/windows.prf \ + c:/Qt/2009.05/qt/mkspecs/features/resources.prf \ + c:/Qt/2009.05/qt/mkspecs/features/uic.prf \ + c:/Qt/2009.05/qt/mkspecs/features/yacc.prf \ + c:/Qt/2009.05/qt/mkspecs/features/lex.prf \ + c:/Qt/2009.05/qt/mkspecs/features/include_source_dir.prf \ + c:/Qt/2009.05/qt/lib/qtmaind.prl + $(QMAKE) -spec c:\Qt\2009.05\qt\mkspecs\win32-g++ -win32 -o Makefile OpenPilotGCS.pro +c:\Qt\2009.05\qt\mkspecs\qconfig.pri: +c:\Qt\2009.05\qt\mkspecs\features\qt_functions.prf: +c:\Qt\2009.05\qt\mkspecs\features\qt_config.prf: +c:\Qt\2009.05\qt\mkspecs\features\exclusive_builds.prf: +c:\Qt\2009.05\qt\mkspecs\features\default_pre.prf: +c:\Qt\2009.05\qt\mkspecs\features\win32\default_pre.prf: +c:\Qt\2009.05\qt\mkspecs\features\debug.prf: +c:\Qt\2009.05\qt\mkspecs\features\debug_and_release.prf: +c:\Qt\2009.05\qt\mkspecs\features\default_post.prf: +c:\Qt\2009.05\qt\mkspecs\features\win32\default_post.prf: +c:\Qt\2009.05\qt\mkspecs\features\win32\rtti.prf: +c:\Qt\2009.05\qt\mkspecs\features\win32\exceptions.prf: +c:\Qt\2009.05\qt\mkspecs\features\win32\stl.prf: +c:\Qt\2009.05\qt\mkspecs\features\shared.prf: +c:\Qt\2009.05\qt\mkspecs\features\warn_on.prf: +c:\Qt\2009.05\qt\mkspecs\features\qt.prf: +c:\Qt\2009.05\qt\mkspecs\features\win32\thread.prf: +c:\Qt\2009.05\qt\mkspecs\features\moc.prf: +c:\Qt\2009.05\qt\mkspecs\features\win32\windows.prf: +c:\Qt\2009.05\qt\mkspecs\features\resources.prf: +c:\Qt\2009.05\qt\mkspecs\features\uic.prf: +c:\Qt\2009.05\qt\mkspecs\features\yacc.prf: +c:\Qt\2009.05\qt\mkspecs\features\lex.prf: +c:\Qt\2009.05\qt\mkspecs\features\include_source_dir.prf: +c:\Qt\2009.05\qt\lib\qtmaind.prl: +qmake: qmake_all FORCE + @$(QMAKE) -spec c:\Qt\2009.05\qt\mkspecs\win32-g++ -win32 -o Makefile OpenPilotGCS.pro + +qmake_all: FORCE + +make_default: debug-make_default release-make_default FORCE +make_first: debug-make_first release-make_first FORCE +all: debug-all release-all FORCE +clean: debug-clean release-clean FORCE +distclean: debug-distclean release-distclean FORCE + -$(DEL_FILE) Makefile + +debug-mocclean: $(MAKEFILE).Debug + $(MAKE) -f $(MAKEFILE).Debug mocclean +release-mocclean: $(MAKEFILE).Release + $(MAKE) -f $(MAKEFILE).Release mocclean +mocclean: debug-mocclean release-mocclean + +debug-mocables: $(MAKEFILE).Debug + $(MAKE) -f $(MAKEFILE).Debug mocables +release-mocables: $(MAKEFILE).Release + $(MAKE) -f $(MAKEFILE).Release mocables +mocables: debug-mocables release-mocables +FORCE: + +$(MAKEFILE).Debug: Makefile +$(MAKEFILE).Release: Makefile diff --git a/ground/OpenPilotGCS/Makefile.Debug b/ground/OpenPilotGCS/Makefile.Debug new file mode 100644 index 000000000..56985e972 --- /dev/null +++ b/ground/OpenPilotGCS/Makefile.Debug @@ -0,0 +1,144 @@ +############################################################################# +# Makefile for building: OpenPilotGCS +# Generated by qmake (2.01a) (Qt 4.6.0) on: Wed 16. Dec 17:39:22 2009 +# Project: OpenPilotGCS.pro +# Template: app +############################################################################# + +####### Compiler, tools and options + +CC = gcc +CXX = g++ +DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN +CFLAGS = -g -Wall $(DEFINES) +CXXFLAGS = -g -frtti -fexceptions -mthreads -Wall $(DEFINES) +INCPATH = -I"c:\Qt\2009.05\qt\include\QtCore" -I"c:\Qt\2009.05\qt\include\QtGui" -I"c:\Qt\2009.05\qt\include\QtSvg" -I"c:\Qt\2009.05\qt\include" -I"c:\Qt\2009.05\qt\include\ActiveQt" -I"debug" -I"." -I"c:\Qt\2009.05\qt\mkspecs\win32-g++" +LINK = g++ +LFLAGS = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows +LIBS = -L"c:\Qt\2009.05\qt\lib" -lmingw32 -lqtmaind -lQtSvgd4 -lQtGuid4 -lQtCored4 +QMAKE = c:\qt\2009.05\qt\bin\qmake.exe +IDC = c:\Qt\2009.05\qt\bin\idc.exe +IDL = midl +ZIP = zip -r -9 +DEF_FILE = +RES_FILE = +COPY = copy /y +COPY_FILE = $(COPY) +COPY_DIR = xcopy /s /q /y /i +DEL_FILE = del +DEL_DIR = rmdir +MOVE = move +CHK_DIR_EXISTS= if not exist +MKDIR = mkdir +INSTALL_FILE = $(COPY_FILE) +INSTALL_PROGRAM = $(COPY_FILE) +INSTALL_DIR = $(COPY_DIR) + +####### Output directory + +OBJECTS_DIR = debug + +####### Files + +SOURCES = main.cpp \ + mainwindow.cpp debug\moc_mainwindow.cpp +OBJECTS = debug/main.o \ + debug/mainwindow.o \ + debug/moc_mainwindow.o +DIST = +QMAKE_TARGET = OpenPilotGCS +DESTDIR = debug\ #avoid trailing-slash linebreak +TARGET = OpenPilotGCS.exe +DESTDIR_TARGET = debug\OpenPilotGCS.exe + +####### Implicit rules + +.SUFFIXES: .cpp .cc .cxx .c + +.cpp.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.cc.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.cxx.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.c.o: + $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< + +####### Build rules + +first: all +all: Makefile.Debug $(DESTDIR_TARGET) + +$(DESTDIR_TARGET): ui_mainwindow.h $(OBJECTS) + $(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) $(OBJECTS) $(LIBS) + + +qmake: FORCE + @$(QMAKE) -spec c:\Qt\2009.05\qt\mkspecs\win32-g++ -win32 -o Makefile.Debug OpenPilotGCS.pro + +dist: + $(ZIP) OpenPilotGCS.zip $(SOURCES) $(DIST) OpenPilotGCS.pro c:\Qt\2009.05\qt\mkspecs\qconfig.pri c:\Qt\2009.05\qt\mkspecs\features\qt_functions.prf c:\Qt\2009.05\qt\mkspecs\features\qt_config.prf c:\Qt\2009.05\qt\mkspecs\features\exclusive_builds.prf c:\Qt\2009.05\qt\mkspecs\features\default_pre.prf c:\Qt\2009.05\qt\mkspecs\features\win32\default_pre.prf c:\Qt\2009.05\qt\mkspecs\features\debug.prf c:\Qt\2009.05\qt\mkspecs\features\debug_and_release.prf c:\Qt\2009.05\qt\mkspecs\features\default_post.prf c:\Qt\2009.05\qt\mkspecs\features\win32\default_post.prf c:\Qt\2009.05\qt\mkspecs\features\build_pass.prf c:\Qt\2009.05\qt\mkspecs\features\win32\rtti.prf c:\Qt\2009.05\qt\mkspecs\features\win32\exceptions.prf c:\Qt\2009.05\qt\mkspecs\features\win32\stl.prf c:\Qt\2009.05\qt\mkspecs\features\shared.prf c:\Qt\2009.05\qt\mkspecs\features\warn_on.prf c:\Qt\2009.05\qt\mkspecs\features\qt.prf c:\Qt\2009.05\qt\mkspecs\features\win32\thread.prf c:\Qt\2009.05\qt\mkspecs\features\moc.prf c:\Qt\2009.05\qt\mkspecs\features\win32\windows.prf c:\Qt\2009.05\qt\mkspecs\features\resources.prf c:\Qt\2009.05\qt\mkspecs\features\uic.prf c:\Qt\2009.05\qt\mkspecs\features\yacc.prf c:\Qt\2009.05\qt\mkspecs\features\lex.prf c:\Qt\2009.05\qt\mkspecs\features\include_source_dir.prf c:\Qt\2009.05\qt\lib\qtmaind.prl HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES + +clean: compiler_clean + -$(DEL_FILE) debug\main.o debug\mainwindow.o debug\moc_mainwindow.o + +distclean: clean + -$(DEL_FILE) $(DESTDIR_TARGET) + -$(DEL_FILE) Makefile.Debug + +mocclean: compiler_moc_header_clean compiler_moc_source_clean + +mocables: compiler_moc_header_make_all compiler_moc_source_make_all + +compiler_moc_header_make_all: debug/moc_mainwindow.cpp +compiler_moc_header_clean: + -$(DEL_FILE) debug\moc_mainwindow.cpp +debug/moc_mainwindow.cpp: mainwindow.h + C:/Qt/2009.05/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mainwindow.h -o debug\moc_mainwindow.cpp + +compiler_rcc_make_all: +compiler_rcc_clean: +compiler_image_collection_make_all: qmake_image_collection.cpp +compiler_image_collection_clean: + -$(DEL_FILE) qmake_image_collection.cpp +compiler_moc_source_make_all: +compiler_moc_source_clean: +compiler_uic_make_all: ui_mainwindow.h +compiler_uic_clean: + -$(DEL_FILE) ui_mainwindow.h +ui_mainwindow.h: mainwindow.ui + c:\Qt\2009.05\qt\bin\uic.exe mainwindow.ui -o ui_mainwindow.h + +compiler_yacc_decl_make_all: +compiler_yacc_decl_clean: +compiler_yacc_impl_make_all: +compiler_yacc_impl_clean: +compiler_lex_make_all: +compiler_lex_clean: +compiler_clean: compiler_moc_header_clean compiler_uic_clean + + + +####### Compile + +debug/main.o: main.cpp mainwindow.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\main.o main.cpp + +debug/mainwindow.o: mainwindow.cpp mainwindow.h \ + ui_mainwindow.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\mainwindow.o mainwindow.cpp + +debug/moc_mainwindow.o: debug/moc_mainwindow.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_mainwindow.o debug\moc_mainwindow.cpp + +####### Install + +install: FORCE + +uninstall: FORCE + +FORCE: + diff --git a/ground/OpenPilotGCS/Makefile.Release b/ground/OpenPilotGCS/Makefile.Release new file mode 100644 index 000000000..fee710c25 --- /dev/null +++ b/ground/OpenPilotGCS/Makefile.Release @@ -0,0 +1,144 @@ +############################################################################# +# Makefile for building: OpenPilotGCS +# Generated by qmake (2.01a) (Qt 4.6.0) on: Wed 16. Dec 17:39:22 2009 +# Project: OpenPilotGCS.pro +# Template: app +############################################################################# + +####### Compiler, tools and options + +CC = gcc +CXX = g++ +DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN +CFLAGS = -O2 -Wall $(DEFINES) +CXXFLAGS = -O2 -frtti -fexceptions -mthreads -Wall $(DEFINES) +INCPATH = -I"c:\Qt\2009.05\qt\include\QtCore" -I"c:\Qt\2009.05\qt\include\QtGui" -I"c:\Qt\2009.05\qt\include\QtSvg" -I"c:\Qt\2009.05\qt\include" -I"c:\Qt\2009.05\qt\include\ActiveQt" -I"release" -I"." -I"c:\Qt\2009.05\qt\mkspecs\win32-g++" +LINK = g++ +LFLAGS = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows +LIBS = -L"c:\Qt\2009.05\qt\lib" -lmingw32 -lqtmain -lQtSvg4 -lQtGui4 -lQtCore4 +QMAKE = c:\qt\2009.05\qt\bin\qmake.exe +IDC = c:\Qt\2009.05\qt\bin\idc.exe +IDL = midl +ZIP = zip -r -9 +DEF_FILE = +RES_FILE = +COPY = copy /y +COPY_FILE = $(COPY) +COPY_DIR = xcopy /s /q /y /i +DEL_FILE = del +DEL_DIR = rmdir +MOVE = move +CHK_DIR_EXISTS= if not exist +MKDIR = mkdir +INSTALL_FILE = $(COPY_FILE) +INSTALL_PROGRAM = $(COPY_FILE) +INSTALL_DIR = $(COPY_DIR) + +####### Output directory + +OBJECTS_DIR = release + +####### Files + +SOURCES = main.cpp \ + mainwindow.cpp release\moc_mainwindow.cpp +OBJECTS = release/main.o \ + release/mainwindow.o \ + release/moc_mainwindow.o +DIST = +QMAKE_TARGET = OpenPilotGCS +DESTDIR = release\ #avoid trailing-slash linebreak +TARGET = OpenPilotGCS.exe +DESTDIR_TARGET = release\OpenPilotGCS.exe + +####### Implicit rules + +.SUFFIXES: .cpp .cc .cxx .c + +.cpp.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.cc.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.cxx.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.c.o: + $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< + +####### Build rules + +first: all +all: Makefile.Release $(DESTDIR_TARGET) + +$(DESTDIR_TARGET): ui_mainwindow.h $(OBJECTS) + $(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) $(OBJECTS) $(LIBS) + + +qmake: FORCE + @$(QMAKE) -spec c:\Qt\2009.05\qt\mkspecs\win32-g++ -win32 -o Makefile.Release OpenPilotGCS.pro + +dist: + $(ZIP) OpenPilotGCS.zip $(SOURCES) $(DIST) OpenPilotGCS.pro c:\Qt\2009.05\qt\mkspecs\qconfig.pri c:\Qt\2009.05\qt\mkspecs\features\qt_functions.prf c:\Qt\2009.05\qt\mkspecs\features\qt_config.prf c:\Qt\2009.05\qt\mkspecs\features\exclusive_builds.prf c:\Qt\2009.05\qt\mkspecs\features\default_pre.prf c:\Qt\2009.05\qt\mkspecs\features\win32\default_pre.prf c:\Qt\2009.05\qt\mkspecs\features\release.prf c:\Qt\2009.05\qt\mkspecs\features\debug_and_release.prf c:\Qt\2009.05\qt\mkspecs\features\default_post.prf c:\Qt\2009.05\qt\mkspecs\features\win32\default_post.prf c:\Qt\2009.05\qt\mkspecs\features\build_pass.prf c:\Qt\2009.05\qt\mkspecs\features\win32\rtti.prf c:\Qt\2009.05\qt\mkspecs\features\win32\exceptions.prf c:\Qt\2009.05\qt\mkspecs\features\win32\stl.prf c:\Qt\2009.05\qt\mkspecs\features\shared.prf c:\Qt\2009.05\qt\mkspecs\features\warn_on.prf c:\Qt\2009.05\qt\mkspecs\features\qt.prf c:\Qt\2009.05\qt\mkspecs\features\win32\thread.prf c:\Qt\2009.05\qt\mkspecs\features\moc.prf c:\Qt\2009.05\qt\mkspecs\features\win32\windows.prf c:\Qt\2009.05\qt\mkspecs\features\resources.prf c:\Qt\2009.05\qt\mkspecs\features\uic.prf c:\Qt\2009.05\qt\mkspecs\features\yacc.prf c:\Qt\2009.05\qt\mkspecs\features\lex.prf c:\Qt\2009.05\qt\mkspecs\features\include_source_dir.prf c:\Qt\2009.05\qt\lib\qtmain.prl HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES + +clean: compiler_clean + -$(DEL_FILE) release\main.o release\mainwindow.o release\moc_mainwindow.o + +distclean: clean + -$(DEL_FILE) $(DESTDIR_TARGET) + -$(DEL_FILE) Makefile.Release + +mocclean: compiler_moc_header_clean compiler_moc_source_clean + +mocables: compiler_moc_header_make_all compiler_moc_source_make_all + +compiler_moc_header_make_all: release/moc_mainwindow.cpp +compiler_moc_header_clean: + -$(DEL_FILE) release\moc_mainwindow.cpp +release/moc_mainwindow.cpp: mainwindow.h + C:/Qt/2009.05/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mainwindow.h -o release\moc_mainwindow.cpp + +compiler_rcc_make_all: +compiler_rcc_clean: +compiler_image_collection_make_all: qmake_image_collection.cpp +compiler_image_collection_clean: + -$(DEL_FILE) qmake_image_collection.cpp +compiler_moc_source_make_all: +compiler_moc_source_clean: +compiler_uic_make_all: ui_mainwindow.h +compiler_uic_clean: + -$(DEL_FILE) ui_mainwindow.h +ui_mainwindow.h: mainwindow.ui + c:\Qt\2009.05\qt\bin\uic.exe mainwindow.ui -o ui_mainwindow.h + +compiler_yacc_decl_make_all: +compiler_yacc_decl_clean: +compiler_yacc_impl_make_all: +compiler_yacc_impl_clean: +compiler_lex_make_all: +compiler_lex_clean: +compiler_clean: compiler_moc_header_clean compiler_uic_clean + + + +####### Compile + +release/main.o: main.cpp mainwindow.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\main.o main.cpp + +release/mainwindow.o: mainwindow.cpp mainwindow.h \ + ui_mainwindow.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\mainwindow.o mainwindow.cpp + +release/moc_mainwindow.o: release/moc_mainwindow.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_mainwindow.o release\moc_mainwindow.cpp + +####### Install + +install: FORCE + +uninstall: FORCE + +FORCE: + diff --git a/ground/OpenPilotGCS/ui_mainwindow.h b/ground/OpenPilotGCS/ui_mainwindow.h new file mode 100644 index 000000000..5bf034608 --- /dev/null +++ b/ground/OpenPilotGCS/ui_mainwindow.h @@ -0,0 +1,71 @@ +/******************************************************************************** +** Form generated from reading UI file 'mainwindow.ui' +** +** Created: Wed 16. Dec 00:39:30 2009 +** by: Qt User Interface Compiler version 4.6.0 +** +** WARNING! All changes made in this file will be lost when recompiling UI file! +********************************************************************************/ + +#ifndef UI_MAINWINDOW_H +#define UI_MAINWINDOW_H + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QT_BEGIN_NAMESPACE + +class Ui_MainWindow +{ +public: + QWidget *centralWidget; + QMenuBar *menuBar; + QToolBar *mainToolBar; + QStatusBar *statusBar; + + void setupUi(QMainWindow *MainWindow) + { + if (MainWindow->objectName().isEmpty()) + MainWindow->setObjectName(QString::fromUtf8("MainWindow")); + MainWindow->resize(600, 400); + centralWidget = new QWidget(MainWindow); + centralWidget->setObjectName(QString::fromUtf8("centralWidget")); + MainWindow->setCentralWidget(centralWidget); + menuBar = new QMenuBar(MainWindow); + menuBar->setObjectName(QString::fromUtf8("menuBar")); + menuBar->setGeometry(QRect(0, 0, 600, 21)); + MainWindow->setMenuBar(menuBar); + mainToolBar = new QToolBar(MainWindow); + mainToolBar->setObjectName(QString::fromUtf8("mainToolBar")); + MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar); + statusBar = new QStatusBar(MainWindow); + statusBar->setObjectName(QString::fromUtf8("statusBar")); + MainWindow->setStatusBar(statusBar); + + retranslateUi(MainWindow); + + QMetaObject::connectSlotsByName(MainWindow); + } // setupUi + + void retranslateUi(QMainWindow *MainWindow) + { + MainWindow->setWindowTitle(QApplication::translate("MainWindow", "OpenPilot GCS", 0, QApplication::UnicodeUTF8)); + } // retranslateUi + +}; + +namespace Ui { + class MainWindow: public Ui_MainWindow {}; +} // namespace Ui + +QT_END_NAMESPACE + +#endif // UI_MAINWINDOW_H