Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Solved How can I use QWebEngineView ?

    General and Desktop
    2
    12
    2540
    Loading More Posts
    • 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.
    • mrjj
      mrjj Lifetime Qt Champion last edited by mrjj

      Hi
      You can just load it from microsoft
      https://docs.microsoft.com/en-us/visualstudio/install/install-visual-studio
      Make sure to select only the c++ workload if you want to use Qt Creator
      and the compiler. Then you dont need the IDE also.
      Also make sure not to check all things as its then like 30 GB install.
      You just need SDK and c++ compiler.
      Do you normally use the debugger ? if yes, then you also need to install the Debugging tools
      go get a standalone that Creator can use.
      http://doc.qt.io/qtcreator/creator-debugger-engines.html

      Creator should pick up the new compiler.
      In your project folder. delete the xx.user file
      and reopen project. it will then ask which compiler to use and you select the VS one.

      You might also need
      https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk
      but wait to see if it gives any errors.

      And also download a vs 2017 Qt version (32/64 bit) or both,
      alt text

      Note if you want 32bit, its ok to use vs2015 Qt with vs 2017.
      Normally it must match 100% but 2015 & 2017 are for first time
      compatible.

      If you have no need for 64 bit. just install 32 bit only.
      ( this is for compiling 32/64 bit apps) not related if you windows is 32 or 64 bit itself.

      SamurayH 1 Reply Last reply Reply Quote 3
      • SamurayH
        SamurayH @mrjj last edited by

        @mrjj you answers all my questions for now. I'm working on it.
        I just have to say thank you so much for you and for this amazing and active Forum.

        "قال رسول الله صلى الله عليه وسلم : " أحب الناس إلى الله أنفعهم للناس

        mrjj 1 Reply Last reply Reply Quote 2
        • mrjj
          mrjj Lifetime Qt Champion @SamurayH last edited by

          @SamurayH
          I cross fingers it just works.
          Sometimes on has to go and select the stuff in kits but lets hope it picks up automatically.

          1 Reply Last reply Reply Quote 0
          • SamurayH
            SamurayH last edited by

            I'm confused, too much components.
            0_1530902596724_blabla.PNG
            What do I have to uncheck, if I don't want VS IDE ? Qt Creator is just perfect for me.

            "قال رسول الله صلى الله عليه وسلم : " أحب الناس إلى الله أنفعهم للناس

            mrjj 1 Reply Last reply Reply Quote 0
            • mrjj
              mrjj Lifetime Qt Champion @SamurayH last edited by

              @SamurayH
              Hmm, cant read it but guessing would be
              alt text

              1 Reply Last reply Reply Quote 1
              • SamurayH
                SamurayH last edited by

                Oh yes excuse me it's french, so now I selected :

                • VC++ 2017 toolset

                • Windows 10 SDK

                That's all I need ?

                "قال رسول الله صلى الله عليه وسلم : " أحب الناس إلى الله أنفعهم للناس

                mrjj 1 Reply Last reply Reply Quote 0
                • mrjj
                  mrjj Lifetime Qt Champion @SamurayH last edited by

                  @SamurayH
                  Yes i think so. Seems ok.
                  (its excluding debugger as we talked about)

                  1 Reply Last reply Reply Quote 2
                  • SamurayH
                    SamurayH last edited by

                    Hi,
                    Finally I'm able to use QWebEngineView. Thanks again. However I can't compile my program for the moment, the msvc compiler detects tons of problems (in Qt sources and mine), knowing that when I was compiling with MinGW, they were no problems. Here's a screenshot of a list that I could capture, and the compilation log :
                    1_1530989684622_ededs.PNG 0_1530989684601_cx.PNG

                    Thanks.

                    "قال رسول الله صلى الله عليه وسلم : " أحب الناس إلى الله أنفعهم للناس

                    1 Reply Last reply Reply Quote 0
                    • mrjj
                      mrjj Lifetime Qt Champion last edited by

                      Hi
                      Did you apply all updates for vs2015 ?
                      seems it dont like QtConcurrent so i wondering if its c+11 is not
                      updated.

                      1 Reply Last reply Reply Quote 2
                      • SamurayH
                        SamurayH last edited by SamurayH

                        This is what happened, in collaboration with @mrjj : @Qt-Champions-2017

                        • After downloading msvc2017 (last version), with Qt 5.11, things got complicated check this thread for more.
                        • So I downgraded from msvc2017 to 2015, and from Qt 5.11 to Qt 5.10
                          compiling...
                        • NO! the msvc is complaining about tons of Qt files....
                          so what?
                        • The version of msvc2015 that I downloaded don't like some syntaxe in c++11...
                        • Updating msvc2015 to the last update
                          compiling...
                        • NO! stop, you just have to update to Qt 5.10.1, idiot!

                        I recapitulate : msvc2015(with last update) + Qt 5.10.1 will work just fiiiine.
                        Thanks to @mrjj, and to you all, this topic has now the honor to be marked as SOLVED.

                        "قال رسول الله صلى الله عليه وسلم : " أحب الناس إلى الله أنفعهم للناس

                        1 Reply Last reply Reply Quote 1
                        • mrjj
                          mrjj Lifetime Qt Champion last edited by

                          hi
                          i learned something valuable that QtConcurrent and friends needs 5.10.1 as not to give errors
                          even if compiler is correctly installed and updated.
                          It might be mentioned in the docs but i didnt see it.

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post