Wysota, when I say :
I have to include the files .h and .cpp by hand (sincerely I dont understand why ....)
I want to express my perplexity with QTCreator. If I choose mywidget from the widgets selector one expect that Qtcreator does the work.
And, of course, I want to learn, and I try to do the things myself, but the QT documentations sometimes does not give me solutions.

So, my questions (unresolved) are
At this moment if I build myprog, how is used mywidget, statically ?
And to use the dll directly, Have I to use Qpluginloader?
Thanks.