unix {
	!xinerama:DEFINES += QT_NO_XINERAMA
	!xrender:DEFINES += QT_NO_XRENDER
	!xftfreetype:DEFINES += QT_NO_XFTFREETYPE
	!xkb:DEFINES += QT_NO_XKB
	xft2header:DEFINES+=QT_USE_XFT2_HEADER
	xftnameunparse:DEFINES += QT_NO_XFTNAMEUNPARSE

	!xinerama:PRL_EXPORT_DEFINES += QT_NO_XINERAMA
	!xrender:PRL_EXPORT_DEFINES += QT_NO_XRENDER
	!xftfreetype:PRL_EXPORT_DEFINES += QT_NO_XFTFREETYPE
	!xkb:PRL_EXPORT_DEFINES += QT_NO_XKB
	xft2header:PRL_EXPORT_DEFINES+=QT_USE_XFT2_HEADER
	xftnameunparse:PRL_EXPORT_DEFINES += QT_NO_XFTNAMEUNPARSE

	SOURCES += $$KERNEL_CPP/qtaddons_x11.cpp
}

nas {
	DEFINES     += QT_NAS_SUPPORT
	LIBS	+= -laudio -lXt
}

!x11sm:DEFINES += QT_NO_SM_SUPPORT

