Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Problem with QtWebview :: Project compiled but has issue in running
Forum Updated to NodeBB v4.3 + New Features

Problem with QtWebview :: Project compiled but has issue in running

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
13 Posts 2 Posters 1.7k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi and welcome to devnet,

    Start your application with the QT_DEBUG_PLUGINS environment variable set to 1. This will show what happens with the plugins loading.

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

    FakhriF 1 Reply Last reply
    0
    • SGaistS SGaist

      Hi and welcome to devnet,

      Start your application with the QT_DEBUG_PLUGINS environment variable set to 1. This will show what happens with the plugins loading.

      FakhriF Offline
      FakhriF Offline
      Fakhri
      wrote on last edited by
      #3

      @SGaist said in Problem with QtWebview :: Project compiled but has issue in running:

      QT_DEBUG_PLUGINS

      Thank you for your reply. This is the output of application when I set QT_DEBUG_PLUGINS environment variable to 1.

      Log File[0_1563080156365_log](Uploading 100%)

      I don't know how can I use this log information. Do you see any problem with these logs?

      FakhriF 1 Reply Last reply
      0
      • FakhriF Fakhri

        @SGaist said in Problem with QtWebview :: Project compiled but has issue in running:

        QT_DEBUG_PLUGINS

        Thank you for your reply. This is the output of application when I set QT_DEBUG_PLUGINS environment variable to 1.

        Log File[0_1563080156365_log](Uploading 100%)

        I don't know how can I use this log information. Do you see any problem with these logs?

        FakhriF Offline
        FakhriF Offline
        Fakhri
        wrote on last edited by
        #4

        Excuse apparently I can't upload the file here.

        These lines are available in my log:

        [...]
        loaded library "/gnu/store/644m36biz8f2n0j8bjw2k2m7051584iy-qt-5.11.3/lib/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so"
        Found metadata in lib /gnu/store/ilz7sxcwg2gd0qffavsp1vm4g6bn3b5d-qtwebview-5.11.3/lib/qt5/qml/QtWebView/libdeclarative_webview.so, metadata=
        {
            "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0",
            "MetaData": {
            },
            "className": "QWebViewModule",
            "debug": false,
            "uri": [
                "QtWebView"
            ],
            "version": 330499
        }
        [...]
        

        Where is the problem?

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

          Please provide the full log. This entry alone doesn't contain all the data needed to check what is happening.

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

          FakhriF 1 Reply Last reply
          0
          • SGaistS SGaist

            Please provide the full log. This entry alone doesn't contain all the data needed to check what is happening.

            FakhriF Offline
            FakhriF Offline
            Fakhri
            wrote on last edited by
            #6

            @SGaist This is link of full log file:
            https://gofile.io/?c=tgWDqP

            Please review and help me :)

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

              How did you install Qt ?
              What version is it ?
              Are you using an out of source build of the example ?

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

              FakhriF 1 Reply Last reply
              0
              • SGaistS SGaist

                How did you install Qt ?
                What version is it ?
                Are you using an out of source build of the example ?

                FakhriF Offline
                FakhriF Offline
                Fakhri
                wrote on last edited by
                #8

                @SGaist I'm using GuixSD distribution (Linux) and install the Qt by its package manager guix.
                The 5.11.3 is available in guix package repository and I installed it. Also I'm using this example:

                https://github.com/qt/qtwebview/tree/5.12/examples/webview/minibrowser

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

                  Might be a silly question but did you check that your distribution provided Qt is complete ?

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

                  FakhriF 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Might be a silly question but did you check that your distribution provided Qt is complete ?

                    FakhriF Offline
                    FakhriF Offline
                    Fakhri
                    wrote on last edited by
                    #10

                    @SGaist I'm not sure, but I know that qtwebengine removed from the qt package.

                    https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/qt.scm#n143

                    What's your idea? Do you see any problem in log file?

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

                      You have to talk with the guys from the guix project about that matter.

                      The QtWebkit module has been deprecated and removed but not QtWebEngine. Note that @Konstantin-Tokarev is working on reboot of QtWebkit.

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

                      FakhriF 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        You have to talk with the guys from the guix project about that matter.

                        The QtWebkit module has been deprecated and removed but not QtWebEngine. Note that @Konstantin-Tokarev is working on reboot of QtWebkit.

                        FakhriF Offline
                        FakhriF Offline
                        Fakhri
                        wrote on last edited by
                        #12

                        @SGaist Thanks for your good contribution,
                        How can I make sure that my distribution provided Qt is complete?

                        The QtWebkit module has been deprecated and removed but not QtWebEngine.

                        I mean QtWebEngine is removed from guix qt package. (based on this link)

                        Did you see any problem in the log file?

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

                          Well, you have to talk with the folks of your distribution.

                          As for your trouble, I just remembered and IIRC, the QtWebView module is backed by QtWebEngine on platforms that don't provide a native web widget like iOS.

                          So you might be experiencing that.

                          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
                          0

                          • Login

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