Results 1 to 2 of 2

Thread: Problem in QWebView

  1. #1
    Join Date
    Aug 2008
    Posts
    134
    Thanks
    10
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Problem in QWebView

    Hi,
    I have Widget(CWebVidgetClass) which contain QWebView object and three buttons and i created the .dll file of the same.. for initialization i used
    Qt Code:
    1. m_tButton1 = new QPushButton(this);
    2. m_tButton2 = new QPushButton(this);
    3. m_tButton3 = new QPushButton(this);
    4. m_Help = new QWebView(this);
    To copy to clipboard, switch view to plain text mode 

    this .dll file i am using in my main application which is a Widget. In my main application i am creating the insatnce of CWebVidgetClass.When i execute the application, the execution stops at "m_Help = new QWebView(this); " statement. It wont give any error... application shutdown when this statement is executed. memory is allocation done properly. but while returning , it shutdown the application.

    Note: instead of dll, if i am using CWebVidgetClass as main application , this works fine

    Can anyone tell me how to resolve the problem


    Thanks in advance
    Last edited by jpn; 13th September 2008 at 19:26. Reason: missing [code] tags

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Problem in QWebView

    Make sure to compile both, the library and the application in same mode (release vs. debug).
    J-P Nurmi

Similar Threads

  1. Problem With QWebView
    By ivi2501 in forum Qt Programming
    Replies: 8
    Last Post: 2nd August 2009, 19:37
  2. QWebView problem with pdf
    By oscar in forum Qt Programming
    Replies: 5
    Last Post: 23rd August 2008, 15:37
  3. Weird problem: multithread QT app kills my linux
    By Ishark in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2008, 09:12
  4. QWebView unknown problem
    By morfei in forum Qt Programming
    Replies: 1
    Last Post: 5th August 2008, 00:12
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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.