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. Webkit: console application
Forum Updated to NodeBB v4.3 + New Features

Webkit: console application

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 5.2k 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.
  • X Offline
    X Offline
    xolve
    wrote on 19 Aug 2010, 18:41 last edited by
    #1

    I am new to Qt.

    I am building a console application and I need to process lot of real world html pages. QtWebkit comes as an easy choice because of clearly cut APIs and easy availability.

    I checked out the docs and they say that I can load pages by using QWebView::load(). But I am building a console application and I cannot use a widget. I get the error as:

    @QWidget: Cannot create a QWidget when no GUI is being used
    The program has unexpectedly finished.@

    So how can I process the html pages using QtWebkit in console application.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on 19 Aug 2010, 21:06 last edited by
      #2

      Same problem is discussed "here":http://developer.qt.nokia.com/forums/viewthread/593/

      1 Reply Last reply
      0

      1/2

      19 Aug 2010, 18:41

      • Login

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