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