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. module "QtWebEngine" is not installed
QtWS25 Last Chance

module "QtWebEngine" is not installed

Scheduled Pinned Locked Moved General and Desktop
qml qtwebengine
13 Posts 3 Posters 18.0k Views
  • 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.
  • E ejos
    6 May 2015, 05:42

    Thanks for the reply. But still I find the same issue even after including ur suggestion :(:(

    P Offline
    P Offline
    p3c0
    Moderators
    wrote on 6 May 2015, 05:49 last edited by
    #4

    @ejos Which Qt version are you using ?
    Did you select it while installing Qt ?

    157

    1 Reply Last reply
    0
    • E Offline
      E Offline
      ejos
      wrote on 6 May 2015, 09:23 last edited by
      #5

      yes. I am using Qt 5.4

      I could find the QtWebEngine folder inside the Qt/src/qml

      P 1 Reply Last reply 6 May 2015, 09:58
      0
      • E ejos
        6 May 2015, 09:23

        yes. I am using Qt 5.4

        I could find the QtWebEngine folder inside the Qt/src/qml

        P Offline
        P Offline
        p3c0
        Moderators
        wrote on 6 May 2015, 09:58 last edited by p3c0 5 Jun 2015, 10:02
        #6

        @ejos Ok. Do you see QtWebEngine folder under gcc_64/qml (not src) ?
        On my Linux system complete path is /opt/Qt5.4.1/5.4/gcc_64/qml/QtWebEngine viz. Qt installed directory.

        157

        1 Reply Last reply
        0
        • E Offline
          E Offline
          ejos
          wrote on 6 May 2015, 10:03 last edited by
          #7

          Yes I am able to find.
          DTPC-184N:QtWebEngine user$ cd /Applications/QT/5.4/clang_64/qml/QtWebEngine
          DTPC-184N:QtWebEngine user$ ls -lrt
          total 416
          -rw-r--r-- 1 root admin 70 Feb 13 15:55 qmldir
          -rw-r--r-- 1 root admin 5786 Feb 13 15:56 plugins.qmltypes
          drwxr-xr-x 5 root admin 170 Feb 13 15:56 experimental
          drwxr-xr-x 10 root admin 340 Feb 13 15:56 UIDelegates
          -rwxr-xr-x 1 root admin 56836 Feb 13 15:57 libqtwebengineplugin.dylib
          -rwxr-xr-x 1 root admin 139492 Feb 13 15:57 libqtwebengineplugin_debug.dylib

          P 1 Reply Last reply 6 May 2015, 11:04
          0
          • E ejos
            6 May 2015, 10:03

            Yes I am able to find.
            DTPC-184N:QtWebEngine user$ cd /Applications/QT/5.4/clang_64/qml/QtWebEngine
            DTPC-184N:QtWebEngine user$ ls -lrt
            total 416
            -rw-r--r-- 1 root admin 70 Feb 13 15:55 qmldir
            -rw-r--r-- 1 root admin 5786 Feb 13 15:56 plugins.qmltypes
            drwxr-xr-x 5 root admin 170 Feb 13 15:56 experimental
            drwxr-xr-x 10 root admin 340 Feb 13 15:56 UIDelegates
            -rwxr-xr-x 1 root admin 56836 Feb 13 15:57 libqtwebengineplugin.dylib
            -rwxr-xr-x 1 root admin 139492 Feb 13 15:57 libqtwebengineplugin_debug.dylib

            P Offline
            P Offline
            p3c0
            Moderators
            wrote on 6 May 2015, 11:04 last edited by p3c0 5 Jun 2015, 11:13
            #8

            @ejos Well I'm also not sure why it not works on Mac. May be someone else with that platform knowledge would answer. Or try reinstalling it once. QtWebEngine is supposed to work on Mac too. https://wiki.qt.io/QtWebEngine

            157

            1 Reply Last reply
            0
            • E Offline
              E Offline
              ejos
              wrote on 7 May 2015, 05:49 last edited by
              #9

              While using QWebEngineView , Is there an option like QDeclarativeContext / QDeclarativeEngine where to QML context is set from CPP file.

              P 1 Reply Last reply 7 May 2015, 05:57
              0
              • E ejos
                7 May 2015, 05:49

                While using QWebEngineView , Is there an option like QDeclarativeContext / QDeclarativeEngine where to QML context is set from CPP file.

                P Offline
                P Offline
                p3c0
                Moderators
                wrote on 7 May 2015, 05:57 last edited by
                #10

                @ejos No, atleast I haven't come across. QWebEngineView is a pure C++ class.
                Did you try reinstalling ?

                157

                1 Reply Last reply
                0
                • E Offline
                  E Offline
                  ejos
                  wrote on 7 May 2015, 07:21 last edited by
                  #11

                  haven't tried yet, will do that.
                  After including the includes QtQuick or QQml in the header file getting errors as below

                  In file included from ../ssparkl/readwidget.h:21:
                  In file included from /Applications/QT/5.4/clang_64/lib/QtQuick.framework/Headers/QQuickView:1:
                  In file included from /Applications/QT/5.4/clang_64/lib/QtQuick.framework/Versions/5/Headers/qquickview.h:37:
                  In file included from /Applications/QT/5.4/clang_64/lib/QtQuick.framework/Headers/qquickwindow.h:42:
                  /Applications/QT/5.4/clang_64/lib/QtQml.framework/Headers/qqml.h:62:5: error: redefinition of enumerator 'QML_HAS_ATTACHED_PROPERTIES'
                  QML_HAS_ATTACHED_PROPERTIES = 0x01

                  In file included from /Applications/QT/5.4/clang_64/lib/QtQuick.framework/Headers/QQuickView:1:
                  In file included from /Applications/QT/5.4/clang_64/lib/QtQuick.framework/Versions/5/Headers/qquickview.h:37:
                  In file included from /Applications/QT/5.4/clang_64/lib/QtQuick.framework/Headers/qquickwindow.h:42:
                  /Applications/QT/5.4/clang_64/lib/QtQml.framework/Headers/qqml.h:61:1: warning: declaration does not declare anything [-Wmissing-declarations]
                  enum { /* TYPEINFO flags */
                  ^~~~
                  /Applications/QT/5.4/clang_64/lib/QtQml.framework/Headers/qqml.h:99:5: error: redefinition of 'qmlRegisterType'
                  int qmlRegisterType()

                  kindly help to resolve this issue

                  P 1 Reply Last reply 7 May 2015, 09:36
                  0
                  • E ejos
                    7 May 2015, 07:21

                    haven't tried yet, will do that.
                    After including the includes QtQuick or QQml in the header file getting errors as below

                    In file included from ../ssparkl/readwidget.h:21:
                    In file included from /Applications/QT/5.4/clang_64/lib/QtQuick.framework/Headers/QQuickView:1:
                    In file included from /Applications/QT/5.4/clang_64/lib/QtQuick.framework/Versions/5/Headers/qquickview.h:37:
                    In file included from /Applications/QT/5.4/clang_64/lib/QtQuick.framework/Headers/qquickwindow.h:42:
                    /Applications/QT/5.4/clang_64/lib/QtQml.framework/Headers/qqml.h:62:5: error: redefinition of enumerator 'QML_HAS_ATTACHED_PROPERTIES'
                    QML_HAS_ATTACHED_PROPERTIES = 0x01

                    In file included from /Applications/QT/5.4/clang_64/lib/QtQuick.framework/Headers/QQuickView:1:
                    In file included from /Applications/QT/5.4/clang_64/lib/QtQuick.framework/Versions/5/Headers/qquickview.h:37:
                    In file included from /Applications/QT/5.4/clang_64/lib/QtQuick.framework/Headers/qquickwindow.h:42:
                    /Applications/QT/5.4/clang_64/lib/QtQml.framework/Headers/qqml.h:61:1: warning: declaration does not declare anything [-Wmissing-declarations]
                    enum { /* TYPEINFO flags */
                    ^~~~
                    /Applications/QT/5.4/clang_64/lib/QtQml.framework/Headers/qqml.h:99:5: error: redefinition of 'qmlRegisterType'
                    int qmlRegisterType()

                    kindly help to resolve this issue

                    P Offline
                    P Offline
                    p3c0
                    Moderators
                    wrote on 7 May 2015, 09:36 last edited by
                    #12

                    @ejos What did you include and where ?

                    157

                    1 Reply Last reply
                    0
                    • E Offline
                      E Offline
                      ejos
                      wrote on 11 May 2015, 12:58 last edited by
                      #13

                      The issue was with mismatch of QDeclarativeView and QQuickView use simultaneously. The issue is resolved once I changed all QDeclarativeView to QQuickView.

                      Thanks for replies

                      1 Reply Last reply
                      0

                      13/13

                      11 May 2015, 12:58

                      • Login

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