VirtualBox

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

Last change on this file since 103131 was 100127, checked in by vboxsync, 18 months ago

FE/Qt: bugref:10450: Windows build fix for r157818.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.9 KB
Line 
1/* $Id: precomp_vcc.h 100127 2023-06-08 16:02:26Z 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#if QT_VERSION < QT_VERSION_CHECK(5, 8, 0)
64# include <qfeatures.h>
65#endif
66#include <qflags.h>
67#include <qgenericatomic.h>
68#include <qglobalstatic.h>
69#ifndef VBOX_IS_QT6_OR_LATER
70# include <qisenum.h>
71#endif
72#include <qlogging.h>
73#include <qmutex.h>
74#include <qnamespace.h>
75#include <qnumeric.h>
76#include <qobjectdefs.h>
77#include <qprocessordetection.h>
78#include <qrefcount.h>
79#include <qstring.h>
80#include <qsysinfo.h>
81#include <qsystemdetection.h>
82#include <qtypeinfo.h>
83#include <qvarlengtharray.h>
84#include <qpair.h>
85#include <qmetatype.h>
86#include <qobject.h>
87#include <qscopedpointer.h>
88#include <qglobal.h>
89#include <qbytearraylist.h>
90#include <qiterator.h>
91#include <qlist.h>
92#include <qregexp.h>
93#include <qstringlist.h>
94#include <qstringmatcher.h>
95#ifndef VBOX_IS_QT6_OR_LATER
96# include <qtypetraits.h>
97#endif
98
99/* Less frequently included: */
100#include <QtWidgets/QGraphicsWidget>
101#include <QtWidgets/qgraphicsitem.h>
102#include <QtWidgets/qgraphicslayoutitem.h>
103#include <QtWidgets/qgraphicswidget.h>
104#include <QtCore/QMetaType>
105#include <QtGui/qevent.h>
106#ifndef VBOX_IS_QT6_OR_LATER
107# include <QtGui/qtouchdevice.h>
108#endif
109#include <QtGui/qvector2d.h>
110#include <QtCore/QEvent>
111#include <QtGui/qguiapplication.h>
112#include <QtGui/qinputmethod.h>
113#include <QtWidgets/QApplication>
114#include <QtWidgets/qapplication.h>
115#include <QtCore/qcoreapplication.h>
116#include <QtCore/qeventloop.h>
117#include <QtCore/qurl.h>
118#include <QtCore/qset.h>
119#include <QtCore/qfile.h>
120#include <QtCore/qfiledevice.h>
121#include <QtCore/qlocale.h>
122#include <QtCore/qcoreevent.h>
123#include <QtCore/QObject>
124#include <QtWidgets/qwidget.h>
125#include <QtCore/qvariant.h>
126#include <QtGui/qfontinfo.h>
127#include <QtGui/qfontmetrics.h>
128#include <QtGui/qcursor.h>
129#include <QtWidgets/qsizepolicy.h>
130#include <QtGui/qkeysequence.h>
131#include <QtGui/qpalette.h>
132#include <QtGui/qbrush.h>
133#include <QtGui/qfont.h>
134#include <QtCore/qmap.h>
135#include <QtCore/qline.h>
136#include <QtGui/qcolor.h>
137#include <QtGui/qimage.h>
138#ifndef VBOX_IS_QT6_OR_LATER
139# include <QtGui/qmatrix.h>
140#endif
141#include <QtGui/qpaintdevice.h>
142#include <QtGui/qpainterpath.h>
143#include <QtGui/qpixelformat.h>
144#include <QtGui/qpixmap.h>
145#include <QtGui/qpolygon.h>
146#include <QtGui/qrgb.h>
147#include <QtGui/qtransform.h>
148#include <QtCore/qdatastream.h>
149#include <QtGui/qregion.h>
150#include <QtGui/qwindowdefs.h>
151#include <QtGui/qwindowdefs_win.h>
152#include <QtCore/qiodevice.h>
153#include <QtCore/qsharedpointer.h>
154#include <QtCore/qshareddata.h>
155#include <QtCore/qvector.h>
156#include <QtCore/qmargins.h>
157#include <QtCore/qrect.h>
158#include <QtCore/qpoint.h>
159#include <QtCore/qsize.h>
160#include <QtCore/qhash.h>
161
162/* cdefs.h is a little bit of a question since it defines RT_STRICT, which
163 someone may want to redefine locally. But we need it for windows.h. */
164#include <iprt/cdefs.h>
165#include <iprt/win/windows.h>
166#include <iprt/types.h>
167#include <iprt/cpp/list.h>
168#include <iprt/cpp/meta.h>
169#include <iprt/cpp/ministring.h>
170#include <VBox/com/microatl.h>
171#include <VBox/com/com.h>
172#include <VBox/com/array.h>
173#include <VBox/com/Guid.h>
174#include <VBox/com/string.h>
175
176#if defined(Log) || defined(LogIsEnabled)
177# error "Log() from iprt/log.h cannot be defined in the precompiled header!"
178#endif
179
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette