VirtualBox

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

Last change on this file was 103369, checked in by vboxsync, 3 months ago

Config.kmk, Installer, FE/Qt: bugref:10450: A try to get rid of Qt[6]Core5Compat lib.

  • 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 103369 2024-02-14 19:39:03Z 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 <qstringlist.h>
93#include <qstringmatcher.h>
94#ifndef VBOX_IS_QT6_OR_LATER
95# include <qtypetraits.h>
96#endif
97
98/* Less frequently included: */
99#include <QtWidgets/QGraphicsWidget>
100#include <QtWidgets/qgraphicsitem.h>
101#include <QtWidgets/qgraphicslayoutitem.h>
102#include <QtWidgets/qgraphicswidget.h>
103#include <QtCore/QMetaType>
104#include <QtGui/qevent.h>
105#ifndef VBOX_IS_QT6_OR_LATER
106# include <QtGui/qtouchdevice.h>
107#endif
108#include <QtGui/qvector2d.h>
109#include <QtCore/QEvent>
110#include <QtGui/qguiapplication.h>
111#include <QtGui/qinputmethod.h>
112#include <QtWidgets/QApplication>
113#include <QtWidgets/qapplication.h>
114#include <QtCore/qcoreapplication.h>
115#include <QtCore/qeventloop.h>
116#include <QtCore/qurl.h>
117#include <QtCore/qset.h>
118#include <QtCore/qfile.h>
119#include <QtCore/qfiledevice.h>
120#include <QtCore/qlocale.h>
121#include <QtCore/qcoreevent.h>
122#include <QtCore/QObject>
123#include <QtWidgets/qwidget.h>
124#include <QtCore/qvariant.h>
125#include <QtGui/qfontinfo.h>
126#include <QtGui/qfontmetrics.h>
127#include <QtGui/qcursor.h>
128#include <QtWidgets/qsizepolicy.h>
129#include <QtGui/qkeysequence.h>
130#include <QtGui/qpalette.h>
131#include <QtGui/qbrush.h>
132#include <QtGui/qfont.h>
133#include <QtCore/qmap.h>
134#include <QtCore/qline.h>
135#include <QtGui/qcolor.h>
136#include <QtGui/qimage.h>
137#ifndef VBOX_IS_QT6_OR_LATER
138# include <QtGui/qmatrix.h>
139#endif
140#include <QtGui/qpaintdevice.h>
141#include <QtGui/qpainterpath.h>
142#include <QtGui/qpixelformat.h>
143#include <QtGui/qpixmap.h>
144#include <QtGui/qpolygon.h>
145#include <QtGui/qrgb.h>
146#include <QtGui/qtransform.h>
147#include <QtCore/qdatastream.h>
148#include <QtGui/qregion.h>
149#include <QtGui/qwindowdefs.h>
150#include <QtGui/qwindowdefs_win.h>
151#include <QtCore/qiodevice.h>
152#include <QtCore/qsharedpointer.h>
153#include <QtCore/qshareddata.h>
154#include <QtCore/qvector.h>
155#include <QtCore/qmargins.h>
156#include <QtCore/qrect.h>
157#include <QtCore/qpoint.h>
158#include <QtCore/qsize.h>
159#include <QtCore/qhash.h>
160
161/* cdefs.h is a little bit of a question since it defines RT_STRICT, which
162 someone may want to redefine locally. But we need it for windows.h. */
163#include <iprt/cdefs.h>
164#include <iprt/win/windows.h>
165#include <iprt/types.h>
166#include <iprt/cpp/list.h>
167#include <iprt/cpp/meta.h>
168#include <iprt/cpp/ministring.h>
169#include <VBox/com/microatl.h>
170#include <VBox/com/com.h>
171#include <VBox/com/array.h>
172#include <VBox/com/Guid.h>
173#include <VBox/com/string.h>
174
175#if defined(Log) || defined(LogIsEnabled)
176# error "Log() from iprt/log.h cannot be defined in the precompiled header!"
177#endif
178
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use