Temporary header file '/tmp/Y4bh6Q58Vq/dump1.h' with the following content will be compiled to create GCC translation unit dump:

  // add defines
  #define __STDC_VERSION__ 201710L
#define _FILE_OFFSET_BITS 64
#define _GXX_NULLPTR_T
#define CLUTTER_ENABLE_COMPOSITOR_API 1
#define _REGEX_NELTS(n)
#define _Atomic
#define PACKED
#define getaddrinfo_a(a,b,c,d)

  // add includes
  #include "/usr/include/KF5/KXmlGui/kaboutapplicationdialog.h"
  #include "/usr/include/KF5/KXmlGui/kaboutplugindialog.h"
  #include "/usr/include/KF5/KXmlGui/kactioncategory.h"
  #include "/usr/include/KF5/KXmlGui/kactioncollection.h"
  #include "/usr/include/KF5/KXmlGui/kbugreport.h"
  #include "/usr/include/KF5/KXmlGui/kedittoolbar.h"
  #include "/usr/include/KF5/KXmlGui/khelpmenu.h"
  #include "/usr/include/KF5/KXmlGui/kkeysequencewidget.h"
  #include "/usr/include/KF5/KXmlGui/kmainwindow.h"
  #include "/usr/include/KF5/KXmlGui/kshortcutsdialog.h"
  #include "/usr/include/KF5/KXmlGui/kshortcutseditor.h"
  #include "/usr/include/KF5/KXmlGui/kshortcutwidget.h"
  #include "/usr/include/KF5/KXmlGui/ktoggletoolbaraction.h"
  #include "/usr/include/KF5/KXmlGui/ktoolbar.h"
  #include "/usr/include/KF5/KXmlGui/ktooltiphelper.h"
  #include "/usr/include/KF5/KXmlGui/kundoactions.h"
  #include "/usr/include/KF5/KXmlGui/kxmlgui_export.h"
  #include "/usr/include/KF5/KXmlGui/kxmlgui_version.h"
  #include "/usr/include/KF5/KXmlGui/kxmlguibuilder.h"
  #include "/usr/include/KF5/KXmlGui/kxmlguiclient.h"
  #include "/usr/include/KF5/KXmlGui/kxmlguifactory.h"
  #include "/usr/include/KF5/KXmlGui/kxmlguiwindow.h"

  // add namespaces
  namespace KDEPrivate{typedef int tmp_add_type_1;}
  KDEPrivate::tmp_add_type_1 tmp_add_func_1(){return 0;};
  namespace KStandardAction{typedef int tmp_add_type_2;}
  KStandardAction::tmp_add_type_2 tmp_add_func_2(){return 0;};
  namespace KStandardShortcut{typedef int tmp_add_type_3;}
  KStandardShortcut::tmp_add_type_3 tmp_add_func_3(){return 0;};
  namespace KUndoActions{typedef int tmp_add_type_4;}
  KUndoActions::tmp_add_type_4 tmp_add_func_4(){return 0;};
  namespace KXMLGUI{typedef int tmp_add_type_5;}
  KXMLGUI::tmp_add_type_5 tmp_add_func_5(){return 0;};
  namespace QAlgorithmsPrivate{typedef int tmp_add_type_6;}
  QAlgorithmsPrivate::tmp_add_type_6 tmp_add_func_6(){return 0;};
  namespace QColorConstants{typedef int tmp_add_type_7;}
  QColorConstants::tmp_add_type_7 tmp_add_func_7(){return 0;};
  namespace QColorConstants{namespace Svg{typedef int tmp_add_type_8;}}
  QColorConstants::Svg::tmp_add_type_8 tmp_add_func_8(){return 0;};
  namespace Qt{typedef int tmp_add_type_9;}
  Qt::tmp_add_type_9 tmp_add_func_9(){return 0;};
  namespace QtGlobalStatic{typedef int tmp_add_type_10;}
  QtGlobalStatic::tmp_add_type_10 tmp_add_func_10(){return 0;};
  namespace QtMetaTypePrivate{typedef int tmp_add_type_11;}
  QtMetaTypePrivate::tmp_add_type_11 tmp_add_func_11(){return 0;};
  namespace QtMetaTypePrivate{namespace QtPrivate{typedef int tmp_add_type_12;}}
  QtMetaTypePrivate::QtPrivate::tmp_add_type_12 tmp_add_func_12(){return 0;};
  namespace QtMetaTypePrivate{namespace QtPrivate{namespace ContainerCapabilitiesMetaProgrammingHelper{typedef int tmp_add_type_13;}}}
  QtMetaTypePrivate::QtPrivate::ContainerCapabilitiesMetaProgrammingHelper::tmp_add_type_13 tmp_add_func_13(){return 0;};
  namespace QtPrivate{typedef int tmp_add_type_14;}
  QtPrivate::tmp_add_type_14 tmp_add_func_14(){return 0;};
  namespace QtPrivate{namespace DeprecatedRefClassBehavior{typedef int tmp_add_type_15;}}
  QtPrivate::DeprecatedRefClassBehavior::tmp_add_type_15 tmp_add_func_15(){return 0;};
  namespace QtPrivate{namespace SwapExceptionTester{typedef int tmp_add_type_16;}}
  QtPrivate::SwapExceptionTester::tmp_add_type_16 tmp_add_func_16(){return 0;};
  namespace QtSharedPointer{typedef int tmp_add_type_17;}
  QtSharedPointer::tmp_add_type_17 tmp_add_func_17(){return 0;};

  // add classes
  KAboutApplicationDialog* tmp_add_class_0;
  KAboutPluginDialog* tmp_add_class_1;
  KActionCategory* tmp_add_class_2;
  KActionCollection* tmp_add_class_3;
  KBugReport* tmp_add_class_4;
  KEditToolBar* tmp_add_class_5;
  KHamburgerMenu* tmp_add_class_6;
  KHelpMenu* tmp_add_class_7;
  KKeySequenceWidget* tmp_add_class_8;
  KMainWindow* tmp_add_class_9;
  KRecentFilesAction* tmp_add_class_10;
  KSelectAction* tmp_add_class_11;
  KShortcutWidget* tmp_add_class_12;
  KShortcutsDialog* tmp_add_class_13;
  KShortcutsEditor* tmp_add_class_14;
  KToggleAction* tmp_add_class_15;
  KToggleFullScreenAction* tmp_add_class_16;
  KToggleToolBarAction* tmp_add_class_17;
  KToolBar* tmp_add_class_18;
  KToolTipHelper* tmp_add_class_19;
  KXMLGUIBuilder* tmp_add_class_20;
  KXMLGUIClient* tmp_add_class_21;
  KXMLGUIFactory* tmp_add_class_22;
  KXmlGuiWindow* tmp_add_class_23;
  QAbstractButton* tmp_add_class_24;
  QAction* tmp_add_class_25;
  QActionGroup* tmp_add_class_26;
  QArrayData* tmp_add_class_27;
  QAssociativeIterable* tmp_add_class_28;
  QAtomicInt* tmp_add_class_29;
  QBrush* tmp_add_class_30;
  QBrushData* tmp_add_class_31;
  QByteArray* tmp_add_class_32;
  QByteArrayDataPtr* tmp_add_class_33;
  QByteRef* tmp_add_class_34;
  QChar* tmp_add_class_35;
  QCharRef* tmp_add_class_36;
  QColor* tmp_add_class_37;
  QConicalGradient* tmp_add_class_38;
  QCursor* tmp_add_class_39;
  QDataStream* tmp_add_class_40;
  QDialog* tmp_add_class_41;
  QFlag* tmp_add_class_42;
  QFont* tmp_add_class_43;
  QFontInfo* tmp_add_class_44;
  QFontMetrics* tmp_add_class_45;
  QFontMetricsF* tmp_add_class_46;
  QGenericArgument* tmp_add_class_47;
  QGenericReturnArgument* tmp_add_class_48;
  QGradient* tmp_add_class_49;
  QHashData* tmp_add_class_50;
  QHashDummyValue* tmp_add_class_51;
  QIODevice* tmp_add_class_52;
  QIcon* tmp_add_class_53;
  QImage* tmp_add_class_54;
  QIncompatibleFlag* tmp_add_class_55;
  QInternal* tmp_add_class_56;
  QKeySequence* tmp_add_class_57;
  QLatin1Char* tmp_add_class_58;
  QLatin1String* tmp_add_class_59;
  QLine* tmp_add_class_60;
  QLineF* tmp_add_class_61;
  QLinearGradient* tmp_add_class_62;
  QListData* tmp_add_class_63;
  QMainWindow* tmp_add_class_64;
  QMapDataBase* tmp_add_class_65;
  QMapNodeBase* tmp_add_class_66;
  QMargins* tmp_add_class_67;
  QMarginsF* tmp_add_class_68;
  QMatrix* tmp_add_class_69;
  QMessageLogContext* tmp_add_class_70;
  QMessageLogger* tmp_add_class_71;
  QMetaObject* tmp_add_class_72;
  QMetaType* tmp_add_class_73;
  QObject* tmp_add_class_74;
  QObjectData* tmp_add_class_75;
  QObjectUserData* tmp_add_class_76;
  QPaintDevice* tmp_add_class_77;
  QPalette* tmp_add_class_78;
  QPixelFormat* tmp_add_class_79;
  QPixmap* tmp_add_class_80;
  QPoint* tmp_add_class_81;
  QPointF* tmp_add_class_82;
  QPolygon* tmp_add_class_83;
  QPolygonF* tmp_add_class_84;
  QPushButton* tmp_add_class_85;
  QRadialGradient* tmp_add_class_86;
  QRect* tmp_add_class_87;
  QRectF* tmp_add_class_88;
  QRegExp* tmp_add_class_89;
  QRegion* tmp_add_class_90;
  QRgba64* tmp_add_class_91;
  QScopedPointerPodDeleter* tmp_add_class_92;
  QSequentialIterable* tmp_add_class_93;
  QSharedData* tmp_add_class_94;
  QSignalBlocker* tmp_add_class_95;
  QSize* tmp_add_class_96;
  QSizeF* tmp_add_class_97;
  QSizePolicy* tmp_add_class_98;
  QString* tmp_add_class_99;
  QStringDataPtr* tmp_add_class_100;
  QStringList* tmp_add_class_101;
  QStringMatcher* tmp_add_class_102;
  QStringRef* tmp_add_class_103;
  QStringView* tmp_add_class_104;
  QSysInfo* tmp_add_class_105;
  QTabWidget* tmp_add_class_106;
  QToolBar* tmp_add_class_107;
  QToolButton* tmp_add_class_108;
  QTransform* tmp_add_class_109;
  QUrl* tmp_add_class_110;
  QVariant* tmp_add_class_111;
  QVariantComparisonHelper* tmp_add_class_112;
  QWidget* tmp_add_class_113;
  QWidgetAction* tmp_add_class_114;
  QWidgetData* tmp_add_class_115;
  _G_fpos64_t* tmp_add_class_116;
  _G_fpos_t* tmp_add_class_117;
  _IO_cookie_io_functions_t* tmp_add_class_118;

The GCC parameters:
  gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/Y4bh6Q58Vq/dump1.h"  -I/usr/include/KF5/KXmlGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/KF5/KWidgetsAddons -I/usr/include/KF5/KConfigWidgets -I/usr/include/KF5/KConfigGui -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5/QtCore

