error: #error "__WORDSIZE is not defined" #error "__WORDSIZE is not defined"
-
wrote on 31 May 2022, 08:13 last edited by
-
I will use a Qt Creator v5.8.0 & I build my project , that time this error is will show.
How to remove it.
wrote on 31 May 2022, 08:28 last edited by@nadimnadaf
What version of Qt are you using? -
wrote on 31 May 2022, 08:32 last edited by
QT 5.8.0
-
I will use a Qt Creator v5.8.0 & I build my project , that time this error is will show.
How to remove it.
@nadimnadaf include nested to deeply is the problem here
make sure you have no circle includes and all your classes have proper include guards
-
wrote on 31 May 2022, 09:01 last edited by
-
wrote on 31 May 2022, 09:26 last edited by
@nadimnadaf
This does not help us. How/where is your own code doing any#include
s? We are looking for some kind of "circular include"s somewhere. -
wrote on 31 May 2022, 10:36 last edited by
I cant able to find. Any way to find out this.
-
wrote on 31 May 2022, 10:48 last edited by
@JonB
Newly created project also same error throw. (Not Modified, Just Create and Build). -
@JonB
Newly created project also same error throw. (Not Modified, Just Create and Build).wrote on 31 May 2022, 10:56 last edited by@nadimnadaf
A "new project" is hardly going to includebrowser.cpp
orQtWebKit
....First thing: I believe both the errors you show come only from the Code Model you are using in Creator. Do you get these errors if you compile your code?
Second would probably be: how did you install Qt? I see references to
/opt/fslc-framebuffer
and toarmv7...gnueabi
, where is that coming from? Are you doing some kind of cross-compilation? Do you have the correct compiler kit toolchain selected?
1/9