Temporary header file '/tmp/Bd67TkMSPr/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #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/arm-linux-gnueabihf/qt6/QtTextToSpeech/qtexttospeech.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtTextToSpeech/qtexttospeech_global.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtTextToSpeech/qtexttospeechengine.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtTextToSpeech/qtexttospeechplugin.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtTextToSpeech/qttexttospeech-config.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtTextToSpeech/qttexttospeechversion.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtTextToSpeech/qvoice.h" // add namespaces namespace QAlgorithmsPrivate{typedef int tmp_add_type_1;} QAlgorithmsPrivate::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace QContainerInfo{typedef int tmp_add_type_2;} QContainerInfo::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace QHashPrivate{typedef int tmp_add_type_3;} QHashPrivate::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace QHashPrivate{namespace GrowthPolicy{typedef int tmp_add_type_4;}} QHashPrivate::GrowthPolicy::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace Qt{typedef int tmp_add_type_5;} Qt::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace Qt{namespace Literals{typedef int tmp_add_type_6;}} Qt::Literals::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace Qt{namespace Literals{namespace StringLiterals{typedef int tmp_add_type_7;}}} Qt::Literals::StringLiterals::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace QtGlobalStatic{typedef int tmp_add_type_8;} QtGlobalStatic::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace QtLiterals{typedef int tmp_add_type_9;} QtLiterals::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace QtMetaContainerPrivate{typedef int tmp_add_type_10;} QtMetaContainerPrivate::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 QtPrivate{typedef int tmp_add_type_12;} QtPrivate::tmp_add_type_12 tmp_add_func_12(){return 0;}; namespace QtPrivate{namespace detail{typedef int tmp_add_type_13;}} QtPrivate::detail::tmp_add_type_13 tmp_add_func_13(){return 0;}; namespace QtPrivate{namespace SwapExceptionTester{typedef int tmp_add_type_14;}} QtPrivate::SwapExceptionTester::tmp_add_type_14 tmp_add_func_14(){return 0;}; namespace QtPrivate{namespace Tok{typedef int tmp_add_type_15;}} QtPrivate::Tok::tmp_add_type_15 tmp_add_func_15(){return 0;}; namespace QtSharedPointer{typedef int tmp_add_type_16;} QtSharedPointer::tmp_add_type_16 tmp_add_func_16(){return 0;}; namespace QTypeTraits{typedef int tmp_add_type_17;} QTypeTraits::tmp_add_type_17 tmp_add_func_17(){return 0;}; namespace QTypeTraits{namespace detail{typedef int tmp_add_type_18;}} QTypeTraits::detail::tmp_add_type_18 tmp_add_func_18(){return 0;}; namespace q_has_char8_t{typedef int tmp_add_type_19;} q_has_char8_t::tmp_add_type_19 tmp_add_func_19(){return 0;}; namespace q_no_char8_t{typedef int tmp_add_type_20;} q_no_char8_t::tmp_add_type_20 tmp_add_func_20(){return 0;}; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/Bd67TkMSPr/dump1.h" -I/usr/include/arm-linux-gnueabihf/qt6 In file included from /tmp/Bd67TkMSPr/dump1.h:12: /usr/include/arm-linux-gnueabihf/qt6/QtTextToSpeech/qtexttospeech.h:17:10: fatal error: QtQmlIntegration/qqmlintegration.h: No such file or directory 17 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.