Results 1 to 10 of 10

Thread: No Such Slot

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: No Such Slot

    Quote Originally Posted by Geoffry31 View Post
    Should I perhaps try changing the MainMenu::<slot> thngies from MainMenu.cpp to QMainWindow?
    No, that is not your code to modify (at your skill level)


    Your problem is that you have got a VARIABLE called MainMenu, that is actually a QMainWindow, and you are trying to treat it like an instance of MainMenu. Oops!
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  2. The following user says thank you to amleto for this useful post:

    Geoffry31 (13th November 2012)

Similar Threads

  1. Replies: 8
    Last Post: 7th November 2012, 14:10
  2. Replies: 2
    Last Post: 26th August 2011, 08:51
  3. no such slot
    By JeanC in forum Qt Programming
    Replies: 4
    Last Post: 26th January 2008, 11:39
  4. Slot
    By mickey in forum Qt Programming
    Replies: 1
    Last Post: 22nd July 2006, 18:51
  5. signal slot conection using a string, not a SLOT
    By rianquinn in forum Qt Programming
    Replies: 6
    Last Post: 5th February 2006, 18:52

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.