Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. OpenGL Issues in Remote Application
Forum Update on Monday, May 27th 2025

OpenGL Issues in Remote Application

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 1.2k 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.
  • F Offline
    F Offline
    Fsaresh
    wrote on 20 May 2014, 18:51 last edited by
    #1

    Hi everyone,

    I've been working with Qt 5.2.1 on a project that works on another machine, and it compiles and deploys just fine. However, upon starting the remote application on my end, it gives the following error set in a loop:

    @
    W/Qt ( 1070): qglshaderprogram.cpp:300 (bool QGLShaderPrivate::compile(QGLShader*)): QGLShader::compile(Fragment): 0:2(9): preprocessor error: Redefinition of macro highp
    W/Qt ( 1070):
    W/Qt ( 1070):
    W/Qt ( 1070): gl2paintengineex/qglengineshadermanager.cpp:387 (QGLEngineShaderProg* QGLEngineSharedShaders::findProgramInCache(const QGLEngineShaderProg&)): Warning: "" failed to compile!
    @

    I'm running Ubuntu 13.10, and I have OpenGL installed via mesa-common-dev and freeglut3-dev, so I'm not entirely sure why QGL is returning these errors -- especially since the same code works on a Windows machine my supervisor uses.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 20 May 2014, 19:16 last edited by
      #2

      Hi and welcome to devnet,

      What do you mean by remote application ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Fsaresh
        wrote on 20 May 2014, 19:27 last edited by
        #3

        Thanks for the reply!
        I'm trying to run an external application on an Android virtual device -- it's code supplied from someone else that supposedly should run out of the box and does run on a Windows machine.
        Upon running the code, it launches an Android virtual device that boots, waits a minute or so, and then launches this external code that fails with the above error set. Does that help?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 20 May 2014, 20:24 last edited by
          #4

          Yes it does. You might be hitting one of these bugs :

          https://bugreports.qt-project.org/browse/QTBUG-35446
          https://bugreports.qt-project.org/browse/QTBUG-35582

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          1/4

          20 May 2014, 18:51

          • Login

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