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.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 13 Jul 2019, 18:58 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

    F 1 Reply Last reply 14 Jul 2019, 09:26
    0
    • S SGaist
      13 Jul 2019, 18:58

      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.

      F Offline
      F Offline
      Fakhri
      wrote on 14 Jul 2019, 09:26 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?

      F 1 Reply Last reply 14 Jul 2019, 13:26
      0
      • F Fakhri
        14 Jul 2019, 09:26

        @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?

        F Offline
        F Offline
        Fakhri
        wrote on 14 Jul 2019, 13:26 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 14 Jul 2019, 15:58 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

          F 1 Reply Last reply 15 Jul 2019, 05:00
          0
          • S SGaist
            14 Jul 2019, 15:58

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

            F Offline
            F Offline
            Fakhri
            wrote on 15 Jul 2019, 05:00 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
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 15 Jul 2019, 19:54 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

              F 1 Reply Last reply 15 Jul 2019, 23:34
              0
              • S SGaist
                15 Jul 2019, 19:54

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

                F Offline
                F Offline
                Fakhri
                wrote on 15 Jul 2019, 23:34 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
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 16 Jul 2019, 20:38 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

                  F 1 Reply Last reply 17 Jul 2019, 05:06
                  0
                  • S SGaist
                    16 Jul 2019, 20:38

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

                    F Offline
                    F Offline
                    Fakhri
                    wrote on 17 Jul 2019, 05:06 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
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 17 Jul 2019, 06:15 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

                      F 1 Reply Last reply 17 Jul 2019, 07:39
                      0
                      • S SGaist
                        17 Jul 2019, 06:15

                        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.

                        F Offline
                        F Offline
                        Fakhri
                        wrote on 17 Jul 2019, 07:39 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
                        • S Offline
                          S Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 17 Jul 2019, 19:51 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

                          11/13

                          17 Jul 2019, 06:15

                          • Login

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