Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Applying Qt patch
Hello, I got a patch file for Qt in diff format. How can I apply this patch on Qt? I am using Qt installed from windows binary. Do I have to compile Qt-everywhere?
Yes, you have to compile Qt yourself.
You can grab the source for the version you installed directly with the installer.
Do I have to apply diff before compiling Qt or after compiling Qt?
And How can I apply it?
I googled and it says run diff on Qt creator, but diff is not active state on my Qt creator.
Patches modify source code, you have to apply it before building.
Do you have git installed on your system ? If not you can get WinMerge or KDiff3
Yes, I have installed git on windows.
Do you mean that whenever there is a small patch on few source files, I have to
compile whole qt-everywhere-opensource-src? That sounds quite time consuming job. Can I compile only patch files and replace it?
Depends on the files affected by the patch. If it's only a sub-module then you can only build the submodule.
What is that patch ?
The file patched is
Can I execute the same command which I used for build whole Qt on parent directory of src or May I move to kernel directory and execute something else?
Then you only need to build qtbase.
No you can't just move things around.