resolved Ubuntu 12.04.3 compile error

1.resolved:has asked CMake to find a package configuration file provided by  "Qt5Widgets", but CMake did not find one.
You should set system env
linux shell: export QTDIR=Qt5 directory
2.resolved: undefined reference to boost::filesystem::detail::temp_directory_path(boost::system::error_code*)'
3.resolved: undefined reference to `snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)'