[Development] Move math3d from QtGui to QtCore

Laszlo Papp lpapp at kde.org
Thu Jul 5 18:00:36 CEST 2012


> No, that's not my thinking. I said nothing of that, so please don't attribute
those things to me.

That is exactly what you have said. I mentioned that there could be a
shared and collaborative solution (not necessarily QtCore like I said
many times) outside QtGui (similarly to kdecore, kio-core, and so
forth outside kdeui in frameworks), and you keep saying, no it does
not make sense with QtGui.

> The classes in kdecore are adding value to applications that don't create a GUI. I never said that they didn't. I am saying that I'm not convinced that
those math3d classes do.

Even Qwt would need something like QPointF3D...

> I'm not ignoring. I heard your arguments and those from others and I am saying
that I am not convinced. Unless you present new data, the decision is made.

Decision is made for QtCore, but I do not think it is done for a non-ui module.

> Repeating old data will not help, unless you believe I misunderstood you. In
that case, don't just repeat, but rephrase.

You have done. I would not like to still depend on QtGui in a command
line application. Unsure, how I can rephrase that.

> And isn't that a problem? It means you didn't study the classes properly...

As, your example shows below, you do not follow.

> class Q_GUI_EXPORT QVector2D
> {
> public:
>    QVector2D();
>   QVector2D(qreal xpos, qreal ypos);
> [...]
> private:
>    float xp, yp;
> };

This is a wrong example. We have been talking about 3D feature, not 2D...

> Is float enough for your needs and for the needs of those the other people
you're trying to tell me would use this class?

No, it is not. 3D audio also uses integers.

> I'd much rather we adopted Eigen into the Qt ecosystem.

What don't you understand about that, it has much more features than I
need, so it would be more convenient to deal with a simple solution?
Like, I said, it is a huge overkill to me to deal with. You would like
to adopt for your purpose, fine, do it. I would not like for my way
smaller amount of goals.

Best Regards,
Laszlo Papp



More information about the Development mailing list