Compile Qt 5.5.1 for Windows without Bearer Management
-
I'm following the online guide to compile Qt from source.
I managed to configure my environment using configure.bat -opensource -nomake examples -nomake tests
But the final compilation now requires my application to have the bearer plugin shipped along. Despite having more files to ship, it is also causing some errors in the field.
So I wanted to recompile Qt removing this feature like the compiled version that can be downloaded in Qt's website.
By reading the online configure options manual, I could see that it supports the parameter -no-feature-<feature> where <feature> is the name listed inside qtbase/src/corelib/global/qfeatures.txt.
This is true for the configure.sh file, but on Windows the file that is run is configure.exe which does not support this parameter.
So I opened up the configure source code and saw that these options are hard-coded (rather than read from the qfeatures.txt) and is used differently: -no-<feature> instead of the documented -no-feature-<feature>.
But, I could not see inside the configure.exe source code how can I disable the Bearer Management plugin, since the -no-bearermanagement parameter is not coded.
My question is: How can I compile Qt 5.5.1 on Windows (with Visual Studio 2013) disabling the Bearer Management plugin?
-
I solved the problem by changing the configureapp.cpp source adding support for the Bearer Management switch.
How can I submit this patch to Qt's source base to be evaluated?
-
Hi and welcome to devnet,
The gerrit guide is the starting point :)
-
Thank you ;)
-
where did you put the patch for disabling bearermanager? Do you have a link?