[CentOS] Learning to build applications

Thu Dec 10 02:43:51 UTC 2020
H <agents at meddatainc.com>

On 11/18/2020 11:19 PM, Gordon Messmer wrote:
> On 11/18/20 4:38 PM, H wrote:
>> I am a beginner when it comes to compiling applications and would appreciate suggestion how to fix the above. Thank you.
>
>
> Looks like a build failure that was mentioned here:
> https://github.com/pgmodeler/pgmodeler/issues/1259
>
> I believe this reply is relevant:
> "It's not yet documented but you have to use the latest Qt version 5.11 or 5.12 and have C++14 enabled on your compiler. Make sure to use at least gcc 5.0 to get full support to C++14."
>
> I believe CentOS 7 includes Qt 5.9, so I wouldn't expect this application to build, there.
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos

Hi, I am back looking at this again and you are right. I had installed qt-qtsvg-devel-5.9.7 on my CentOS 7 system and per pkgs.org it seems that is the last version available as a download for CentOS 7. CentOS 8, on the other hand, seems to have 5.12.

I just found https://doc.qt.io/qt-5/supported-platforms.html and it suggests that Qt 5.15 can be compiled for RHEL 7.6 using gcc 5.3.1 via devtoolset-4.

Perhaps someone on this mailing list has been successful in compiling Qt 5.11 or later for CentOS 7.x?