I created a window and a picture in label. It' working when i give a localization of a whole file, but i can't let it be like that. I should leave it like this:
ui->setupUi(this);
ui->label_10->setPixmap(QPixmap("C:/Users/JDober/Desktop/UnknownPrinter.jpg"));
And it should be something like that:
ui->setupUi(this);
ui->label_10->setPixmap(QPixmap("UnknownPrinter.jpg"));
But this doesn't work. Ofc i put this file in same folder as a project is. Please help.