Results 1 to 5 of 5

Thread: How to use qwebpage in non-gui app

  1. #1
    Join Date
    Jun 2008
    Location
    Rybnik, Poland
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How to use qwebpage in non-gui app

    Hi
    I want to use qwebpage and qwebframe in console app to get page and execute javascript code. it's possible or maybe is other way to do this ?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to use qwebpage in non-gui app

    Yes, it should be possible.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jun 2008
    Location
    Rybnik, Poland
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to use qwebpage in non-gui app

    May I please have a help with it? any clue or sample code ?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to use qwebpage in non-gui app

    Sure, just tell us what the problem is
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Jun 2008
    Location
    Rybnik, Poland
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to use qwebpage in non-gui app

    ok, i want to use qtwebpage in QCoreApplication or QThread but when i try do this i get "QWidget: Cannot create a QWidget when no GUI is being used"
    I don't need qwidget anywhere

Similar Threads

  1. QWebPage error handling
    By Guilo in forum Qt Programming
    Replies: 2
    Last Post: 21st September 2010, 05:48
  2. Get images from a QWebView or QWebPage
    By redneon in forum Qt Programming
    Replies: 6
    Last Post: 21st January 2010, 09:03
  3. Can QWebPage see changes in a website
    By probine in forum Qt Programming
    Replies: 3
    Last Post: 15th August 2009, 23:23
  4. QwebPage within a QGraphicsWidget
    By Osprey in forum Qt Programming
    Replies: 0
    Last Post: 16th June 2009, 17:32
  5. QWebPage::createPlugin()..how to use this function??
    By coolmac in forum Qt Programming
    Replies: 1
    Last Post: 21st July 2008, 19:58

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.