White screen on launching application on SurfacePro
-
Hello everybody,
my application is working on my desktop and other desktops But when I launch the exe on surface pro , I have a white screen with no error message.? -
That's not much information.
How was your app released? Architecture issue?! Screen resolution issue (high dpi)?!
(I'm just guessing) -
@Pl45m4 Hi i am using Surface Pro 7+ and i using Qt5.4.1 Opengl
when i check my log i found out that it seems has some issue in QOpenGL as i am getting following warnings:
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed: ""
QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed: ""
QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed: ""
QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed: ""
QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( dpr ): shader program is not linked
qrc:///MainScreen.qml:54: ReferenceError: platformType is not definedany suggestion for me?
-
@MarkWhitwell have you tried googling these errors? If so, what solutions have you tried and did not work?
-
@Abderrahmene_Rayene yes i have looked and found this thread https://forum.qt.io/topic/52625/qopenglshaderprogram-could-not-create-shader-program/8?_=1681473494310
As mentioned in this thread i am planning to check use DirectX via ANGLE but i am not sure if this will work
QCoreApplication::setAttribute( Qt::AA_UseOpenGLES );
do you have any better suggestion than this please let me know