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. webview not supporting in Qt 5.15.2 release build
Forum Updated to NodeBB v4.3 + New Features

webview not supporting in Qt 5.15.2 release build

Scheduled Pinned Locked Moved Unsolved QtWebEngine
23 Posts 3 Posters 5.1k 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.
  • V Offline
    V Offline
    Vijaykarthikeyan
    wrote on last edited by
    #1

    Imusing Qt 5.15.2 version..my project is to connect the ip camera using ip address and viewing the output of the video of the ip camera using webengineview. When I worked with project in debug build..the output is showing.But when I try to build it in release build,it is not working.the web page is loading..but the video output is not loading..But,in web browser,it is showing. I have included all the necessay libraries to load the webview and i have succesfully viewed the output of the ip camera in debug build.The error message is:

    [66928:64908:0823/193205.676:INFO:CONSOLE(1)] "Uncaught NotSupportedError: Failed to execute 'addSourceBuffer' on 'MediaSource': The type provided ('video/mp4;codecs="avc1.640029"') is unsupported.", source: http://192.168.56.50/module/videoMediaSource.js (1)

    jsulmJ 1 Reply Last reply
    0
    • V Vijaykarthikeyan

      Imusing Qt 5.15.2 version..my project is to connect the ip camera using ip address and viewing the output of the video of the ip camera using webengineview. When I worked with project in debug build..the output is showing.But when I try to build it in release build,it is not working.the web page is loading..but the video output is not loading..But,in web browser,it is showing. I have included all the necessay libraries to load the webview and i have succesfully viewed the output of the ip camera in debug build.The error message is:

      [66928:64908:0823/193205.676:INFO:CONSOLE(1)] "Uncaught NotSupportedError: Failed to execute 'addSourceBuffer' on 'MediaSource': The type provided ('video/mp4;codecs="avc1.640029"') is unsupported.", source: http://192.168.56.50/module/videoMediaSource.js (1)

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Vijaykarthikeyan Please don't double post! You asked same question here already: https://forum.qt.io/topic/150130/webview-not-supporting-in-qt-5-15-2-release-build?_=1695967457324

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

      V 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Vijaykarthikeyan Please don't double post! You asked same question here already: https://forum.qt.io/topic/150130/webview-not-supporting-in-qt-5-15-2-release-build?_=1695967457324

        V Offline
        V Offline
        Vijaykarthikeyan
        wrote on last edited by
        #3

        @jsulm yes..sorry..i have asked in wrong category..that's why

        jsulmJ 1 Reply Last reply
        0
        • V Vijaykarthikeyan referenced this topic on
        • V Vijaykarthikeyan

          @jsulm yes..sorry..i have asked in wrong category..that's why

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Vijaykarthikeyan You can move your existing thread to the correct category

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

          V 2 Replies Last reply
          0
          • jsulmJ jsulm

            @Vijaykarthikeyan You can move your existing thread to the correct category

            V Offline
            V Offline
            Vijaykarthikeyan
            wrote on last edited by
            #5

            @jsulm sorry,im just using Qt forum for the past 3 months only..i couldn't find any option for loving the thread to the desired category..can you guide me to resolve that

            1 Reply Last reply
            0
            • jsulmJ jsulm

              @Vijaykarthikeyan You can move your existing thread to the correct category

              V Offline
              V Offline
              Vijaykarthikeyan
              wrote on last edited by
              #6

              @jsulm ok..now I have deleted the old one..this is the right category

              jsulmJ 1 Reply Last reply
              0
              • V Vijaykarthikeyan

                @jsulm ok..now I have deleted the old one..this is the right category

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Vijaykarthikeyan At the top right side of this page there is a button next to big blue "Reply" button. If you click it there will be a submenu. Click on "Move Topic".

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

                V 2 Replies Last reply
                1
                • jsulmJ jsulm

                  @Vijaykarthikeyan At the top right side of this page there is a button next to big blue "Reply" button. If you click it there will be a submenu. Click on "Move Topic".

                  V Offline
                  V Offline
                  Vijaykarthikeyan
                  wrote on last edited by
                  #8

                  @jsulm ok..I think now,this is the right category what im looking for.Ive deleted the past one

                  1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @Vijaykarthikeyan At the top right side of this page there is a button next to big blue "Reply" button. If you click it there will be a submenu. Click on "Move Topic".

                    V Offline
                    V Offline
                    Vijaykarthikeyan
                    wrote on last edited by Vijaykarthikeyan
                    #9

                    @jsulm I have gone through this documentation https://doc.qt.io/qt-5/qtwebengine-features.html#audio-and-video-codecs where it refers that need to include that config line..but,my question is where I have to do that..Because,im not acutally compiling in command prompt..that's why I'm asking the clear steps to do line by line.

                    configure -webengine-proprietary-codecs

                    they said,the above line should be included in top level..i can't get that

                    jsulmJ 1 Reply Last reply
                    0
                    • V Vijaykarthikeyan

                      @jsulm I have gone through this documentation https://doc.qt.io/qt-5/qtwebengine-features.html#audio-and-video-codecs where it refers that need to include that config line..but,my question is where I have to do that..Because,im not acutally compiling in command prompt..that's why I'm asking the clear steps to do line by line.

                      configure -webengine-proprietary-codecs

                      they said,the above line should be included in top level..i can't get that

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @Vijaykarthikeyan said in webview not supporting in Qt 5.15.2 release build:

                      where it refers that need to include that config line

                      Do you mean the configure command?
                      configure is used when you build from source code. So, if you build QtWebengine from source.

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

                      V 1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @Vijaykarthikeyan said in webview not supporting in Qt 5.15.2 release build:

                        where it refers that need to include that config line

                        Do you mean the configure command?
                        configure is used when you build from source code. So, if you build QtWebengine from source.

                        V Offline
                        V Offline
                        Vijaykarthikeyan
                        wrote on last edited by Vijaykarthikeyan
                        #11

                        @jsulm i have the webengine library with extensions .a

                        build from source means whether I have to create webengineview.a from source file again?Screenshot 2023-09-29 123541.png

                        jsulmJ 1 Reply Last reply
                        0
                        • V Vijaykarthikeyan

                          @jsulm i have the webengine library with extensions .a

                          build from source means whether I have to create webengineview.a from source file again?Screenshot 2023-09-29 123541.png

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          @Vijaykarthikeyan said in webview not supporting in Qt 5.15.2 release build:

                          build from source means whether I have to create webengineview.a from source file again?

                          Yes, if you have to build from source

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

                          V 2 Replies Last reply
                          0
                          • jsulmJ jsulm

                            @Vijaykarthikeyan said in webview not supporting in Qt 5.15.2 release build:

                            build from source means whether I have to create webengineview.a from source file again?

                            Yes, if you have to build from source

                            V Offline
                            V Offline
                            Vijaykarthikeyan
                            wrote on last edited by
                            #13

                            @jsulm ok..thank you..Ill try it out and let you know the status of the process

                            1 Reply Last reply
                            0
                            • jsulmJ jsulm

                              @Vijaykarthikeyan said in webview not supporting in Qt 5.15.2 release build:

                              build from source means whether I have to create webengineview.a from source file again?

                              Yes, if you have to build from source

                              V Offline
                              V Offline
                              Vijaykarthikeyan
                              wrote on last edited by
                              #14

                              @jsulm Hello,I forgot about the command line previously i have done,,so can u please tell me the exact command templates and the steps to build the source please

                              jsulmJ 1 Reply Last reply
                              0
                              • V Vijaykarthikeyan

                                @jsulm Hello,I forgot about the command line previously i have done,,so can u please tell me the exact command templates and the steps to build the source please

                                jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on last edited by
                                #15

                                @Vijaykarthikeyan Actually it is explained in the link you posted:

                                When using qmake to build just the Qt WebEngine module, the following command can be used (in this example, the Qt WebEngine source code is located in C:\qt\qtwebengine):
                                
                                qmake C:\qt\qtwebengine -- -webengine-proprietary-codecs
                                

                                So, simply execute that qmake command and then "make" and "make install"...

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

                                V 1 Reply Last reply
                                2
                                • jsulmJ jsulm

                                  @Vijaykarthikeyan Actually it is explained in the link you posted:

                                  When using qmake to build just the Qt WebEngine module, the following command can be used (in this example, the Qt WebEngine source code is located in C:\qt\qtwebengine):
                                  
                                  qmake C:\qt\qtwebengine -- -webengine-proprietary-codecs
                                  

                                  So, simply execute that qmake command and then "make" and "make install"...

                                  V Offline
                                  V Offline
                                  Vijaykarthikeyan
                                  wrote on last edited by
                                  #16

                                  @jsulm I have downloaded and extracted the webview folder for the verson 5.15.2 which im currently using in Qt.When i try to run this cmd line in command prompt it shows error..upto this,what can i do

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • V Vijaykarthikeyan

                                    @jsulm I have downloaded and extracted the webview folder for the verson 5.15.2 which im currently using in Qt.When i try to run this cmd line in command prompt it shows error..upto this,what can i do

                                    jsulmJ Offline
                                    jsulmJ Offline
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #17

                                    @Vijaykarthikeyan What command and what error please?

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

                                    V 1 Reply Last reply
                                    0
                                    • jsulmJ jsulm

                                      @Vijaykarthikeyan What command and what error please?

                                      V Offline
                                      V Offline
                                      Vijaykarthikeyan
                                      wrote on last edited by Vijaykarthikeyan
                                      #18

                                      @jsulm 192d09e2-9f1d-4e64-83b7-a72fa0e22821-image.png

                                      I'm trying to run the powershell to create build folder for webview..

                                      Screenshot 2023-10-03 110447.png

                                      This is the build folder last time i created.Now.i forgot about the steps

                                      1 Reply Last reply
                                      0
                                      • SGaistS Offline
                                        SGaistS Offline
                                        SGaist
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #19

                                        You're on Windows, it's nmake or jom since you are using Visual Studio.

                                        See the documentation.

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

                                        V 1 Reply Last reply
                                        1
                                        • SGaistS SGaist

                                          You're on Windows, it's nmake or jom since you are using Visual Studio.

                                          See the documentation.

                                          V Offline
                                          V Offline
                                          Vijaykarthikeyan
                                          wrote on last edited by
                                          #20

                                          @SGaist ok i understand.But,what is the actual step to build the webview dynamic library from the source after the source has been downloaded from the qt offline installer.I previously did the build process but now forgot it..Please guide me the steps

                                          SGaistS 1 Reply Last reply
                                          0

                                          • Login

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