I am totally new to Qt and little familiar with Ubuntu. An existing project which runs perfectly on other machines with similar configuration does not run on my machine. The project builds successfully. But while running it crashes. While debugging it says SIGSEGV segmentation fault. The project is QGuiApplication using Qt5.4.
Alternatively, I build the project from the terminal. When I run the executable, it says the same "Segmentation fault (core dumped)". But if I run with sudo, there is no error, but the application willn't launch. I wonder is there any specific problem with permissions to shared libraries it uses? or is it something related to Qt or Qt-moc.

Any hints would be useful.