Originally Posted by
vermarajeev
Ok I agree attendants have to have some knowledge on some toolkit but there can be cases where the attendants are just fresh passed out. They might have done some small project during their colleges. So there is possibility that they have some domain knowledge (might not be MFC). It can be either Visual Basics, Networking, C, C++, Computer Graphics, Java etc.
Java or Visual Basic are fine too. Let everyone program in the language/toolkit of their choice (be it Swing or VB).
When I learned Qt I only knew C, C++, Visual Basic etc but not MFC. I think if you have a strong C++ background, then learning Qt is somewhat easier. There is QtAssistance which makes your life much easier. QtAssistance has everything but you need to find the proper function to fit in proper place.
But you didn't attend a training for employees (God, what a hard word, I probably misspelled it). In that case the path has to be different.
I'm just assuming majority of attendant have knowlwdge on C, C++ and few on MFC. In that case what can be your classic idea????
Hmm.... Maybe this?
#include <QApplication>
#include <QPushButton>
int main(int a, char **b){
c.setText("Hello world!");
c.show();
return app.exec();
}
#include <QApplication>
#include <QPushButton>
int main(int a, char **b){
QApplication app(a,b);
QPushButton c;
c.setText("Hello world!");
c.show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
And seriously prepare some slides explaining basic concepts of Qt (QObject memory management, signals and slots, object introspection) and then expand to add new topics. And make them write some code...
By the way wysota, can you share some of your experiences learning Qt for the first time. I wil love to hear that.
Oh, sure... no tutorials, trial and error, segfaults, segfaults, segfaults (when accessing GUI from worker threads)... and then I learned to use Assistant correctly Then registered at QtForum and started answering questions. That helped very much Oh and about half a year later I wrote my first more serious working application ("working" is the key word here).
One more small question.. Assume attendants knows only C, C++ and not other toolkits.( and NOTHING). You have 10 such people and you are asked to teach Qt to those people. How do you do proceed???? Please put down all you ideas.
I'll tell you in three months
Bookmarks