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 22 Mar 2023, 09:45 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

    C K 2 Replies Last reply 22 Mar 2023, 16:33
    0
    • D DWJO
      22 Mar 2023, 09:45

      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

      C Online
      C Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 22 Mar 2023, 16:33 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 23 Mar 2023, 00:42
      1
      • C Christian Ehrlicher
        22 Mar 2023, 16:33

        @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 23 Mar 2023, 00:42 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
          22 Mar 2023, 09:45

          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

          K Offline
          K Offline
          Kent-Dorfman
          wrote on 23 Mar 2023, 02:01 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

          2/4

          22 Mar 2023, 16:33

          • Login

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