Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Issues building a project with QtWebEngine
Forum Updated to NodeBB v4.3 + New Features

Issues building a project with QtWebEngine

Scheduled Pinned Locked Moved Solved QtWebEngine
6 Posts 2 Posters 861 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.
  • Xena_oX Offline
    Xena_oX Offline
    Xena_o
    wrote on last edited by
    #1

    Hello,

    i have a project that uses QtWebEngine coded in a Mac,
    i moved the source code to a PC/windows

    it'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 ?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hallo
      Did you installed it when you install the Qt VS version ?

      alt text

      Xena_oX 1 Reply Last reply
      0
      • mrjjM mrjj

        Hallo
        Did you installed it when you install the Qt VS version ?

        alt text

        Xena_oX Offline
        Xena_oX Offline
        Xena_o
        wrote on last edited by
        #3

        @mrjj hi, yes it's installed

        1 Reply Last reply
        0
        • Xena_oX Offline
          Xena_oX Offline
          Xena_o
          wrote on last edited by Xena_o
          #4

          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 ?

          mrjjM 1 Reply Last reply
          0
          • Xena_oX Xena_o

            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 ?

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by mrjj
            #5

            @Xena_o

            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 :)

            Xena_oX 1 Reply Last reply
            1
            • mrjjM mrjj

              @Xena_o

              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 :)

              Xena_oX Offline
              Xena_oX Offline
              Xena_o
              wrote on last edited by
              #6

              @mrjj thank you , it working ! yay

              1 Reply Last reply
              1

              • Login

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