Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Build error. Please help!
Qt 6.11 is out! See what's new in the release blog

Build error. Please help!

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 602 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.
  • A Offline
    A Offline
    ALFAGAGA
    wrote on last edited by
    #1

    I'm a bit new to QT but it think this is not normal:

    I made a new QT project and copied all the content from a project made in eclipse, in order to make the GUI using QT Creator. When i hit build, this is the error that i got, and from here i think other 8 errors chained along: D:\Qt\Tools\mingw482_32\i686-w64-mingw32\include\c++\string:38: In file included from D:/Qt/Tools/mingw482_32/i686-w64-mingw32/include/c++/string:38:0,
    D:\Qt\Tools\mingw482_32\i686-w64-mingw32\include\c++\i686-w64-mingw32\bits\c++config.h:184: error: expected unqualified-id before 'namespace'
    namespace std
    ^

    This is how it looks in c+config.h, where the error is being signaled:
    namespace std
    {
    typedef SIZE_TYPE size_t;
    typedef PTRDIFF_TYPE ptrdiff_t;

    #if __cplusplus >= 201103L
    typedef decltype(nullptr) nullptr_t;
    #endif
    }

    If anybody could help me i would be most grateful,
    Alex.

    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