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 Quick Renderer 2D
Forum Updated to NodeBB v4.3 + New Features

Qt Quick Renderer 2D

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
22 Posts 4 Posters 9.0k 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.
  • A Andrey Shmelew

    @jsulm
    if i can build and run qtquick 2.0 application on my machine, it means that QT already supports OpenGL and i can skip Building Qt Quick 2D Renderer, and as stated:

    Build Qt Quick 2D Renderer like any other Qt module:
    
    qmake
    make
    make install
    

    sorry for the annoyance

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #12

    @Andrey-Shmelew You need it for BBB not your host PC right? Whether Qt supports OpenGL on your host PC or not is completely irrelevant for BBB. Isn't the absence of OpenGL on BBB the reason you want to have Qt Quick 2D Renderer?
    So, the question is: did you build your BBB Qt with -opengl es2 ?

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    A 2 Replies Last reply
    0
    • jsulmJ jsulm

      @Andrey-Shmelew You need it for BBB not your host PC right? Whether Qt supports OpenGL on your host PC or not is completely irrelevant for BBB. Isn't the absence of OpenGL on BBB the reason you want to have Qt Quick 2D Renderer?
      So, the question is: did you build your BBB Qt with -opengl es2 ?

      A Offline
      A Offline
      Andrey Shmelew
      wrote on last edited by
      #13

      @jsulm said in Qt Quick Renderer 2D:

      did you build your BBB Qt with -opengl es2 ?

      i don't really know...

      1 Reply Last reply
      0
      • jsulmJ jsulm

        @Andrey-Shmelew You need it for BBB not your host PC right? Whether Qt supports OpenGL on your host PC or not is completely irrelevant for BBB. Isn't the absence of OpenGL on BBB the reason you want to have Qt Quick 2D Renderer?
        So, the question is: did you build your BBB Qt with -opengl es2 ?

        A Offline
        A Offline
        Andrey Shmelew
        wrote on last edited by
        #14

        @jsulm

        so after tons hours of googling i decided to instal on BBB the lastest image of debian.

        then, i updated and upgraded a system on the board.
        Now there are no errors about opengl es,
        so now when i start application with QTQuick 2.0 only these errors appear:
        QXcbConnection: Failed to get the primary output of the screen
        QXcbConnection: XCB error: 170 (Unknown), sequence: 164, resource id: 90, major code: 146 (Unknow
        n), minor code: 20.

        and... nothing else happens

        jsulmJ 1 Reply Last reply
        0
        • A Andrey Shmelew

          @jsulm

          so after tons hours of googling i decided to instal on BBB the lastest image of debian.

          then, i updated and upgraded a system on the board.
          Now there are no errors about opengl es,
          so now when i start application with QTQuick 2.0 only these errors appear:
          QXcbConnection: Failed to get the primary output of the screen
          QXcbConnection: XCB error: 170 (Unknown), sequence: 164, resource id: 90, major code: 146 (Unknow
          n), minor code: 20.

          and... nothing else happens

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #15

          @Andrey-Shmelew Do you have a X server running on BBB?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          A 1 Reply Last reply
          0
          • jsulmJ jsulm

            @Andrey-Shmelew Do you have a X server running on BBB?

            A Offline
            A Offline
            Andrey Shmelew
            wrote on last edited by
            #16

            @jsulm said in Qt Quick Renderer 2D:

            X server

            sorry i dont know what is this

            jsulmJ 1 Reply Last reply
            0
            • A Andrey Shmelew

              @jsulm said in Qt Quick Renderer 2D:

              X server

              sorry i dont know what is this

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #17

              @Andrey-Shmelew Then you should read about it. It is the graphics environment used on UNIX/Linux machines. Do you have ANY graphics on your BBB (connected display with graphics, not text mode)?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              A 1 Reply Last reply
              1
              • jsulmJ jsulm

                @Andrey-Shmelew Then you should read about it. It is the graphics environment used on UNIX/Linux machines. Do you have ANY graphics on your BBB (connected display with graphics, not text mode)?

                A Offline
                A Offline
                Andrey Shmelew
                wrote on last edited by
                #18

                @jsulm
                yes, i have 10 inch display with HDMI, and applications that are not qtquick are running excellent on it,
                also i can run these applicastions on my host machine throught SmartTTY XmingX

                jsulmJ 1 Reply Last reply
                0
                • A Andrey Shmelew

                  @jsulm
                  yes, i have 10 inch display with HDMI, and applications that are not qtquick are running excellent on it,
                  also i can run these applicastions on my host machine throught SmartTTY XmingX

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #19

                  @Andrey-Shmelew Are those applications GUI applications? How do you start them? And how do you start your application?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  A 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @Andrey-Shmelew Are those applications GUI applications? How do you start them? And how do you start your application?

                    A Offline
                    A Offline
                    Andrey Shmelew
                    wrote on last edited by Andrey Shmelew
                    #20

                    @jsulm
                    yes.
                    i take an GUI example (for example - Composition), compile it in my host machine for BBB, then i upload binary file to BBB, then i open linux on BBB and check this binary file as "make file executable" , then double click on the file and it starts,
                    all the same steps are for GUI with qtquick2.

                    while i write this post i started example clocks on my beaglebone black and it started well!

                    Thank you

                    jsulmJ 1 Reply Last reply
                    0
                    • A Andrey Shmelew

                      @jsulm
                      yes.
                      i take an GUI example (for example - Composition), compile it in my host machine for BBB, then i upload binary file to BBB, then i open linux on BBB and check this binary file as "make file executable" , then double click on the file and it starts,
                      all the same steps are for GUI with qtquick2.

                      while i write this post i started example clocks on my beaglebone black and it started well!

                      Thank you

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #21

                      @Andrey-Shmelew Are you still trying to use software renderer?

                      root@beaglebone:/media/rootfs/media# export QMLSCENE_DEVICE=softwarecontext
                      root@beaglebone:/media/rootfs/media# ./noopengl
                      

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      A 1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @Andrey-Shmelew Are you still trying to use software renderer?

                        root@beaglebone:/media/rootfs/media# export QMLSCENE_DEVICE=softwarecontext
                        root@beaglebone:/media/rootfs/media# ./noopengl
                        
                        A Offline
                        A Offline
                        Andrey Shmelew
                        wrote on last edited by
                        #22

                        @jsulm

                        no, i am not using software renderer,
                        i just compile and download clocks example, but it works slowly

                        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