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. Migration to Qt 6.6.1
Forum Updated to NodeBB v4.3 + New Features

Migration to Qt 6.6.1

Scheduled Pinned Locked Moved Unsolved General and Desktop
18 Posts 5 Posters 1.3k Views 4 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.
  • SPlattenS SPlatten

    @JoeCFD said in Migration to Qt 6.6.1:

    https://doc.qt.io/qt-6/topics-graphics.html

    Screenshot 2024-01-22 at 19.11.02.png

    I don't see any OpenGL listed. Found this:

    https://methi1999.github.io/2020/08/19/opengl.html

    JoeCFDJ Offline
    JoeCFDJ Offline
    JoeCFD
    wrote on last edited by
    #7

    @SPlatten
    Click on the Apple menu in the top left corner of the screen and select "About This Mac." In the window that appears, click on the "System Report" button. In the left-hand menu, click on "Graphics/Displays." In the main window, look for the "OpenGL" entry.A

    SPlattenS 1 Reply Last reply
    0
    • JoeCFDJ JoeCFD

      @SPlatten
      Click on the Apple menu in the top left corner of the screen and select "About This Mac." In the window that appears, click on the "System Report" button. In the left-hand menu, click on "Graphics/Displays." In the main window, look for the "OpenGL" entry.A

      SPlattenS Offline
      SPlattenS Offline
      SPlatten
      wrote on last edited by
      #8

      @JoeCFD , thats exactly what I did and the image you see in my post above is the cut out from the Graphics/Displays panel.

      Kind Regards,
      Sy

      1 Reply Last reply
      0
      • SPlattenS SPlatten

        @Volker75 , where do I put the -g ?

        JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by
        #9

        @SPlatten your debug build includes -g. Simply run
        valgrind your executable

        SPlattenS 1 Reply Last reply
        0
        • JoeCFDJ JoeCFD

          @SPlatten your debug build includes -g. Simply run
          valgrind your executable

          SPlattenS Offline
          SPlattenS Offline
          SPlatten
          wrote on last edited by
          #10

          @JoeCFD said in Migration to Qt 6.6.1:

          valgrind

          In a terminal or from Qt Creator ?

          Kind Regards,
          Sy

          JoeCFDJ 1 Reply Last reply
          0
          • SPlattenS SPlatten

            @JoeCFD said in Migration to Qt 6.6.1:

            https://doc.qt.io/qt-6/topics-graphics.html

            Screenshot 2024-01-22 at 19.11.02.png

            I don't see any OpenGL listed. Found this:

            https://methi1999.github.io/2020/08/19/opengl.html

            JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by JoeCFD
            #11

            @SPlatten I am not familiar with IOS. read this:
            Metal
            Apple has made it abundantly clear that they are not interested in supporting OpenGL ES further on any platform they control. In the future, you will use Metal or you will not have accelerated 3D graphics. Those will be your options.

            IOS uses Metal. The minimum version of Metal for Qt 6.6 from my link is 1.2. Check the Metal version in your computer. Better to know this kind of thing.

            SPlattenS 1 Reply Last reply
            0
            • SPlattenS SPlatten

              @JoeCFD said in Migration to Qt 6.6.1:

              valgrind

              In a terminal or from Qt Creator ?

              JoeCFDJ Offline
              JoeCFDJ Offline
              JoeCFD
              wrote on last edited by
              #12

              @SPlatten from command line. But you can do it in Qt Creator as well.

              1 Reply Last reply
              0
              • JoeCFDJ JoeCFD

                @SPlatten I am not familiar with IOS. read this:
                Metal
                Apple has made it abundantly clear that they are not interested in supporting OpenGL ES further on any platform they control. In the future, you will use Metal or you will not have accelerated 3D graphics. Those will be your options.

                IOS uses Metal. The minimum version of Metal for Qt 6.6 from my link is 1.2. Check the Metal version in your computer. Better to know this kind of thing.

                SPlattenS Offline
                SPlattenS Offline
                SPlatten
                wrote on last edited by
                #13

                @JoeCFD , Yes in my image METAL is listed:

                Supported, Metal GPUFamily macOS 2

                Kind Regards,
                Sy

                JoeCFDJ 1 Reply Last reply
                0
                • SPlattenS SPlatten

                  @JoeCFD , Yes in my image METAL is listed:

                  Supported, Metal GPUFamily macOS 2

                  JoeCFDJ Offline
                  JoeCFDJ Offline
                  JoeCFD
                  wrote on last edited by
                  #14

                  @SPlatten Good. run valgrind or gdb your app to see where it crashes.

                  SPlattenS 1 Reply Last reply
                  0
                  • JoeCFDJ JoeCFD

                    @SPlatten Good. run valgrind or gdb your app to see where it crashes.

                    SPlattenS Offline
                    SPlattenS Offline
                    SPlatten
                    wrote on last edited by
                    #15

                    @JoeCFD From the location where my app exists:

                    sy@Simons-iMac build-XMLMPAM-Qt_6_6_1_for_macOS-Debug % valgrind
                    zsh: command not found: valgrind
                    

                    Kind Regards,
                    Sy

                    JoeCFDJ 1 Reply Last reply
                    0
                    • SPlattenS SPlatten

                      @JoeCFD From the location where my app exists:

                      sy@Simons-iMac build-XMLMPAM-Qt_6_6_1_for_macOS-Debug % valgrind
                      zsh: command not found: valgrind
                      
                      JoeCFDJ Offline
                      JoeCFDJ Offline
                      JoeCFD
                      wrote on last edited by
                      #16

                      @SPlatten then install it. Or use gdb

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #17

                        Hi,

                        Which version of macOS are you running ? On which kind of processor ?

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        D 1 Reply Last reply
                        0
                        • SGaistS SGaist

                          Hi,

                          Which version of macOS are you running ? On which kind of processor ?

                          D Offline
                          D Offline
                          DerReisende
                          wrote on last edited by DerReisende
                          #18

                          @SGaist He is using an iMac with AMD GPU - this would make it an intel cpu.

                          @SPlatten I guess you are using qmake for your app? In any case what you could do:

                          1. create an xcode project of your app with qmake and compile it using xcode.
                          2. Follow this link to edit run scheme for the diagnostics malloc magic Xcode provides.
                          3. Run with Xcode

                          Hopefully this will lead you to your problem.
                          Alternatively I think clang´s address sanitizer may be of help as well. For this to work sort of reliably you can add the following compiler flags to your app:
                          -O1 -g -fsanitize=address -fno-omit-frame-pointer
                          This should give reasonable performance while maintaining debugging capability.

                          Note however that I have never used the Xcode approach on macOS. I am using CMake with the address sanitizer only.

                          EDIT: AFAIR valgrind was never of much use on macOS and is much better supported on Linux.

                          1 Reply Last reply
                          2

                          • Login

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