Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Webkit: console application

    Qt WebKit
    2
    2
    4911
    Loading More Posts
    • 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
      xolve last edited by

      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 Reply Quote 0
      • D
        DenisKormalev last edited by

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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post