Need guide on modifying Qt modules
-
Hello!
I'd like to modify a few Qt modules to suit my own need (edit source code and add it to my proj e.t.c.)
Quick google found nothing. Would be nice if someone could point me a tutorial or sth!
Thanks -
Hi @FishBoneEK,
https://wiki.qt.io/Building_Qt_6_from_Git gives the rough steps to build Qt yourself.
Please note that if you distribute modified Qt binaries you have to provide the modified source code also (except you have a commercial licence).
Regards
-
Hi,
Out of curiosity, what kind of changes do you want to make ?
-
@SGaist I'm considering adding gaps in LineSeries of QtGraphs (with
qQNaN()perhaps), instead of using multiple LineSeries. -
@SGaist I'm considering adding gaps in LineSeries of QtGraphs (with
qQNaN()perhaps), instead of using multiple LineSeries.@FishBoneEK
Bear in mind that any changes you make to Qt sources will be lost, and have to be re-written/applied, any time you get a new version of Qt. And with Qt Graphs being new one might expect that to change. If at all possible consider not modifying Qt sources, try to manage within whatever it gives you. -
@SGaist I'm considering adding gaps in LineSeries of QtGraphs (with
qQNaN()perhaps), instead of using multiple LineSeries.@FishBoneEK said in Need guide on modifying Qt modules:
@SGaist I'm considering adding gaps in LineSeries of QtGraphs (with
qQNaN()perhaps), instead of using multiple LineSeries.OK, so this is a continuation of https://forum.qt.io/post/836004
As mentioned there, this feature is coming to Qt 6.11 (currently downloadable as a beta) -- please give that a try before editing Qt.