Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problem building Qt5.2 from source on Ubuntu 13.10 with gcc 4.8.1 in C++11 mode
Forum Updated to NodeBB v4.3 + New Features

Problem building Qt5.2 from source on Ubuntu 13.10 with gcc 4.8.1 in C++11 mode

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    KannanRamaswamy
    wrote on last edited by
    #1

    I am getting the below error in qtscript which appears to be the same as QTBUG 27029
    (https://bugreports.qt-project.org/browse/QTBUG-27029). Is there a workaround I can apply?

    --Kannan.
    The full command line with the error is at http://pastebin.com/zwgHuSM5 as it was over the 6000 char post limit. The relevant error message is below:

    ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp
    In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastAllocBase.h:84:0,
    from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:24,
    from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
    ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:173:69: error: ‘std::tr1’ has not been declared
    template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
    ^
    ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:173:74: error: expected ‘{’ before ‘has_trivial_constructor’
    template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
    ^
    ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:173:97: error: expected initializer before ‘<’ token
    template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
    ^
    ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:174:68: error: ‘std::tr1’ has not been declared
    template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
    ^
    ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:174:73: error: expected ‘{’ before ‘has_trivial_destructor’
    template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
    ^
    ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:174:95: error: expected initializer before ‘<’ token
    template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
    ^
    make: *** [obj/release/pcre_exec.o] Error 1

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved