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. Linking against external QtWebKit
Forum Updated to NodeBB v4.3 + New Features

Linking against external QtWebKit

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

    I am creating a Qt application using the latest QtWebKit sources (git), and so I'm not using the QtWebKit that comes with Qt5. How do I reference the external QtWebKit libraries in myApplication.pro? Are there best practices for this ( i.e. environment variables, QtCreator settings)?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AcerExtensa
      wrote on last edited by
      #2

      You have 2 QtWebKit libraries?
      add following to your .pro file:
      @
      LIBS += /path/to/your/qtwebkit.so
      @

      if you have only one qtwebkit lib, then the right syntax would be:
      @
      LIBS += -L/path/where/qtwebkit/is
      LIBS += -lQtWebKit
      @

      God is Real unless explicitly declared as Integer.

      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