QT5-5.15x and PyQT5-5.15x compiling issues

104 views
Skip to first unread message

Ian Wilson

unread,
Sep 15, 2021, 3:04:46 PM9/15/21
to vfx-platform-discuss
For the 2021 VFX Platform, has anyone run into issues compiling QT5-5.15X and PyQt5-5.15.X?
We are using `GCC 9.3.1` and `Python 3.7.9` on `CentOS 7.6`
I cannot seem to sort out how to get past `#error "Qt requires C++11 support`
I believe QT still needs C++11 support even though we are targeting C++17.
I see in the source files where this is coming from, but not sure how to work around it.
If I comment out the check, then it still fails with the next error `error: ‘QAtomicOps’ does not name a type typedef QAtomicOps<T> Ops;`
Anyone have these issue and know how to solve it?

Ian Wilson

unread,
Sep 17, 2021, 2:51:25 PM9/17/21
to vfx-platform-discuss
I successfully built QT5-5.15.2 using the script https://github.com/AcademySoftwareFoundation/aswf-docker/blob/master/scripts/base/build_qt.sh Both specifically with c++11 and c++17. But when I go to build PyQT 5.15.2 I still get the same error error "Qt requires C++11 support" Does anyone have a script they would be willing to share for compiling PyQT? 
Reply all
Reply to author
Forward
0 new messages