6
我正在开发Android应用程序。这个开发是在Linux上完成的,使用Qt Creator和C++和QML。在Qt Android上缺少QSGContext
正如我在随后的一天脱下我的头发和那件事似乎并不太明显了,我不知道是否有人能有任何有关错误线索调试器冲洗出来:
Could not load shared library symbols for 85 libraries, e.g. /system/bin/linker.
W/Qt (24399): kernel/qcoreapplication.cpp:418
(QCoreApplicationPrivate::QCoreApplicationPrivate(int&, char**, uint)): WARNING: QApplication was
not created in the main() thread.
D/libEGL (24399): loaded /system/lib/egl/libEGL_tegra.so
D/libEGL (24399): loaded /system/lib/egl/libGLESv1_CM_tegra.so
D/libEGL (24399): loaded /system/lib/egl/libGLESv2_tegra.so
D/OpenGLRenderer(24399): Enabling debug mode 0
I/Choreographer(24399): Skipped 35 frames! The application may be doing
too much work on its main thread.
D/Qt (24399): qtcpserverconnection.cpp:173 (void QTcpServerConnection::listen()): QML Debugger:
Waiting for connection on port 48309...
D/dalvikvm(24399): GC_CONCURRENT freed 396K, 6% free 7689K/8152K, paused 4ms+2ms, total 56ms
W/Qt (24399): scenegraph/qsgcontext.cpp:440 (virtual void
QSGRenderContext::initialize(QOpenGLContext*)): QSGContext::initialize:
stencil buffer support missing, expect rendering errors
它是一个Qt Creator只是一些如何不正确链接库的问题?
你在使用任何外部库吗? – saiarcot895
只有qml和C++才能在Android上运行。 – Judith
最后一个错误似乎表明你的android设备在它的opengl中没有模板缓冲区支持。这似乎更像是与特定设备兼容的问题,而不是Qt安装的问题 – Jay