Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.0 Release Doesn't Compile with "no-opengl"
Forum Updated to NodeBB v4.3 + New Features

Qt 5.0 Release Doesn't Compile with "no-opengl"

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 3 Posters 6.3k Views 1 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.
  • S Offline
    S Offline
    sbakke
    wrote on last edited by
    #1

    On a fresh Ubuntu 12.04 32bit Amazon instance, I downloaded Qt 5.0 Release source code.

    Ran configure with:
    ./configure -no-opengl -no-xcb -nomake tests -nomake examples -nomake demos

    Build dies with lots or errors looking for missing opengl declarations: GLuint, GL_BLEND, glDisable, etc Files such as qsgdefaultrender.cpp, qsggeometry,

    I installed mesa-common-dev, thinking that might help, as it defines all of above, but same errors.

    I am guessing part of this says no opengl, so doesn't include files like gl.h, but then other parts use it??

    It appears qtbase built ok, everything past that dies.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You should also refrain from compiling QtQuick 2, it requires OpenGL.

      (Z(:^

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sbakke
        wrote on last edited by
        #3

        How do you not compile QtQuick?

        I tried compiling just QtWebkit: make module-qtwebkit
        but got exact same set of errors.

        Looked for a no qtquick in configure didn't see such a thing

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          I don't know. For web kit it is enough to rename or delete qtwebkid directory. It may be that you have to compile with OpenGL, but are not forced to use it later. I always use OGL, so this has never been a problem for me.

          (Z(:^

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            BTW. install libglu1-mesa-dev.

            (Z(:^

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sbakke
              wrote on last edited by
              #6

              Nope installing libglu1-mesa-dev didn't help

              1 Reply Last reply
              0
              • R Offline
                R Offline
                ronymacabo
                wrote on last edited by
                #7

                Hi,

                QtWebkit needs opengl, if you don't want opengl, you may disable all modules that use opengl (qtdeclarative,...)

                rony.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  sbakke
                  wrote on last edited by
                  #8

                  Are you sure they changed QtWebKit to require opengl for 5.0?

                  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