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

White screen on launching application on SurfacePro

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 291 Views
  • 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 11 Apr 2023, 07:39 last edited by MarkWhitwell 4 Nov 2023, 07:42
    #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.?

    P 1 Reply Last reply 11 Apr 2023, 12:43
    0
    • M MarkWhitwell
      11 Apr 2023, 07:39

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

      P Offline
      P Offline
      Pl45m4
      wrote on 11 Apr 2023, 12:43 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 14 Apr 2023, 05:55
      0
      • P Pl45m4
        11 Apr 2023, 12:43

        @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 14 Apr 2023, 05:55 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 14 Apr 2023, 08:04
        0
        • M MarkWhitwell
          14 Apr 2023, 05:55

          @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 14 Apr 2023, 08:04 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 14 Apr 2023, 12:00
          0
          • C CPPUIX
            14 Apr 2023, 08:04

            @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 14 Apr 2023, 12:00 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

            2/5

            11 Apr 2023, 12:43

            • Login

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