Building error on WSServer.cpp(210,2): #827
Replies: 3 comments 1 reply
-
If you are building in-tree with OBS, their version of Qt does not include the QtConcurrent module. You will have to build with a full Qt installation. |
Beta Was this translation helpful? Give feedback.
-
This is what I do: cmake "D:/Work/OBS/Qt/5.15.2/msvc2019" -A Win32 -B build_x86 -S . -DCMAKE_INSTALL_PREFIX=dist Followed by cmake --build build_x86 --config Release |
Beta Was this translation helpful? Give feedback.
-
That path is the install. But to me it seems that, at compile time, it fails to detect that QtConcurrent is a namespace. In the WSServer.cpp i modified (for testing) the include headers... for example, modified it to
This tells me that the compiler locates the correct include file, but fails to determine that QtConcurrent is a namespace somehow.... If i comment the code about QtConcurrent, it goes forward, but gives other error, at linking: |
Beta Was this translation helpful? Give feedback.
-
Hello guys,
Sorry for disturbing you, but I'm facing the following error, no idea how to... fix it :)
WSServer.cpp(210,2): error C2653: 'QtConcurrent': is not a class or namespace name
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions