Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
how to apply patch the compiler
(translated with google)
I'm trying to apply a patch but can not find anything that works .
This is the patch https://bugreports.qt.io/browse/QTBUG-20964
the file is a txt "diff.txt" I do not understand how to use a patch in txt format
you have to convert it to "patch "?
You can also apply this ?
try using GnuWin32
You don't need to convert anything. Just call
git apply diff.txtin the repo directory.
$ git apply diff.txt
error: patch failed: features/qt3d.prf:17
error: features/qt3d.prf: patch does not apply
error: patch failed: features/qt3dquick.prf:20
error: features/qt3dquick.prf: patch does not apply
error: patch failed: src/imports/shapes/shapes.pro:24
error: src/imports/shapes/shapes.pro: patch does not apply
error: patch failed: src/imports/threed/threed.pro:23
error: src/imports/threed/threed.pro: patch does not apply
error: patch failed: src/plugins/sceneformats/assimp/assimp.pro:41
error: src/plugins/sceneformats/assimp/assimp.pro: patch does not apply
error: patch failed: src/plugins/sceneformats/bezier/bezier.pro:22
error: src/plugins/sceneformats/bezier/bezier.pro: patch does not apply
error: patch failed: src/quick3d/quick3d.pro:59
error: src/quick3d/quick3d.pro: patch does not apply
not because failure patch . place it in the root directory of the project. The repository download it zipped and unzipped format.
Might be a silly question but… Against which version of Qt3D are you trying to apply the patch ?
@SGaist not the version number . I guess it's the first that came to Qt 4.8. It works well on Linux and Windows but fails to compile for symbian and I'm sure it is for this bug https://bugreports.qt.io/browse/QTBUG-20964
The patch came and applied. try to apply it manually and it seems that that fails.
I do not understand why still fails to compile if the patch applied . but since that's another topic