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. Is there any ways to remove the header section of the recording app (QtMultimedia)
Forum Update on Monday, May 27th 2025

Is there any ways to remove the header section of the recording app (QtMultimedia)

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtmultimedia
3 Posts 2 Posters 307 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.
  • L Offline
    L Offline
    lnt750333
    wrote on last edited by
    #1

    Hello!
    I'm new to QtMultimedia. I want to record my app window, and I found a good example to start QML Video Recorder example. I tried to build and run the example, for a reason I want to remove the header on the output video (this picture is just a example)example-recorder.png
    I wonder if there is any ways to remove the header or at least I can customize the recording app window's height, width and resolution.
    I'm sorry for my bad English, but I appreciate any help. Thank you!

    C 1 Reply Last reply
    0
    • L lnt750333

      Hello!
      I'm new to QtMultimedia. I want to record my app window, and I found a good example to start QML Video Recorder example. I tried to build and run the example, for a reason I want to remove the header on the output video (this picture is just a example)example-recorder.png
      I wonder if there is any ways to remove the header or at least I can customize the recording app window's height, width and resolution.
      I'm sorry for my bad English, but I appreciate any help. Thank you!

      C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      @lnt750333 The "header section" is the window title bar provided to your top level widget by whatever window manager is involved. What you want to try is the Qt::FramelessWindowHint on your top-level window.

      See also the Window Flags Example

      L 1 Reply Last reply
      0
      • C ChrisW67

        @lnt750333 The "header section" is the window title bar provided to your top level widget by whatever window manager is involved. What you want to try is the Qt::FramelessWindowHint on your top-level window.

        See also the Window Flags Example

        L Offline
        L Offline
        lnt750333
        wrote on last edited by
        #3

        @ChrisW67 Thanks for your response! Using Qt::FramelessWindowHint flags can help me in my case.
        But for further understanding, in case I want to record other apps then I have to remove its header section (such as the OBS header in above picture), I wonder If I could set this similar flags to CapturableWindow when I get it from capturableWindows(). Or QWindowCapture, QMediaRecorder had the other ways to help me with this?
        Please feel free to share, I’m grateful.

        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