VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/precomp_vcc.h

Last change on this file was 104601, checked in by vboxsync, 2 months ago

FE/Qt: bugref:10450: Precompile headers stuff: Removing old pre-5.8 workaround.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.8 KB
Line 
1/* $Id: precomp_vcc.h 104601 2024-05-13 14:26:57Z vboxsync $*/
2/** @file
3 * VBox Qt GUI - Precompiled header for Visual C++.
4 */
5
6/*
7 * Copyright (C) 2016-2023 Oracle and/or its affiliates.
8 *
9 * This file is part of VirtualBox base platform packages, as
10 * available from https://www.virtualbox.org.
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation, in version 3 of the
15 * License.
16 *
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, see <https://www.gnu.org/licenses>.
24 *
25 * SPDX-License-Identifier: GPL-3.0-only
26 */
27
28
29/*
30 * General pickings
31 *
32 * Note! We do not include iprt/log.h or similar because we need to
33 * support selecting different log groups. So, for now we restrict
34 * ourselves to frequently used QT, compiler, and SDK headers.
35 */
36#include <QVariant>
37#include <QVarLengthArray>
38#include <QMutex>
39#include <QSysInfo>
40#include <QString>
41#include <QChar>
42
43#include <QApplication>
44
45#include <QGroupBox>
46#include <QPushButton>
47#include <QRadioButton>
48#include <QVBoxLayout>
49
50/* The most frequently used qt headers on windows hosts based on dependency files. */
51#include <qalgorithms.h>
52#include <qarraydata.h>
53#include <qatomic.h>
54#if _MSC_VER < 1910 /* Conflicts with qatomic_cxx11.h which is dragged in above somewhere. */
55# include <qatomic_msvc.h>
56#endif
57#include <qbasicatomic.h>
58#include <qbytearray.h>
59#include <qchar.h>
60#include <qcompilerdetection.h>
61#include <qconfig.h>
62#include <qcontainerfwd.h>
63#include <qflags.h>
64#include <qgenericatomic.h>
65#include <qglobalstatic.h>
66#ifndef VBOX_IS_QT6_OR_LATER
67# include <qisenum.h>
68#endif
69#include <qlogging.h>
70#include <qmutex.h>
71#include <qnamespace.h>
72#include <qnumeric.h>
73#include <qobjectdefs.h>
74#include <qprocessordetection.h>
75#include <qrefcount.h>
76#include <qstring.h>
77#include <qsysinfo.h>
78#include <qsystemdetection.h>
79#include <qtypeinfo.h>
80#include <qvarlengtharray.h>
81#include <qpair.h>
82#include <qmetatype.h>
83#include <qobject.h>
84#include <qscopedpointer.h>
85#include <qglobal.h>
86#include <qbytearraylist.h>
87#include <qiterator.h>
88#include <qlist.h>
89#include <qstringlist.h>
90#include <qstringmatcher.h>
91#ifndef VBOX_IS_QT6_OR_LATER
92# include <qtypetraits.h>
93#endif
94
95/* Less frequently included: */
96#include <QtWidgets/QGraphicsWidget>
97#include <QtWidgets/qgraphicsitem.h>
98#include <QtWidgets/qgraphicslayoutitem.h>
99#include <QtWidgets/qgraphicswidget.h>
100#include <QtCore/QMetaType>
101#include <QtGui/qevent.h>
102#ifndef VBOX_IS_QT6_OR_LATER
103# include <QtGui/qtouchdevice.h>
104#endif
105#include <QtGui/qvector2d.h>
106#include <QtCore/QEvent>
107#include <QtGui/qguiapplication.h>
108#include <QtGui/qinputmethod.h>
109#include <QtWidgets/QApplication>
110#include <QtWidgets/qapplication.h>
111#include <QtCore/qcoreapplication.h>
112#include <QtCore/qeventloop.h>
113#include <QtCore/qurl.h>
114#include <QtCore/qset.h>
115#include <QtCore/qfile.h>
116#include <QtCore/qfiledevice.h>
117#include <QtCore/qlocale.h>
118#include <QtCore/qcoreevent.h>
119#include <QtCore/QObject>
120#include <QtWidgets/qwidget.h>
121#include <QtCore/qvariant.h>
122#include <QtGui/qfontinfo.h>
123#include <QtGui/qfontmetrics.h>
124#include <QtGui/qcursor.h>
125#include <QtWidgets/qsizepolicy.h>
126#include <QtGui/qkeysequence.h>
127#include <QtGui/qpalette.h>
128#include <QtGui/qbrush.h>
129#include <QtGui/qfont.h>
130#include <QtCore/qmap.h>
131#include <QtCore/qline.h>
132#include <QtGui/qcolor.h>
133#include <QtGui/qimage.h>
134#ifndef VBOX_IS_QT6_OR_LATER
135# include <QtGui/qmatrix.h>
136#endif
137#include <QtGui/qpaintdevice.h>
138#include <QtGui/qpainterpath.h>
139#include <QtGui/qpixelformat.h>
140#include <QtGui/qpixmap.h>
141#include <QtGui/qpolygon.h>
142#include <QtGui/qrgb.h>
143#include <QtGui/qtransform.h>
144#include <QtCore/qdatastream.h>
145#include <QtGui/qregion.h>
146#include <QtGui/qwindowdefs.h>
147#include <QtGui/qwindowdefs_win.h>
148#include <QtCore/qiodevice.h>
149#include <QtCore/qsharedpointer.h>
150#include <QtCore/qshareddata.h>
151#include <QtCore/qvector.h>
152#include <QtCore/qmargins.h>
153#include <QtCore/qrect.h>
154#include <QtCore/qpoint.h>
155#include <QtCore/qsize.h>
156#include <QtCore/qhash.h>
157
158/* cdefs.h is a little bit of a question since it defines RT_STRICT, which
159 someone may want to redefine locally. But we need it for windows.h. */
160#include <iprt/cdefs.h>
161#include <iprt/win/windows.h>
162#include <iprt/types.h>
163#include <iprt/cpp/list.h>
164#include <iprt/cpp/meta.h>
165#include <iprt/cpp/ministring.h>
166#include <VBox/com/microatl.h>
167#include <VBox/com/com.h>
168#include <VBox/com/array.h>
169#include <VBox/com/Guid.h>
170#include <VBox/com/string.h>
171
172#if defined(Log) || defined(LogIsEnabled)
173# error "Log() from iprt/log.h cannot be defined in the precompiled header!"
174#endif
175
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use