Hello,

Sorry for my "n00bness".

I finaly choosed qt. I made an .ui file with qt4 designer and written main file. First:
-I included "ex.ui"...IS that right? Will compiler accept that?
HEre is the code,

#include "ex.ui"
#include <QtGui/QtGui>

int main(int argc, char *argv[])
{
QApplication app(argc, argv);
app.setQuitOnLastWindowClosed(true);
QMainWindow *form = new QMainWindow;
Ui::MainWindow ui;
ui.setupUI(form);
form->show();
return app.exec();
}

IS that ok?

Also I dont know how to copile that...Or make a makefile and configiure file.
Qmake? Nmake? Help me!

Thanks in advance,
Jan Birsa

Better ask this question at the QT forums, they would be able to help you better.

Yeah thanks...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.