Hello, I am writing a qt program in VS 6.0.

I have a window with a button on it. When the button is pressed it will create a file dialog box. I have placed the window and wrote the code to hopefully do this. I have the class that contains the slot.

Qt Code:
  1. class Panel : public QWidget
  2. {
  3.  
  4. public:
  5. Panel(QWidget *parent = 0, QObject *app = 0);
  6. ...methods
  7.  
  8. private slots:
  9. void openFieldDialog();
  10.  
  11. private:
  12. ...variables
  13. };
To copy to clipboard, switch view to plain text mode 

Here is the code for the slot:

Qt Code:
  1. void Panel::openFieldDialog()
  2. {
  3. ...code
  4. }
To copy to clipboard, switch view to plain text mode 

Here is the line where I use the connect for it:

Qt Code:
  1. QPushButton *loadFile = new QPushButton("Load File", mainFrame);
  2. //this = Panel
  3. QObject::connect(loadFile, SIGNAL(clicked()), this, SLOT(Panel::openFieldDialog()));
To copy to clipboard, switch view to plain text mode 

I then compile and build in VS 6.0 and run the program. Nothing happens when I click on the button and on the console window that appears this is seen (it is present before I click):
Object::connect: No such slot QWidget::Panel:penFieldDialog()

I have tried numerous other things, such as openFieldDialog() instead of Panel::..., etc.

Any ideas?

Thank you!!

PS:

Also is there a way to get qmake to work with the makefile for VS 6.0? I'd rather to have all of my compiling done with 1 thing.