Temporary header file '/tmp/TPAy1TFfkQ/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/martchus-qtforkawesome/qtforkawesome/global.h" #include "/usr/include/martchus-qtforkawesome/qtforkawesome/icon.h" #include "/usr/include/martchus-qtforkawesome/qtforkawesome/iconfwd.h" #include "/usr/include/martchus-qtforkawesome/qtforkawesome/private/icons.h" #include "/usr/include/martchus-qtforkawesome/qtforkawesome/renderer.h" #include "/usr/include/martchus-qtforkawesome/qtforkawesome/utils.h" #include "/usr/include/martchus-qtforkawesome/qtforkawesome/version.h" #include "/usr/include/martchus-qtquickforkawesome/qtquickforkawesome/global.h" #include "/usr/include/martchus-qtquickforkawesome/qtquickforkawesome/imageprovider.h" #include "/usr/include/martchus-qtquickforkawesome/qtquickforkawesome/version.h" // add namespaces namespace QAlgorithmsPrivate{typedef int tmp_add_type_1;} QAlgorithmsPrivate::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace QColorConstants{typedef int tmp_add_type_2;} QColorConstants::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace QColorConstants{namespace Svg{typedef int tmp_add_type_3;}} QColorConstants::Svg::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace Qt{typedef int tmp_add_type_4;} Qt::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace QtForkAwesome{typedef int tmp_add_type_5;} QtForkAwesome::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace QtGlobalStatic{typedef int tmp_add_type_6;} QtGlobalStatic::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace QtPrivate{typedef int tmp_add_type_7;} QtPrivate::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace QtPrivate{namespace DeprecatedRefClassBehavior{typedef int tmp_add_type_8;}} QtPrivate::DeprecatedRefClassBehavior::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace QtPrivate{namespace SwapExceptionTester{typedef int tmp_add_type_9;}} QtPrivate::SwapExceptionTester::tmp_add_type_9 tmp_add_func_9(){return 0;}; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/TPAy1TFfkQ/dump1.h" -I/usr/include/martchus-c\+\+utilities -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5/QtCore In file included from /tmp/TPAy1TFfkQ/dump1.h:20: /usr/include/martchus-qtquickforkawesome/qtquickforkawesome/imageprovider.h:7:10: fatal error: QQuickImageProvider: No such file or directory 7 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated.