Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Project ERROR: Unknown module(s) in QT: webengine
Forum Updated to NodeBB v4.3 + New Features

Project ERROR: Unknown module(s) in QT: webengine

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 5 Posters 4.1k Views 2 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.
  • M Offline
    M Offline
    Mehmet Uysal
    wrote on 14 Mar 2022, 12:11 last edited by Mehmet Uysal
    #1

    I downloaded qt and checked the web engine option.
    web engine is installed.
    36ea5cbc-228e-4051-9a45-0b6a3235691b-image.png
    But when i try to run an example project from qt named "WebEngine Qt Quick Minimal Example" it raises the error;

    :-1: error: Project ERROR: Unknown module(s) in QT: webengine

    I've check .pro and main.cpp;
    59def5e2-2f3d-4853-b2df-167a01036e40-image.png

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 14 Mar 2022, 21:15 last edited by
      #2

      Hi and welcome to devnet,

      Any chances that you are using the MinGW compiler ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • M Offline
        M Offline
        Mehmet Uysal
        wrote on 16 Mar 2022, 14:31 last edited by Mehmet Uysal
        #3

        I'm new to qt creator.
        i believe you're asking this;
        i'm using web assembly kit with emscripten for the project
        qtcreator_L30rsZHIbn.png
        build
        2ac244e2-3f48-45b7-ae82-16a7d8b66864-image.png

        J 1 Reply Last reply 9 Mar 2023, 10:14
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 16 Mar 2022, 20:06 last edited by
          #4

          You want to use the webengine module in a WASM application ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • M Offline
            M Offline
            Mehmet Uysal
            wrote on 17 Mar 2022, 16:31 last edited by
            #5

            erm no. o_O i was just trying to run the example.
            I didn't choose webassembly kit. Now i'm trying to run another example with mingw and it also says "no module named web engine".

            J 1 Reply Last reply 17 Mar 2022, 19:20
            0
            • M Mehmet Uysal
              17 Mar 2022, 16:31

              erm no. o_O i was just trying to run the example.
              I didn't choose webassembly kit. Now i'm trying to run another example with mingw and it also says "no module named web engine".

              J Offline
              J Offline
              JonB
              wrote on 17 Mar 2022, 19:20 last edited by
              #6

              @Mehmet-Uysal

              • I don't think web engine will work in a WASM application, or at least there might be problems/special requiremenmts.
              • If you compile Qt with MinGW you cannot use web engine. If you are Windows you would need to use MSVC if you want web engine.
              1 Reply Last reply
              2
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 17 Mar 2022, 19:54 last edited by
                #7

                The MSVC constraint comes from the chromium engine that powers the QtWebEngine volume.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                2
                • M Mehmet Uysal
                  16 Mar 2022, 14:31

                  I'm new to qt creator.
                  i believe you're asking this;
                  i'm using web assembly kit with emscripten for the project
                  qtcreator_L30rsZHIbn.png
                  build
                  2ac244e2-3f48-45b7-ae82-16a7d8b66864-image.png

                  J Offline
                  J Offline
                  jorTry85
                  wrote on 9 Mar 2023, 10:14 last edited by
                  #8

                  @Mehmet-Uysal Hi Mehmet.

                  Did you find a solution for this? I have the exact same problem. The following below is my settings. I have also included it in .pro and main.cpp

                  673b2a2f-84af-4f83-81c1-8a5d5ea80b38-image.png

                  63641622-42ec-47a4-963e-d3c979ef7ab0-image.png

                  385cc5e0-4239-4847-be34-6a226e7fea8c-image.png

                  J 1 Reply Last reply 9 Mar 2023, 10:45
                  0
                  • J jorTry85
                    9 Mar 2023, 10:14

                    @Mehmet-Uysal Hi Mehmet.

                    Did you find a solution for this? I have the exact same problem. The following below is my settings. I have also included it in .pro and main.cpp

                    673b2a2f-84af-4f83-81c1-8a5d5ea80b38-image.png

                    63641622-42ec-47a4-963e-d3c979ef7ab0-image.png

                    385cc5e0-4239-4847-be34-6a226e7fea8c-image.png

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 9 Mar 2023, 10:45 last edited by
                    #9

                    @jorTry85 As @SGaist wrote: you need to use Microsoft compiler, not MinGW.

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    2

                    • Login

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