Results 1 to 7 of 7

Thread: The execution get teminate while accessing variable declared in another class

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2008
    Posts
    84
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default The execution get teminate while accessing variable declared in another class

    Hi ,I am using QT 4.4.0 .
    I here attached a sample code where I got a problem. This application consists of two buttons named "Dialog1" and "Dialog2". If we click on "Dialog1" button, a dialog1 will open which consists of one button and If we click on "Dialog2" button, a dialog2 will open which consists of one button .In dialog2 if click I click the button named "Dialog2_Push" I need to get a pop up a message displaying the variable which I had declared in dialog1.h class. I wrote a piece of code for that but the execution stops when I click a button named "Dialog2_Push" which is on dialog2 class dialog.
    So help me or suggest me to access the variable declared in one dialog in another dialog.
    Please go through the attached file.

    With regards,
    Sudheer.
    Attached Files Attached Files

Similar Threads

  1. nmake error during .pro compiling
    By mattia in forum Installation and Deployment
    Replies: 5
    Last Post: 18th June 2008, 10:15
  2. Just for fun game
    By vermarajeev in forum Qt-based Software
    Replies: 6
    Last Post: 13th December 2007, 21:52
  3. Error compiling psql plugin
    By vieraci in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2007, 02:49
  4. Accessing to a static variable from the same class
    By xgoan in forum General Programming
    Replies: 6
    Last Post: 5th March 2007, 10:50

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
  •  
Qt is a trademark of The Qt Company.