(In reply to Anders Broman from comment #1) > There is issues with Qt4, Qt5 is recomended if available so I'm not sur we > want to do this. That's good to know I guess, but Gentoo is still working out the kinks in its Qt5 deployment and in the mean time we should be able to manage what to use instead of having configure pick something automatically.> Please submitt patches troug git/gerrit > https://www.wireshark.org/develop.html I stared at it for a while but it wasn't obvious how I could simply drop a patch there, except by maybe painstakingly rewriting line after line.
(In reply to Jeroen Roovers from comment #2) > > Please submitt patches troug git/gerrit > > https://www.wireshark.org/develop.html > > I stared at it for a while but it wasn't obvious how I could simply drop a > patch there, except by maybe painstakingly rewriting line after line. It is more easy for us, to follow patch and review codeYou can look also http://wiki.wireshark.org/Development/SubmittingPatches
> > I stared at it for a while but it wasn't obvious how I could simply drop a > patch there, except by maybe painstakingly rewriting line after line. This is actualy super easy to do, but I submitted it to gerrit for you since there seemed to be no followup :https://code.wireshark.org/review/#/c/6260/
(In reply to Anish Bhatt from comment #4) > > > > I stared at it for a while but it wasn't obvious how I could simply drop a > > patch there, except by maybe painstakingly rewriting line after line. > > This is actualy super easy to do, but I submitted it to gerrit for you since > there seemed to be no followup : > https://code.wireshark.org/review/#/c/6260/ I think I am going to abandon this changeset unless you're interested in a followup Jeroen, the patch you submitted does not work as-is, and I do not know this base enough to fix it. I can probably poke around enough to fix it, but based on comment 2, I am not sure if we want to.
Fixed, instead, by having --with-qt take an optional version argument, so that: --with-qt attempts to find either Qt 5 or Qt 4, preferring Qt 5; --with-qt=4 attempts to find only Qt 4; --with-qt=5 attempts to find only Qt 5.And, yes, this is different from how GTK+ is handled and, yes, GTK+ arguably should be handled the same way as Qt is now handled.