Results 1 to 7 of 7

Thread: Winid issue with Qt

  1. #1
    Join Date
    Feb 2007
    Posts
    32
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Winid issue with Qt

    Hi all,
    I have to render some output on Qt window using graphical library , for this i need to set the Qt window with the view of graphical library. For this to be done , i need to use "winid"
    and i end up with no window set with the view of graphical library. I have tried a lot and i guess that there is some bug in winid.
    Thanks.
    Pragya

  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: Winid issue with Qt

    Could you elaborate on the problem? What was wrong?

  3. #3
    Join Date
    Feb 2007
    Posts
    32
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Winid issue with Qt

    I am trying to integrate opencascade graphical library with QT , and i am failed to do so, because it ends up with run time error when i try to set the QT window ( for this i am using winid ) with the "view" of open cascade. I guess there is some problem with QWidget::winid( ) . I am using QT 4.2.2 open source , OS windows xp and Visual studio 2005.
    Any suggestion or opinion is really welcome.
    Thanks
    Pragya

  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: Winid issue with Qt

    What kind of runtime error? Have you tried debugging?

  5. #5
    Join Date
    Feb 2007
    Posts
    32
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Winid issue with Qt

    Ya i tried debugging, and it ends with Visual3d_definitonerror of open cascade. When i add a quick watch in my VC++ 8.0, winid value found to be unused.

  6. #6
    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: Winid issue with Qt

    What does the backtrace/callstack say? Find the last point of entry into your code.

  7. #7
    Join Date
    Nov 2006
    Location
    Shrewsbury, UK
    Posts
    97
    Thanks
    3
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Winid issue with Qt

    I'm now pretty sure I understand what's going on here now. See my last post on

    http://www.opencascade.org/org/forum/thread_10859/

    Pete

Similar Threads

  1. Mysql LD_LIBRARY_PATH Issue
    By Think_Positive in forum Installation and Deployment
    Replies: 3
    Last Post: 13th February 2007, 19:16
  2. Dialog and code design issue
    By Gopala Krishna in forum Qt Programming
    Replies: 1
    Last Post: 24th September 2006, 17:54
  3. Replies: 5
    Last Post: 22nd September 2006, 08:04
  4. A Design Issue...
    By nupul in forum Qt Programming
    Replies: 6
    Last Post: 4th May 2006, 17:41
  5. Replies: 1
    Last Post: 13th February 2006, 10:02

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.