Skip to content
  • 0 Votes
    3 Posts
    262 Views
    S

    @SGaist Hi,
    I am using Qt version 6.5.0,
    on Windows,
    and to open fullscreen I am using the following code:

    void VideoWidget::mouseDoubleClickEvent(QMouseEvent *event) { setFullScreen(!isFullScreen()); event->accept(); }

    VideoWidget is just a derived class from QVideoWidget

  • 0 Votes
    3 Posts
    567 Views
    M

    They yanked perfectly good functionality out of Qt5, as far as I can tell. Concerning. M$ has a virtual monopoly on OS's, but much like two of the most enduring programming languages out there, win32, C++ and FORTRAN virtually never obsolete a given statement or call. These are also some of the most popular languages/APIs out there. I was looking to pick up the "peak meter" from an audio output, but nevermind. Not the first shortcoming of Qt I've had to code around. I figured out a way to do it with GetPeakValue() and adding the OLE lib to the .pro file. The advantage of doing it this way is the hw usu. does the calculation for you; and you don't have to scan your whole block of audio data. I also prefer linking to a windows distribution of CURL instead of QNetWorkManager; as I found it more reliable. That was in Qt5, however.