Problem is solved thanks to user berak at OpenCV forum.
For other users who can have this problem solution is as follows:
some modules have changed in 3.0. to use imread()/imwrite, add:
LIBS += "E:\OpenCV\release\lib\libopencv_imgcodecs300.dll.a"
Regards