Kernel Development with QtCreator

Enable Javascript to display Table of Contents.

x86 Development

In a first step, open the "Build Settings" (left button bar at "Projects") and add to "Build Environment" your architecture - in my case ARCH and x86_64.

Add in the [project-name].includes the following lines:

include
include/uapi
arch/x86/include
arch/x86/include/generated
Add in the [project-name].config the following lines:
#define __KERNEL__
#include <linux/kconfig.h>
Source: stackoverflow.com