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. Run qt example is not warning and error but nothing is displayed (exception window)
Forum Updated to NodeBB v4.3 + New Features

Run qt example is not warning and error but nothing is displayed (exception window)

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 3 Posters 671 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.
  • longhoangdevL Offline
    longhoangdevL Offline
    longhoangdev
    wrote on last edited by
    #1

    Hello everbody,
    I have a trouble with qt creator 4.14.1 when i run qt example is not warning and error but nothing is displayed (exception window white screen) ( below the image). I have already installed window 10 and installed qt creator .Example I run that is qmlchart and i use mingw 8.1 64 bit
    37fe59d1-7397-4ad1-9c42-b78f42d81ffb-image.png

    So do i install missing file ? I guess issue belongs to graphics ( because nothing is display example color , rectangle, v.. v....) and i checked my computer is using directX 12

    Could anyone please help me?

    Thank you,

    jsulmJ J.HilkJ 2 Replies Last reply
    0
    • longhoangdevL longhoangdev

      Hello everbody,
      I have a trouble with qt creator 4.14.1 when i run qt example is not warning and error but nothing is displayed (exception window white screen) ( below the image). I have already installed window 10 and installed qt creator .Example I run that is qmlchart and i use mingw 8.1 64 bit
      37fe59d1-7397-4ad1-9c42-b78f42d81ffb-image.png

      So do i install missing file ? I guess issue belongs to graphics ( because nothing is display example color , rectangle, v.. v....) and i checked my computer is using directX 12

      Could anyone please help me?

      Thank you,

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

      @longhoangdev Did you try other examples? Do those work?

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

      longhoangdevL 1 Reply Last reply
      0
      • longhoangdevL longhoangdev

        Hello everbody,
        I have a trouble with qt creator 4.14.1 when i run qt example is not warning and error but nothing is displayed (exception window white screen) ( below the image). I have already installed window 10 and installed qt creator .Example I run that is qmlchart and i use mingw 8.1 64 bit
        37fe59d1-7397-4ad1-9c42-b78f42d81ffb-image.png

        So do i install missing file ? I guess issue belongs to graphics ( because nothing is display example color , rectangle, v.. v....) and i checked my computer is using directX 12

        Could anyone please help me?

        Thank you,

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @longhoangdev well, if you do not explicitly tell it to, Qml will still use OpenGL for qml rendering

        IIRC, setting qputenv("QSG_RHI", "1"); should remedy that...

        You can check if it helps


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


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

        longhoangdevL 1 Reply Last reply
        0
        • jsulmJ jsulm

          @longhoangdev Did you try other examples? Do those work?

          longhoangdevL Offline
          longhoangdevL Offline
          longhoangdev
          wrote on last edited by
          #4

          Hi @jsulm
          I try to other example but screen is still white ( against qquickview but qwidget is worl normally)

          Thanks,

          1 Reply Last reply
          0
          • J.HilkJ J.Hilk

            @longhoangdev well, if you do not explicitly tell it to, Qml will still use OpenGL for qml rendering

            IIRC, setting qputenv("QSG_RHI", "1"); should remedy that...

            You can check if it helps

            longhoangdevL Offline
            longhoangdevL Offline
            longhoangdev
            wrote on last edited by
            #5

            @J-Hilk
            where can I find IIRC, setting qputenv("QSG_RHI", "1") ? I don't understand it

            J.HilkJ 1 Reply Last reply
            0
            • longhoangdevL longhoangdev

              @J-Hilk
              where can I find IIRC, setting qputenv("QSG_RHI", "1") ? I don't understand it

              J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote on last edited by
              #6

              @longhoangdev
              More information here:
              https://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph-renderer.html#rendering-via-the-qt-rendering-hardware-interface

              qputenv is the Qt- way (notice the q before putenv ?) of setting an environment variable


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


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

              longhoangdevL 1 Reply Last reply
              1
              • J.HilkJ J.Hilk

                @longhoangdev
                More information here:
                https://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph-renderer.html#rendering-via-the-qt-rendering-hardware-interface

                qputenv is the Qt- way (notice the q before putenv ?) of setting an environment variable

                longhoangdevL Offline
                longhoangdevL Offline
                longhoangdev
                wrote on last edited by
                #7

                @J-Hilk
                Thank you , i will see it later and reply you as soon as possible when i try to doing it that it don't 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