Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved QtQuick on Intel Express 4 series (10 years old Intel graphics)

    QML and Qt Quick
    4
    9
    363
    Loading More Posts
    • 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
      maxwell31 last edited by

      I have a QtQuick app, which a user wanted to run on an old Lenovo Laptop running Windows 10, which has a Intel Core 2 Duo T6670, which does not have an intergrated GPU, but the mainboard has an Intel Express 4 series chip. The OpenGL extension viewer shows that it has OpenGL 1.1.

      Intels website https://software.intel.com/en-us/articles/opengl-extensions-supported-in-intel-4-series-express-chipsets-and-beyond states "Intel® 4 Series Express Chipsets support OpenGL version 2.0 and some extensions from OpenGL 2.1 (Pixel Buffer Objects) and OpenGL 3.0 (Frame Buffer Objects, floating point textures and half float pixels)."

      Is it thus feasible at all, to get a QtQuick app running on this Laptop?

      J.Hilk 1 Reply Last reply Reply Quote 0
      • J.Hilk
        J.Hilk Moderators @maxwell31 last edited by

        hi @maxwell31

        if you take a look at the docu about the scenography, you'll notice that the default for QtQuick is OpenGL ES 2.0 or OpenGL 2.0.

        OpenGL 1.1 is probably not feasible

        Qt 5.7 also has the Qt Quick 2D Renderer which does not use OpenGL, but I think that was dropped in the later versions of Qt

        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct

        Qt Needs YOUR vote: https://bugreports.qt.io/browse/QTQAINFRA-4121


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply Reply Quote 3
        • M
          maxwell31 last edited by

          What about ANGLE, would that work?

          1 Reply Last reply Reply Quote 0
          • W
            wrosecrans last edited by

            OpenGL 1.1 is what shows up when there are no real OpenGL drivers installed. I dunno if there are going to be properly supported GL drivers for 10 year old hardware on the latest OS, so you may be stuck in fallback mode. There were probably OpenGL2 drivers for something like the Windows Vista that originally shipped with the machine.

            M 1 Reply Last reply Reply Quote 1
            • fcarney
              fcarney last edited by

              Did you see my post about mesa drivers?
              https://forum.qt.io/topic/106693/qtquick-app-crashing-on-windows-10/2

              Also on our app we added command line option to control this:

                  if(useSoftGL)
                      // for compatibility with VMs
                      QCoreApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);
                  else
                      // default to hardware gl
                      QCoreApplication::setAttribute(Qt::AA_UseDesktopOpenGL);
              

              C++ is a perfectly valid school of magic.

              M 1 Reply Last reply Reply Quote 1
              • M
                maxwell31 @wrosecrans last edited by

                @wrosecrans said in QtQuick on Intel Express 4 series (10 years old Intel graphics):

                OpenGL 1.1 is what shows up when there are no real OpenGL drivers installed. I dunno if there are going to be properly supported GL drivers for 10 year old hardware on the latest OS, so you may be stuck in fallback mode. There were probably OpenGL2 drivers for something like the Windows Vista that originally shipped with the machine.

                I think you are right

                1 Reply Last reply Reply Quote 0
                • M
                  maxwell31 @fcarney last edited by

                  @fcarney said in QtQuick on Intel Express 4 series (10 years old Intel graphics):

                  if(useSoftGL)
                      // for compatibility with VMs
                      QCoreApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);
                  else
                      // default to hardware gl
                      QCoreApplication::setAttribute(Qt::AA_UseDesktopOpenGL);
                  

                  So if MESA is installed, the setAttribute is all I need to do to use MESA?

                  1 Reply Last reply Reply Quote 0
                  • fcarney
                    fcarney last edited by

                    No, you can use either one. The attribute should work stand alone.

                    C++ is a perfectly valid school of magic.

                    M 1 Reply Last reply Reply Quote 1
                    • M
                      maxwell31 @fcarney last edited by

                      @fcarney said in QtQuick on Intel Express 4 series (10 years old Intel graphics):

                      No, you can use either one. The attribute should work stand alone.

                      Great, thanks, I was not aware of that

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post