VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/precomp_gcc.h@ 82781

Last change on this file since 82781 was 81273, checked in by vboxsync, 5 years ago

FE/Qt: Few more missed bits for r133956.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.8 KB
Line 
1/* $Id: precomp_gcc.h 81273 2019-10-14 19:33:48Z vboxsync $*/
2/** @file
3 * VBox Qt GUI - Precompiled header for Visual C++.
4 */
5
6/*
7 * Copyright (C) 2016-2019 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18
19/*
20 * General pickings
21 *
22 * Note! We do not include iprt/log.h or similar because we need to
23 * support selecting different log groups. So, for now we restrict
24 * ourselves to frequently used QT, compiler, and system headers.
25 */
26
27/* Some CRT stuff that's frequently used. */
28#include <new>
29#include <stdlib.h>
30
31/* The most frequently used qt headers on a linux hosts based on dependency files. */
32#include <QtCore/qobject.h> /* 1003 */
33#include <QtCore/qmetatype.h> /* 958 */
34#include <QtCore/qstring.h> /* 923 */
35#include <QtCore/qstringlist.h> /* 905 */
36#include <QtCore/qrect.h> /* 858 */
37#include <QtCore/qvector.h> /* 853 */
38#include <QtCore/qmap.h> /* 849 */
39#include <QtCore/qcoreevent.h> /* 838 */
40#include <QtWidgets/qwidget.h> /* 826 */
41#include <QtCore/qpair.h> /* 698 */
42#include <QtCore/qlist.h> /* 682 */
43#include <QtGui/qpixmap.h> /* 670 */
44#include <QtCore/qhash.h> /* 637 */
45#include <QtCore/qsize.h> /* 627 */
46#include <QtCore/qglobal.h> /* 591 */
47#include <QtCore/qvariant.h> /* 588 */
48#include <QtCore/qregexp.h> /* 587 */
49#include <QtCore/qversiontagging.h> /* 585 */
50#include <QtCore/qtypeinfo.h> /* 585 */
51#include <QtCore/qtcore-config.h> /* 585 */
52#include <QtCore/qsystemdetection.h> /* 585 */
53#include <QtCore/qsysinfo.h> /* 585 */
54#include <QtCore/qstringview.h> /* 585 */
55#include <QtCore/qstringliteral.h> /* 585 */
56#include <QtCore/qstringalgorithms.h> /* 585 */
57#include <QtCore/qrefcount.h> /* 585 */
58#include <QtCore/qprocessordetection.h> /* 585 */
59#include <QtCore/qnumeric.h> /* 585 */
60#include <QtCore/qnamespace.h> /* 585 */
61#include <QtCore/qlogging.h> /* 585 */
62#include <QtCore/qglobalstatic.h> /* 585 */
63#include <QtCore/qgenericatomic.h> /* 585 */
64#include <QtCore/qflags.h> /* 585 */
65#include <QtCore/qconfig.h> /* 585 */
66#include <QtCore/qcompilerdetection.h> /* 585 */
67#include <QtCore/qchar.h> /* 585 */
68#include <QtCore/qbytearray.h> /* 585 */
69#include <QtCore/qbasicatomic.h> /* 585 */
70#include <QtCore/qatomic_cxx11.h> /* 585 */
71#include <QtCore/qatomic.h> /* 585 */
72#include <QtCore/qarraydata.h> /* 585 */
73#include <QtCore/qstringmatcher.h> /* 584 */
74#include <QtCore/qiterator.h> /* 584 */
75#include <QtCore/qhashfunctions.h> /* 584 */
76#include <QtCore/qbytearraylist.h> /* 584 */
77#include <QtCore/qalgorithms.h> /* 584 */
78#include <QtCore/qvarlengtharray.h> /* 580 */
79#include <QtCore/qobjectdefs.h> /* 580 */
80#include <QtCore/qcontainerfwd.h> /* 580 */
81#include <QtCore/qscopedpointer.h> /* 577 */
82#include <QtGui/qcolor.h> /* 574 */
83#include <QtCore/qpoint.h> /* 549 */
84#include <QtGui/qtransform.h> /* 546 */
85#include <QtCore/qmargins.h> /* 544 */
86#include <QtCore/qshareddata.h> /* 536 */
87#include <QtGui/qimage.h> /* 532 */
88#include <QtCore/qsharedpointer.h> /* 532 */
89#include <QtGui/qkeysequence.h> /* 531 */
90#include <QtGui/qcursor.h> /* 530 */
91#include <QtCore/qiodevice.h> /* 530 */
92#include <QtGui/qtguiglobal.h> /* 528 */
93#include <QtGui/qtgui-config.h> /* 528 */
94#include <QtGui/qwindowdefs.h> /* 527 */
95#include <QtGui/qregion.h> /* 527 */
96#include <QtGui/qrgba64.h> /* 526 */
97#include <QtGui/qrgb.h> /* 526 */
98#include <QtGui/qpolygon.h> /* 526 */
99#include <QtGui/qpixelformat.h> /* 526 */
100#include <QtGui/qpainterpath.h> /* 526 */
101#include <QtGui/qpaintdevice.h> /* 526 */
102#include <QtGui/qmatrix.h> /* 526 */
103#include <QtCore/qline.h> /* 526 */
104#include <QtCore/qdatastream.h> /* 526 */
105#include <QtWidgets/qtwidgetsglobal.h> /* 520 */
106#include <QtWidgets/qtwidgets-config.h> /* 520 */
107#include <QtGui/qfont.h> /* 507 */
108#include <QtGui/qbrush.h> /* 507 */
109#include <QtGui/qpalette.h> /* 506 */
110#include <QtWidgets/qsizepolicy.h> /* 505 */
111#include <QtGui/qfontmetrics.h> /* 497 */
112#include <QtGui/qfontinfo.h> /* 496 */
113
114/* Toplevel headers for which we already include the sub-headers.
115 Note! Must exist in precomptricks so we can apply #pragma once to them (good for GCC). */
116#include <QVariant>
117#include <QVarLengthArray>
118#include <QMutex>
119#include <QSysInfo>
120#include <QString>
121#include <QStringList>
122#include <QChar>
123#include <QApplication>
124#include <QGroupBox>
125#include <QPushButton>
126#include <QRadioButton>
127#include <QObject>
128#include <QVector>
129#include <QMap>
130#include <QMetaType>
131#include <QRect>
132#include <QWidget>
133#include <QPixmap>
134
135/* misc others that we include a bit. */
136#include <QVBoxLayout>
137#include <QHBoxLayout>
138#include <QPainter>
139#include <QTimer>
140#include <QStyle>
141#include <QMenu>
142#include <QDir>
143#include <QUuid>
144#include <QLineEdit>
145
146/* cdefs.h is a little bit of a question since it defines RT_STRICT, which someone
147 may want to redefine locally, but it's required by all other IPRT VBox includes. */
148#include <iprt/cdefs.h>
149#include <iprt/types.h>
150#include <iprt/stdarg.h>
151#include <iprt/stdint.h>
152#include <iprt/assert.h>
153#include <iprt/assertcompile.h>
154#include <iprt/errcore.h>
155#include <iprt/cpp/list.h>
156#include <iprt/cpp/meta.h>
157#include <VBox/com/array.h>
158#include <VBox/com/assert.h>
159#include <VBox/com/ptr.h>
160#include <VBox/com/com.h>
161#include <VBox/com/defs.h>
162
163/* These two are freuqently used internal headers. */
164#include "UILibraryDefs.h"
165#include "QIWithRestorableGeometry.h"
166#include "QIWithRetranslateUI.h"
167
168#if defined(Log) || defined(LogIsEnabled)
169# error "Log() from iprt/log.h cannot be defined in the precompiled header!"
170#endif
171
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use