The problem was solved. It wasn't a problem with wiringPi or qt, actually. It was a mistake with build directory. I was running the application from a wrong directory, and now, it works well.
So, if the forum's administrator prefers to delete this topic, it's fine as well.