Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QtQuick2 and OpenGL 4
Forum Updated to NodeBB v4.3 + New Features

QtQuick2 and OpenGL 4

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 1 Posters 1.4k 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.
  • N Offline
    N Offline
    Nexelen
    wrote on last edited by
    #1

    Hello. I'm newbie in Qt but i would like use OpenGL with QtQuick2. I tried integrate QtQuick2 and OpenGL 4.3. My test "project":https://github.com/nexelen/Qt5OpenGLStudy . But I have questions. Firts: why glClearColor dont work in initialise function? Second: why application with updates load of CPU 23%+ but if I use QWindow load of CPU 1-2%. And last question: why i must use compatibility profile(OpenGL)(I think because QtQuick2 use OpenGL 2.1)?

    P.S. Sorry for my English ;)

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Nexelen
      wrote on last edited by
      #2

      bq. Second: why application with updates load of CPU 23%+ but if I use QWindow load of CPU 1-2%

      Because QML debugging is enabled =)

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Nexelen
        wrote on last edited by
        #3

        Guys i have problem! Pls help me! QtQuick dont draw if text less 17 symbols. What do I do not so?

        1 Reply Last reply
        0
        • N Offline
          N Offline
          Nexelen
          wrote on last edited by
          #4

          bq. QtQuick dont draw if text less 17 symbols.

          Bug Qt... In latest version everything perfectly works, but there was the last question. Why glClearColor dont work in initialise function? Just work in render function, or if i use QWindow its work.

          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