"Inside that method you have another connect() -- I do understand as slot without connect() nothing means.
Whether you connect to a slot in Lister or directly to the textview is up to you."
--Indeed I need to define the slot of nested connect() in Lister.cpp, so I need to create Lister object again(or beforehand to be strict), and it will be out of created in main() so it would be the error as ever, or I need static slot with static textview -that is impossible.
Ot I should simply use textview->setText(...), no Lister->textview->setText(...).
Anyway --there is build in finished() signal in qthread as I wrote early, maybe it would be option.
And I do not understand why
void Lister::readthread() {
textview->setText(Lister:path0);
textview->setText("Lister::listed2");
}
void Lister::readthread() {
textview->setText(Lister:path0);
textview->setText("Lister::listed2");
}
To copy to clipboard, switch view to plain text mode
do not render path0 that is not empty and predefined in code. If it would work maybe I would check my previous option
Bookmarks