Added qt.conf to load plugins.
Updated compilation scripts to work properly.