OSX QGuiApplicationPrivate::createPlatformIntegration crash (Qt5.9.1)
I'm developing an extension for SketchUp. However as soon as my C++ code attempts to instantiate an instance of QApplication SketchUp crashes and I get the stack trace shown below. I've already worked through all of the issues of the plugins being where they're suppose to be (ex: it used to tell me cocoa plugin couldn't be found). At this point I'm wondering if it's an issue with SketchUp already runing it's own message pump through Cocoa. Would this present an issue for Qt if Qt tries to own it as well?
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8b7c9d42 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff8b8b7457 pthread_kill + 90
2 libsystem_c.dylib 0x00007fff8b72f420 abort + 129
3 org.qt-project.QtCore 0x0000000128875259 qt_message_fatal(QtMsgType, QMessageLogContext const&, QString const&) + 9
4 org.qt-project.QtCore 0x0000000128876c27 QMessageLogger::fatal(char const*, ...) const + 231
5 org.qt-project.QtGui 0x0000000128e13f39 QGuiApplicationPrivate::createPlatformIntegration() + 5529
6 org.qt-project.QtGui 0x0000000128e13f5b QGuiApplicationPrivate::createEventDispatcher() + 27
7 org.qt-project.QtCore 0x0000000128a50a1f QCoreApplicationPrivate::init() + 1823
8 org.qt-project.QtGui 0x0000000128e101f0 QGuiApplicationPrivate::init() + 64
9 org.qt-project.QtWidgets 0x000000012934c47a QApplicationPrivate::init() + 26
I have the same issue too,have you sloved it, if you sloved it , please teach me, thanks a lot!