Issues building a project with QtWebEngine
-
Hello,
i have a project that uses QtWebEngine coded in a Mac,
i moved the source code to a PC/windowsit's Qt 5.15.2, switched to MSVC2019 because couldnt build with MinGW.
but when i try to build the project with MSVC2019 i get hundreds of syntax errors about missing ";" and stuff. the fact is the code has no errors for sure.
i tried google that but no success.
what can this be ?
-
Hallo
Did you installed it when you install the Qt VS version ?
-
well i am not sure but it seems MSVC 2019 is not accepting this kind of syntax:
if (cond1 == cond2 or cond3 != cond4) do_something
while MinGW is acceptiong it.
it must be :
if ( (cond1 == cond2) || (cond3 != cond4) ) do_something
is there any option to force MSVC 2019 accept same syntax as MinGW ?
-
well i am not sure but it seems MSVC 2019 is not accepting this kind of syntax:
if (cond1 == cond2 or cond3 != cond4) do_something
while MinGW is acceptiong it.
it must be :
if ( (cond1 == cond2) || (cond3 != cond4) ) do_something
is there any option to force MSVC 2019 accept same syntax as MinGW ?
-
Hi
Yes you can include
#include <iso646.h>and it defines the or , and etc.
Hmm if you have it installed, you must give more information about the errors you get
as my crystal ball is not showing anything :)