Make textview dependent on corelib