1 | #
|
---|
2 | # VBox GUI: main Qt project file.
|
---|
3 | #
|
---|
4 | # NOTE: This file is NOT intended to be opened by Qt Designer!
|
---|
5 | #
|
---|
6 | # Copyright (C) 2006 InnoTek Systemberatung GmbH
|
---|
7 | #
|
---|
8 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | # available from http://www.virtualbox.org. This file is free software;
|
---|
10 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | # General Public License as published by the Free Software Foundation,
|
---|
12 | # in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
13 | # distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
14 | # be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | #
|
---|
16 | # If you received this file as part of a commercial VirtualBox
|
---|
17 | # distribution, then only the terms of your commercial VirtualBox
|
---|
18 | # license agreement apply instead of the previous paragraph.
|
---|
19 | #
|
---|
20 |
|
---|
21 | TEMPLATE = app
|
---|
22 |
|
---|
23 | os2:TARGET = VirtualBox_2
|
---|
24 | win32:TARGET = VirtualBox_w
|
---|
25 | x11:TARGET = VirtualBox_x
|
---|
26 |
|
---|
27 | CONFIG -= debug
|
---|
28 | CONFIG += qt warn_on release console
|
---|
29 |
|
---|
30 | DEFINES += VBOX_DEBUG VBOX_CHECK_STATE
|
---|
31 | #win32:CONFIG += debug
|
---|
32 |
|
---|
33 | DEPENDPATH += include ../../../include
|
---|
34 | INCLUDEPATH += include ../../../include
|
---|
35 |
|
---|
36 | HEADERS += \
|
---|
37 | include/COM.h \
|
---|
38 | include/CIShared.h \
|
---|
39 | include/QIWidgetValidator.h \
|
---|
40 | include/VMConfigObject.h \
|
---|
41 | include/VMManager.h \
|
---|
42 | include/VMNamespace.h \
|
---|
43 | include/VBoxGlobal.h \
|
---|
44 | include/VBoxSelectorWnd.h \
|
---|
45 | include/VBoxConsoleView.h \
|
---|
46 | include/VBoxConsoleWnd.h \
|
---|
47 | include/VBoxToolBar.h \
|
---|
48 | include/VBoxVMListBox.h
|
---|
49 |
|
---|
50 | SOURCES += \
|
---|
51 | src/COM.cpp \
|
---|
52 | src/main.cpp \
|
---|
53 | src/QIWidgetValidator.cpp \
|
---|
54 | src/VMConfigObject.cpp \
|
---|
55 | src/VMManager.cpp \
|
---|
56 | src/VBoxGlobal.cpp \
|
---|
57 | src/VBoxSelectorWnd.cpp \
|
---|
58 | src/VBoxConsoleView.cpp \
|
---|
59 | src/VBoxConsoleWnd.cpp \
|
---|
60 | src/VBoxVMListBox.cpp
|
---|
61 |
|
---|
62 | # Qt Designer project file
|
---|
63 | # we need it to be separate from the main project file
|
---|
64 | include( VBoxUI.pro )
|
---|
65 |
|
---|
66 | TRANSLATIONS = \
|
---|
67 | vboxgui_de.ts \
|
---|
68 | vboxgui_ru.ts
|
---|
69 |
|
---|
70 | UI_DIR = .ui
|
---|
71 | MOC_DIR = .moc
|
---|
72 | # we use "ob" instead of "obj" because of the MINGW generator bug
|
---|
73 | # (it replaces "obj" it with "o" in the clean target)
|
---|
74 | os2:OBJECTS_DIR = .ob/os2
|
---|
75 | win32:OBJECTS_DIR = .ob/win32
|
---|
76 | x11:OBJECTS_DIR = .ob/x11
|
---|
77 |
|
---|
78 | # Qt library dependencies
|
---|
79 | os2:PRE_TARGETDEPS += $(QTDIR)\lib\libqt-mt.a
|
---|
80 | #win32:PRE_TARGETDEPS += $(QTDIR)\lib\qt-mt331.lib
|
---|