Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
My purpose is to embed a mp4 in Qt resources and playback but i get a [qrc_MyResource.0] Error 1.
if (! fileName.isEmpty()) {
mediaPlayer.setMedia(QUrl::fromLocalFile(":/MyFiles/korean.mp4") ); playButton->setEnabled(true);
}
Any suggestion?
Hi, delete all temporary project files. Make Clean and Rebuild.
Hi,
When exactly are you getting that error ? Which size is this file ?
bq. SGaist wrote: Hi, When exactly are you getting that error ? Which size is this file ?
Can size affect?
Yes it does, the resource system embeds the file in your executable which means that it will get compiled into it
[quote author="SGaist" date="1413498949"]Yes it does, the resource system embeds the file in your executable which means that it will get compiled into it[/quote] Thank you for answer.