On segunda-feira, 15 de abril de 2013 14.43.22, K. Frank wrote:
>    ..\3rdparty\javascriptcore\JavaScriptCore/wtf/HashTable.h:264:83:
> error: 'template<class T, class U> void QTWTF::swap(std::pair<_T1,
> _T2>&, std::pair<_T1, _T2>&)' conflicts with previous using
> declaration 'template<class _T1, class _T2> void
> std::swap(std::pair<_T1, _T2>&, std::pair<_T1, _T2>&)'
> template<typename T, typename U> inline void swap(pair<T, U>& a,
> pair<T, U>& b)

JavaScriptCore does not compile with C++11 (at least, not the versions inside 
Qt 4.8).

That means you need to disable C++11 when compiling both QtScript and 
QtWebKit.

The buildsystem for those *does* remove -std=c++0x and -std=gnu++0x, so if you 
use the old switches, Qt should compile.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to