yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #14963
Re: should we drop qt4 support? + clang-format ?
-
To:
Anton Gladky <gladky.anton@xxxxxxxxx>
-
From:
"Janek Kozicki (yade)" <jkozicki-yade@xxxxxxxxx>
-
Date:
Mon, 9 Mar 2020 23:28:20 +0100
-
Cc:
Yade developers <yade-dev@xxxxxxxxxxxxxxxxxxx>
-
Face:
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUBAQEtLS1KSkpRUVFXV1dYWFhjY2Nzc3N3d3eHh4eKioqdnZ24uLjLy8vc3NxVIagyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AIVEzgS1fgQtQAAAjRJREFUOMtt1DFv00AUAOAzFQNbjigSyoQaRaBMhKgLUyKXpVNNeUpk9vyDqFJhQ1kiBuaqAwJCqvPtSLY7RlTn5+5IdnYkkt/AOyfxXVLe5vf53Z1875kd34tOEax8djmj6GyjhB5bxz50GdsVZr9fqRjZwAtKOJw5Wqs2MMZ16ALHsaDncF7xAHix1oEFHAB8f+pRjcO4gfZDykcYzbiucRolOLUJ6kjA0xtVt+A6TySlM0RajIpK6DzwKZ/nOYbF/gclHMo1ZOHYY/+Ha+AWuM+3oMS4eeqYzZ8FiCltgUqI8cd2wwAVpJk+8LWYjBtnJdQpHQqJMd4Oxt4bU9ESiFGc5hkqaH74asAX4iabP5I5gZ+qjgGlJCqZa3h3lxhoeVcSE1qLQC4sqKOK9MGW9E3izFqqHokoztLFEgXg31sbZEKnWi2T74A4NxfVQqlkjKtcAWD+zcArFEES01dR0E/nnV0IgugmDd/2L84sOAouRBBHEc7gtc8teDkRlE0iNQPo2w3Xhh/D4TCIQ4LRLoTvgwjj6RRgavdurxYGMaIuGOyAW/PpNlCcU9/93AHenAWYjPoAwa+G3e3to/MgFNTAEKvKDjzuCzHTnY3qqdXtx24VijzQfZ0yewZ5cwRFQaa+mIYr1uI0I76+3W4xhlvoVRwOA0Fdl64HlJnxP6T8YpX/Lga4Wv4A3ErrU5oTfN7Mu/llXMl8RXEPji/lQkN3H7qXqgC2By47EXeU/7PJ/wPxRKMnuZwIeAAAAABJRU5ErkJggg==
-
In-reply-to:
<CALF6qJkL2BBeXPqj+hziztSBQt54+JLLLZjvR5wbNMeJZsfWRw@mail.gmail.com>
-
Organization:
Gdańsk University of Technology, YADE software
Anton Gladky said: (by the date of Mon, 9 Mar 2020 21:54:04 +0100)
> If we drop qt4 directory completely, then we will have only qt5-version
> of this method, right?
Oh, right. And it was used for a long time, so it must be good :)
I have just updated that merge request and removed qt4 directory.
Fortunately we have GUI tests in the pipeline, so it should detect any
abnormalities :) (there shouldn't be any, I guess).
Since I have finished all the large modifications in master I thought about clang-formatting it.
But maybe somebody else has some ongoing large changes and prefers to wait with this?
If changes are small, then you could run:
scripts/clang-formatter.sh $YOUR_FILE
and copy it onto the reformatted file. Then the only changes in the diff will be the modified lines.
best regards
Janek
>
> Regards
>
> Anton
>
> Am So., 8. März 2020 um 23:07 Uhr schrieb Janek Kozicki (yade)
> <jkozicki-yade@xxxxxxxxx>:
> >
> > If we decided to remove qt4, then we need to decide which version of
> > GLViewer::postSelection(…) to use, because `meld gui/qt4 gui/qt5`
> > shows that this function is the only one that differs between the two
> > directories.
> >
> >
> >
> > Janek Kozicki (yade) said: (by the date of Sun, 8 Mar 2020 22:54:07 +0100)
> >
> > > These last two merge requests have duplicate changes in both directories.
> > > The changes are identical, because I did
> > >
> > > git diff --staged > /tmp/z.patch
> > > # edit file, replace qt5 with qt5
> > > patch -p1 < /tmp/z.patch
> > >
> > > but having two copies of same stuff isn't healthy. Does anyone still use qt4?
> > >
> > > best regards
> > > Janek
--
--
Janek Kozicki, PhD. DSc. Arch. Assoc. Prof.
Gdańsk University of Technology
Faculty of Applied Physics and Mathematics
Department of Theoretical Physics and Quantum Information
--
http://yade-dem.org/
http://pg.edu.pl/jkozicki (click English flag on top right)
Follow ups
References