Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Ui doesn't launch when using openGL widgets.

Ui doesn't launch when using openGL widgets.

Scheduled Pinned Locked Moved Unsolved General and Desktop
qopenglwidgetopenglwidget
4 Posts 3 Posters 567 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.
  • D Offline
    D Offline
    DWJO
    wrote on last edited by
    #1

    hello.
    I am using visual studio 2019 and I am trying to use openGL widget in Qt designer.
    But when I use openGL widgets, sometimes when debugging, the Ui doesn't launch. Please watch the video and let me know if there is a solution. thank you

    https://www.youtube.com/watch?v=A9HZM3chl1w&ab_channel=4416cdo

    Christian EhrlicherC Kent-DorfmanK 2 Replies Last reply
    0
    • D DWJO

      hello.
      I am using visual studio 2019 and I am trying to use openGL widget in Qt designer.
      But when I use openGL widgets, sometimes when debugging, the Ui doesn't launch. Please watch the video and let me know if there is a solution. thank you

      https://www.youtube.com/watch?v=A9HZM3chl1w&ab_channel=4416cdo

      Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @DWJO If you have a problem then post a minimal, compilable example or at least parts of your problematic source code and not a video on youtube!

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      D 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        @DWJO If you have a problem then post a minimal, compilable example or at least parts of your problematic source code and not a video on youtube!

        D Offline
        D Offline
        DWJO
        wrote on last edited by
        #3

        @Christian-Ehrlicher

        I made the project as Qt Widgets Application and the source code is below. I only used openGL widgets for the ui.

        #include "testProject.h"

        testProject::testProject(QWidget *parent)
        : QMainWindow(parent)
        {
        ui.setupUi(this);
        printf("testProject");
        }

        testProject::~testProject()
        {}

        20230323_093804.png

        1 Reply Last reply
        0
        • D DWJO

          hello.
          I am using visual studio 2019 and I am trying to use openGL widget in Qt designer.
          But when I use openGL widgets, sometimes when debugging, the Ui doesn't launch. Please watch the video and let me know if there is a solution. thank you

          https://www.youtube.com/watch?v=A9HZM3chl1w&ab_channel=4416cdo

          Kent-DorfmanK Offline
          Kent-DorfmanK Offline
          Kent-Dorfman
          wrote on last edited by
          #4

          @DWJO said in Ui doesn't launch when using openGL widgets.:

          sometimes when debugging, the Ui doesn't launch

          Please clarify this. only when debugging?
          I might expect such behaviour in an otherwise correct program being debugged since openGL is its own command processing pipeline. think of it as "parallel processing". So, breakpoints in your Qt program might not consistently apply to what's going on in the GPU pipeline.

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved