Results 1 to 7 of 7

Thread: problems in a small dialog

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: problems in a small dialog

    Yes, that is exactly what I meant and what you are intending to do.

    Cheers.
    _

  2. #2
    Join Date
    Jan 2016
    Posts
    76
    Qt products
    Qt5
    Platforms
    Windows Android
    Thanks
    28
    Thanked 1 Time in 1 Post

    Default Re: problems in a small dialog

    Thanks for the reply.
    I made that changes but I got these errors:

    1- C:\Users\Me\Documents\Qt\Calculator\main.cpp:9: error: 'Calculator' was not declared in this scope
    Calculator calc;
    ^

    2- C:\Users\Me\Documents\Qt\Calculator\main.cpp:10: error: 'calc' was not declared in this scope
    calc.show();
    ^

  3. #3
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    520
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 77 Times in 75 Posts

    Default Re: problems in a small dialog

    Hi, you need to #include "calculator.h" in main.cpp

    Ginsengelf

  4. The following user says thank you to Ginsengelf for this useful post:

    franky (20th October 2016)

  5. #4
    Join Date
    Jan 2016
    Posts
    76
    Qt products
    Qt5
    Platforms
    Windows Android
    Thanks
    28
    Thanked 1 Time in 1 Post

    Default Re: problems in a small dialog

    Thank you.The problem is solved.

Similar Threads

  1. Problems rendering small border-image in Windows
    By droneone in forum Qt Programming
    Replies: 1
    Last Post: 14th March 2013, 17:05
  2. Center dialog on screen problems
    By lalesculiviu in forum Qt Programming
    Replies: 1
    Last Post: 1st November 2009, 14:15
  3. Performance problems with small pixmap
    By RThaden in forum Qt Programming
    Replies: 4
    Last Post: 9th July 2008, 16:14
  4. Problems updating a dialog
    By SkripT in forum Qt Programming
    Replies: 12
    Last Post: 1st April 2006, 11:17
  5. Problems with a dialog
    By SkripT in forum Qt Programming
    Replies: 16
    Last Post: 29th March 2006, 14:17

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.