mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
Fresh Start on GCS, new ideas, its a brand new day in GCS town! Good morning Mr. Waypoint, Mr. Setup-Wizard and all your happy friends.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@141 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
53ea65bb2f
commit
84b826bbf1
@ -1,143 +0,0 @@
|
|||||||
#############################################################################
|
|
||||||
# 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
|
|
@ -1,144 +0,0 @@
|
|||||||
#############################################################################
|
|
||||||
# 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:
|
|
||||||
|
|
@ -1,144 +0,0 @@
|
|||||||
#############################################################################
|
|
||||||
# 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:
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
|||||||
#-------------------------------------------------
|
|
||||||
#
|
|
||||||
# Project created by QtCreator 2009-12-16T00:09:29
|
|
||||||
#
|
|
||||||
#-------------------------------------------------
|
|
||||||
|
|
||||||
QT += svg
|
|
||||||
|
|
||||||
TARGET = OpenPilotGCS
|
|
||||||
TEMPLATE = app
|
|
||||||
|
|
||||||
|
|
||||||
SOURCES += main.cpp\
|
|
||||||
mainwindow.cpp
|
|
||||||
|
|
||||||
HEADERS += mainwindow.h
|
|
||||||
|
|
||||||
FORMS += mainwindow.ui
|
|
@ -1,137 +0,0 @@
|
|||||||
<!DOCTYPE QtCreatorProject>
|
|
||||||
<qtcreator>
|
|
||||||
<data>
|
|
||||||
<variable>RunConfiguration0-BaseEnvironmentBase</variable>
|
|
||||||
<value type="int">2</value>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>RunConfiguration0-CommandLineArguments</variable>
|
|
||||||
<valuelist type="QVariantList"/>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>RunConfiguration0-ProFile</variable>
|
|
||||||
<value type="QString">OpenPilotGCS.pro</value>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>RunConfiguration0-RunConfiguration.name</variable>
|
|
||||||
<value type="QString">OpenPilotGCS</value>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>RunConfiguration0-UseDyldImageSuffix</variable>
|
|
||||||
<value type="bool">false</value>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>RunConfiguration0-UseTerminal</variable>
|
|
||||||
<value type="bool">false</value>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>RunConfiguration0-UserEnvironmentChanges</variable>
|
|
||||||
<valuelist type="QVariantList"/>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>RunConfiguration0-UserSetName</variable>
|
|
||||||
<value type="bool">false</value>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>RunConfiguration0-UserSetWorkingDirectory</variable>
|
|
||||||
<value type="bool">false</value>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>RunConfiguration0-UserWorkingDirectory</variable>
|
|
||||||
<value type="QString"></value>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>RunConfiguration0-type</variable>
|
|
||||||
<value type="QString">Qt4ProjectManager.Qt4RunConfiguration</value>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>activeRunConfiguration</variable>
|
|
||||||
<value type="int">0</value>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>activebuildconfiguration</variable>
|
|
||||||
<value type="QString">Debug</value>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>buildConfiguration-Debug</variable>
|
|
||||||
<valuemap type="QVariantMap">
|
|
||||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
|
|
||||||
<value key="QtVersionId" type="int">5</value>
|
|
||||||
<value key="ToolChain" type="int">2</value>
|
|
||||||
<value key="buildConfiguration" type="int">2</value>
|
|
||||||
</valuemap>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>buildconfiguration-Debug-buildstep0</variable>
|
|
||||||
<valuemap type="QVariantMap">
|
|
||||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
|
|
||||||
<valuelist key="qmakeArgs" type="QVariantList">
|
|
||||||
<value type="QString">-spec</value>
|
|
||||||
<value type="QString">c:\Qt\2009.05\qt\mkspecs\win32-g++</value>
|
|
||||||
</valuelist>
|
|
||||||
</valuemap>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>buildconfiguration-Debug-buildstep1</variable>
|
|
||||||
<valuemap type="QVariantMap">
|
|
||||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
|
|
||||||
</valuemap>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>buildconfiguration-Debug-cleanstep0</variable>
|
|
||||||
<valuemap type="QVariantMap">
|
|
||||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
|
|
||||||
<value key="cleanConfig" type="bool">true</value>
|
|
||||||
<valuelist key="makeargs" type="QVariantList">
|
|
||||||
<value type="QString">clean</value>
|
|
||||||
</valuelist>
|
|
||||||
</valuemap>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>buildconfigurations</variable>
|
|
||||||
<valuelist type="QVariantList">
|
|
||||||
<value type="QString">Debug</value>
|
|
||||||
</valuelist>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>buildstep0</variable>
|
|
||||||
<valuemap type="QVariantMap">
|
|
||||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString"></value>
|
|
||||||
<value key="mkspec" type="QString"></value>
|
|
||||||
</valuemap>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>buildstep1</variable>
|
|
||||||
<valuemap type="QVariantMap">
|
|
||||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString"></value>
|
|
||||||
</valuemap>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>buildsteps</variable>
|
|
||||||
<valuelist type="QVariantList">
|
|
||||||
<value type="QString">trolltech.qt4projectmanager.qmake</value>
|
|
||||||
<value type="QString">trolltech.qt4projectmanager.make</value>
|
|
||||||
</valuelist>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>cleanstep0</variable>
|
|
||||||
<valuemap type="QVariantMap">
|
|
||||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString"></value>
|
|
||||||
<value key="clean" type="bool">true</value>
|
|
||||||
</valuemap>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>cleansteps</variable>
|
|
||||||
<valuelist type="QVariantList">
|
|
||||||
<value type="QString">trolltech.qt4projectmanager.make</value>
|
|
||||||
</valuelist>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>defaultFileEncoding</variable>
|
|
||||||
<value type="QByteArray">System</value>
|
|
||||||
</data>
|
|
||||||
<data>
|
|
||||||
<variable>project</variable>
|
|
||||||
<valuemap type="QVariantMap"/>
|
|
||||||
</data>
|
|
||||||
</qtcreator>
|
|
@ -1,10 +0,0 @@
|
|||||||
#include <QtGui/QApplication>
|
|
||||||
#include "mainwindow.h"
|
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
|
||||||
{
|
|
||||||
QApplication a(argc, argv);
|
|
||||||
MainWindow w;
|
|
||||||
w.show();
|
|
||||||
return a.exec();
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
#include "mainwindow.h"
|
|
||||||
#include "ui_mainwindow.h"
|
|
||||||
|
|
||||||
MainWindow::MainWindow(QWidget *parent) :
|
|
||||||
QMainWindow(parent),
|
|
||||||
ui(new Ui::MainWindow)
|
|
||||||
{
|
|
||||||
ui->setupUi(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
MainWindow::~MainWindow()
|
|
||||||
{
|
|
||||||
delete ui;
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::changeEvent(QEvent *e)
|
|
||||||
{
|
|
||||||
QMainWindow::changeEvent(e);
|
|
||||||
switch (e->type()) {
|
|
||||||
case QEvent::LanguageChange:
|
|
||||||
ui->retranslateUi(this);
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
#ifndef MAINWINDOW_H
|
|
||||||
#define MAINWINDOW_H
|
|
||||||
|
|
||||||
#include <QMainWindow>
|
|
||||||
|
|
||||||
namespace Ui {
|
|
||||||
class MainWindow;
|
|
||||||
}
|
|
||||||
|
|
||||||
class MainWindow : public QMainWindow {
|
|
||||||
Q_OBJECT
|
|
||||||
public:
|
|
||||||
MainWindow(QWidget *parent = 0);
|
|
||||||
~MainWindow();
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void changeEvent(QEvent *e);
|
|
||||||
|
|
||||||
private:
|
|
||||||
Ui::MainWindow *ui;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // MAINWINDOW_H
|
|
@ -1,40 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<ui version="4.0">
|
|
||||||
<class>MainWindow</class>
|
|
||||||
<widget class="QMainWindow" name="MainWindow">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>0</x>
|
|
||||||
<y>0</y>
|
|
||||||
<width>600</width>
|
|
||||||
<height>400</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="windowTitle">
|
|
||||||
<string>OpenPilot GCS</string>
|
|
||||||
</property>
|
|
||||||
<widget class="QWidget" name="centralWidget"/>
|
|
||||||
<widget class="QMenuBar" name="menuBar">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>0</x>
|
|
||||||
<y>0</y>
|
|
||||||
<width>600</width>
|
|
||||||
<height>21</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QToolBar" name="mainToolBar">
|
|
||||||
<attribute name="toolBarArea">
|
|
||||||
<enum>TopToolBarArea</enum>
|
|
||||||
</attribute>
|
|
||||||
<attribute name="toolBarBreak">
|
|
||||||
<bool>false</bool>
|
|
||||||
</attribute>
|
|
||||||
</widget>
|
|
||||||
<widget class="QStatusBar" name="statusBar"/>
|
|
||||||
</widget>
|
|
||||||
<layoutdefault spacing="6" margin="11"/>
|
|
||||||
<resources/>
|
|
||||||
<connections/>
|
|
||||||
</ui>
|
|
@ -1,71 +0,0 @@
|
|||||||
/********************************************************************************
|
|
||||||
** 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 <QtCore/QVariant>
|
|
||||||
#include <QtGui/QAction>
|
|
||||||
#include <QtGui/QApplication>
|
|
||||||
#include <QtGui/QButtonGroup>
|
|
||||||
#include <QtGui/QHeaderView>
|
|
||||||
#include <QtGui/QMainWindow>
|
|
||||||
#include <QtGui/QMenuBar>
|
|
||||||
#include <QtGui/QStatusBar>
|
|
||||||
#include <QtGui/QToolBar>
|
|
||||||
#include <QtGui/QWidget>
|
|
||||||
|
|
||||||
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
|
|
Loading…
x
Reference in New Issue
Block a user