team-phoenix / Phoenix

A multi-system emulator and library manager designed to be both powerful and easy to use.
http://phoenix.vg
GNU General Public License v2.0
376 stars 40 forks source link

Doesn't build on macOS #329

Closed athairus closed 7 years ago

athairus commented 7 years ago

https://bugreports.qt.io/browse/QTBUG-50073

Qt 5.6+ have removed Qt5PlatformSupport pkg-config and CMake files. We relied on this library to have a way of getting at the scene graph's OpenGL context so we could directly turn VSync on or off. We'll have to re-work this...

One possible solution is to make 5.6 the mandatory supported version... it is LTS after all?

athairus commented 7 years ago

After carving out osxhelper.mm and the dependent internal header from the build system, here's how the versions compare:

Crash on exit with quazip

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.qt-project.QtCore           0x0000000107b63de3 QDateTime::~QDateTime() + 19
1   Phoenix                         0x000000010608bfe3 QuaZipNewInfo::~QuaZipNewInfo() + 83
2   Phoenix                         0x0000000106087475 QuaZipNewInfo::~QuaZipNewInfo() + 21
3   Phoenix                         0x0000000106087117 DebugHandler::archive() + 487
4   Phoenix                         0x0000000106088657 main + 2759
5   libdyld.dylib                   0x00007fff8cf1a255 start + 1