[Interest] Qt3D: Problem with QSkybox basename property

Ch'Gans chgans at gna.org
Tue Apr 18 11:10:54 CEST 2017

Hi there,

I have just tried the sky box entity with Qt-5.9-beta, and found a
small problem:
If you don't specify a basename or if the basename is malformed, the
GUI will freeze.
As the documentation doesn't specify that the basename should be in a
QUrl compatible format, I stupidly set the basename to
'/somewhere/basename', it's only after looking at the source that i
realised that. Using 'file:///somewhere/basename' fixed the problem.
Shouldn't the documentation be updated to reflect that? Maybe simply
replacing 'basename' with 'baseUrl' would give the right clue to the
user, along with plainly saying that basename + suffix + extension
should form a string that can be used with QUrl.


More information about the Interest mailing list