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. Qt Webkit static
Forum Update on Monday, May 27th 2025

Qt Webkit static

Scheduled Pinned Locked Moved Qt WebKit
4 Posts 3 Posters 9.1k Views
  • 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.
  • I Offline
    I Offline
    Iktwo
    wrote on 14 May 2011, 19:02 last edited by
    #1

    I've been looking around and I'm wondering if there is a way to use Qt WebKit if I compiled Qt statically? I think I saw something for an older version, I'm new to Qt and I really don't understand how plugins works, as I'm developing desktop applications for Windows Qt static is perfect for me, but I understand that I lose some things right? can you point me in the rigth direction? Thanks!

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZapB
      wrote on 15 May 2011, 09:03 last edited by
      #2

      Why do you think static libs are perfect for developing windows desktop apps? It is perfectly reasonable to use shared libraries here too. The only tricky part (and then only the first time that you do it) is creating an installer that installs the necessary dll's along with your app. I use NSIS for this as it is really quite simple to do.

      I am not sure if building QtWebkit statically is supported for Qt 4.7.3. It's not something I have tried.

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goetz
        wrote on 15 May 2011, 15:05 last edited by
        #3

        First: If you do static linking, you get serious licensing issues (search the forums). The baseline is (I'm not a lawyer though!): You will most probably have to release the source code of your application under the GPL.

        Second: WebKit is only supported as a dynamically built library. Static linkage is not supported (quote from "Platform and Compiler Notes":http://doc.qt.nokia.com/4.7/platform-notes.html).

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply
        0
        • I Offline
          I Offline
          Iktwo
          wrote on 15 May 2011, 17:47 last edited by
          #4

          Thanks for your answers, I do understand about license and all.. I know I would have to release the source code of my aplications, that's not a problem for me, just wanted to know if I could use the Webkit, I see I can't, I'll start developing with dynamic linking and see what happens, I'm really new to Qt and I am using SQL plugin (statically) I couldn't compile mysql support in Windows so I changed to ODBC..

          1 Reply Last reply
          0

          1/4

          14 May 2011, 19:02

          • Login

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