Okay, so I changed the lines to this:

Qt Code:
  1. QPushButton *aButton=new QPushButton("&aButton", &w);
  2.  
  3. aButton->setShortcut(Qt::Key_A);
  4. // QObject::connect(aShortCut, SIGNAL(activated()), aButton, SLOT(animateClick()));
To copy to clipboard, switch view to plain text mode 

(I commented out that last line....I think I was supposed to do that now that I'm using the aButton->setShortcut. Still issue though. It compiles and runs, but the aButton isn't clicked when I press the letter a on my keyboard.

Any other ideas?