trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2015

Re: [trinity-devel] tqtinterface and tqt build without opengl issue

From: Michele Calgaro <michele.calgaro@...>
Date: Sat, 5 Dec 2015 20:49:23 +0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2015/12/05 04:33 PM, Fat-Zer wrote:
> Hi I run into an issue when building tqt and tde without opengl.
> 
> The build of tqtinterface fails with:
> 
> === In file included from 
> /var/tmp/portage/dev-qt/tqtinterface-9999/work/tqtinterface/qtinterface/interface_tqt3/tqgl.cpp:23:0: 
> /usr/tqt3/include/ntqgl.h:83:21: fatal error: GL/glu.h: No such file or directory # include <GL/glu.h> ===
> 
> As you can see it because GL/glu.h is not present on the system (which should be ok for non-opengl build). I don't
> want to add yet another build time dependency only because of excess header which doesn't needed to produce any
> code...
> 
> AFAIK most of cpp files under the tqtinterface produce any useful code so they may be safely removed only slightly
> changing the cmake files...
> 
> What do you think about both the issue and future of the tqtinterface?
> 
> PS: As I can see tqtinterface is a just a legacy by now, so may be it's better to rid of it completely?
> 

For openGL, it looks like a bug, so the best would be to log this into the bugszilla system so it does not get forgotten
.

About tqtinterface, you raise a valid point. AFAIK, tqtinterace was introduced when TDE wanted to migrate to qt4 some
time ago (even before I knew of TDE existance). The plan didn't really went anywhere since we lacked the manforce
required for such huge task. On the other hand it made a lot of KDE3 applications no longer compatible with TDE and
each update to qt3 needs to be duplicated (although automatically) to tqt3.
IMHO, tqtinterface feels somehow unnecessary, unless there are other reasons I am not aware of (about which Tim or
Slavek may know better). Removing it would reduced slightly the code base that requires maintenance and would simplify
the steps required to integrate an old KDE3 application into TDE (probably some work would still be required, but a
lot of the renaming is no longer needed).

I am interested in knowing Tim's and Slavek's opinion. If we are to cast a vote, I would probably be in favor of
removing tqtinterface, unless (as said) there are other reasons for it to exists.

Cheers
  Michele



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJWYt1TAAoJECp1t8qK3tXP+EAQAMzaGenOVqWZp7jH85voSftD
L9hpHg8GoR2D1xGLJLWr4N4pOxmyjtXgw6SW+eq8mFguKum8Gr2QhrmfD/CIcdX7
+FETBfvOI5qP9H//44MTKQfZqMjQMeHLkqxE1GEyJyBKAeiiZ4ZkQQS6TQchqQPf
ErEaqSba1Uc2XnL4rCZHXf3SStxNMtUOzbXtMh1P95tlrYYHTzZvgUZwMEV/hm37
xBnWSdDg2QYLFYxtqJd4jMmEHG2O4kBI04prviai5L5GOjO451Y8fWH9PhF2GCBX
zIVCfaIcANf+7pwQz1CGWzgWgGoVOwzjzcVned3w3pGtjZbvoC/5waoWajI6j5Tz
IL50ZDycO1bIkopRn2O6QhQv0SM+OFeo2MFeLv6Q1RAixHuf2PrTWCZ/TA9Sxh+a
O8FdF6MhcexeXRzXK5mA08ROWNUbWwKJ09UPQgTzWgO4tTaQBKAP8s2CD0gfcihM
jqTlU60dpxenkCZiB9KQXBBpdBPWTlxLD0XvrpULI5LYTF6iIgzxI/NOAdGE4g4V
6QeOGdrqZ4Ejf5WECE+V1Y9GQ+ZKE/B17TX+1U5xCmLTwh8BGRODlbyVchydAo+k
i5PgyjJ3TzuXmffug4p0LE2RcpOpfMEnccc7dHYiEAlxoLAzOcNLZ/lK6R2xLhBq
oYcmt5xgr0fR2maXtuBm
=36Ht
-----END PGP SIGNATURE-----