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. QtWebKitWidgets error
Forum Updated to NodeBB v4.3 + New Features

QtWebKitWidgets error

Scheduled Pinned Locked Moved Qt WebKit
7 Posts 3 Posters 2.0k 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
    super33
    wrote on last edited by
    #1

    Hello, I am new to using C++ with the Qt GUI framework and I'm writing a web browser. The only issue is using the QWebView. I write this line in the .pro file:
    @QT += webkitwidgets@

    And these errors come up:
    :-1: error: cannot find -lsqlite3
    :-1: error: collect2: error: ld returned 1 exit status

    It's really frustrating me...any help would be appreciated. Thnx in advance!

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

      Hi,

      What OS are you running on ? What version of Qt are you using ?

      Do you have sqlite3 installed on your system ?

      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
      • S Offline
        S Offline
        super33
        wrote on last edited by
        #3

        I am running Ubuntu 13.10 on Qt 5.0. And no, I do not have sqlite installed on my system.

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

          Then install sqlite3 and you should be good to go

          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
          • S Offline
            S Offline
            super33
            wrote on last edited by
            #5

            I checked and sqlite3 is already installed. Any other suggestions?

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

              Do you have the dev package installed ?

              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
              • G Offline
                G Offline
                guru
                wrote on last edited by
                #7

                Add one more line in your .pro file,

                @QT += core gui webkit@

                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