Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Could somebody teach me how to install this?
Forum Updated to NodeBB v4.3 + New Features

Could somebody teach me how to install this?

Scheduled Pinned Locked Moved Solved Qt WebKit
newbieinstalllibraryqtwebkit
9 Posts 2 Posters 3.8k 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.
  • J Offline
    J Offline
    JScars
    wrote on last edited by
    #1

    I need to install this library
    https://github.com/annulen/webkit

    But i don't know how.... I have installed Qt5.7 with MinGW53
    I tried downloading this file
    https://github.com/annulen/webkit/releases/download/qtwebkit-5.212.0-alpha2/qtwebkit-5.212.0_alpha2-qt59-mingw530-x86.zip

    Unzipping and then copying the folders into qt_directory/5.7/mingw53_32, the QtCreator finds the files (header files) but it doesn't work propertly (i.e: i just can see the objects, but i dont have access to the methods or functions).

    Please help, i'm newbie and i can't find information about this.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Konstantin Tokarev
      wrote on last edited by
      #2

      First of all, "qt59" means that it is built with Qt 5.9

      i dont have access to the methods or functions

      What do you mean? Do you see compilation errors?

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JScars
        wrote on last edited by
        #3

        @Konstantin-Tokarev said in Could somebody teach me how to install this?:

        What do you mean? Do you see compilation errors?

        No, I just can't see them...
        Supose that i try to make a Object sample_object, them if i try to do somethin like "sample_object." it should show me the avaliable methods but instead the list is empty...

        I will download the version 5.9 and try again...

        K 1 Reply Last reply
        0
        • J JScars

          @Konstantin-Tokarev said in Could somebody teach me how to install this?:

          What do you mean? Do you see compilation errors?

          No, I just can't see them...
          Supose that i try to make a Object sample_object, them if i try to do somethin like "sample_object." it should show me the avaliable methods but instead the list is empty...

          I will download the version 5.9 and try again...

          K Offline
          K Offline
          Konstantin Tokarev
          wrote on last edited by
          #4

          @JScars Did you add QT += webkitwidgets to your project?

          J 1 Reply Last reply
          2
          • K Konstantin Tokarev

            @JScars Did you add QT += webkitwidgets to your project?

            J Offline
            J Offline
            JScars
            wrote on last edited by JScars
            #5

            @Konstantin-Tokarev said in Could somebody teach me how to install this?:

            QT += webkitwidgets

            It' seems that it works! I was putting instead

            QT += webkit

            Sorry for disturbing you :c I went very stupid X.x anyway i will install the 5.9 version

            Thanks a lot!!

            EDIT
            @Konstantin-Tokarev
            I can't use QWebView

            QWebView *view = new QWebView(parent);

            it cause the following error

            The program has unexpectedly finished.

            i hope that it's because i haven't the 5.9 version. I will write tomorrow if the problem gets solved, my internet connection is slow and i'm downloading the Qt 5.9 right now.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              JScars
              wrote on last edited by
              #6

              @Konstantin-Tokarev it work's!! But there is an error when i use the debug profile to compile... The program runs only in the release and "profile", but it's fine for me :D thanks a lot.

              K 2 Replies Last reply
              0
              • J JScars

                @Konstantin-Tokarev it work's!! But there is an error when i use the debug profile to compile... The program runs only in the release and "profile", but it's fine for me :D thanks a lot.

                K Offline
                K Offline
                Konstantin Tokarev
                wrote on last edited by
                #7

                @JScars That's a known bug, https://github.com/annulen/webkit/issues/575

                1 Reply Last reply
                2
                • J JScars

                  @Konstantin-Tokarev it work's!! But there is an error when i use the debug profile to compile... The program runs only in the release and "profile", but it's fine for me :D thanks a lot.

                  K Offline
                  K Offline
                  Konstantin Tokarev
                  wrote on last edited by
                  #8

                  @JScars Quick workaround is to run strip bin\Qt5WebKitd.dll

                  K 1 Reply Last reply
                  0
                  • K Konstantin Tokarev

                    @JScars Quick workaround is to run strip bin\Qt5WebKitd.dll

                    K Offline
                    K Offline
                    Konstantin Tokarev
                    wrote on last edited by
                    #9

                    @JScars Please try binaries from http://download.qt.io/snapshots/ci/qtwebkit/qtwebkit/qtwebkit-Windows-Windows_7-Mingw53-Windows-Windows_7-X86.7z

                    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