Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. White screen on launching application on SurfacePro
Forum Updated to NodeBB v4.3 + New Features

White screen on launching application on SurfacePro

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 309 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MarkWhitwell
    wrote on last edited by MarkWhitwell
    #1

    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.?

    Pl45m4P 1 Reply Last reply
    0
    • M MarkWhitwell

      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.?

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @MarkWhitwell

      That's not much information.
      How was your app released? Architecture issue?! Screen resolution issue (high dpi)?!
      (I'm just guessing)


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      M 1 Reply Last reply
      0
      • Pl45m4P Pl45m4

        @MarkWhitwell

        That's not much information.
        How was your app released? Architecture issue?! Screen resolution issue (high dpi)?!
        (I'm just guessing)

        M Offline
        M Offline
        MarkWhitwell
        wrote on last edited by MarkWhitwell
        #3

        @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 defined

        any suggestion for me?

        C 1 Reply Last reply
        0
        • M MarkWhitwell

          @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 defined

          any suggestion for me?

          C Offline
          C Offline
          CPPUIX
          wrote on last edited by
          #4

          @MarkWhitwell have you tried googling these errors? If so, what solutions have you tried and did not work?

          M 1 Reply Last reply
          0
          • C CPPUIX

            @MarkWhitwell have you tried googling these errors? If so, what solutions have you tried and did not work?

            M Offline
            M Offline
            MarkWhitwell
            wrote on last edited by MarkWhitwell
            #5

            @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

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved