Hello.

I have made an ui stub by using QT Designer following an example from the book C++ Gui Programming for QT. I saved the ui file (gotocelldialog.ui) in folder togehter with this main.cpp:

#include <QApplication>
#include <QDialog>

#include "ui_gotocelldialog.h"

int main(int argc, char *argv[])
{
QApplication app(argc, argv);

Ui::GoToCellDialog ui;
QDialog *dialog = new QDialog;
ui.setupUi(dialog);
dialog->show();

return app.exec();
}


And then I run "qmake -project" which creates this gotocell.pro:

TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .

# Input
FORMS += gotocelldialog.ui
SOURCES += main.cpp

After that i run "qmake gotocell.pro". This creates a makefile. Regarding the description in the book executing qmake should create a ui_gotocelldialog.h by invoking the uic but his is not happening. Thus, i cant compile it since the header which is inculded int he main.cpp is missing.
I would be really happy if you could help me! For compilation i am using Visual Studio 10 with the QT plugin which has been working fine on the previous qt examples so far.

Best Regards,
Regenlied