In my project I have plugin for qt designer, it should be build in release mode, because of in other case qt designer will not load and use it.