• Atempt disable cookies in QWebEngineView failed for strange reason

    From =?UTF-8?B?8J+HtfCfh7FKYWNlayBNYXJja@3:633/280.2 to All on Mon Jul 14 01:33:20 2025
    Czołem!

    I have guide how to disable cookies in QWebEngineView:

    <https://stackoverflow.com/questions/68424280/how-to-disable-cookies-using-qtwebengine>

    But I have compilation problem:

    fatal error: FilterRequest: Nie ma takiego pliku ani katalogu
    6 | #include <FilterRequest>
    | ^~~~~~~~~~~~~~~
    compilation terminated.

    I check if FilterRequest exists in the /usr/* dir:

    find /usr -iname '*FilterRequest*'

    But it found only files related to LO in two dirs:
    /usr/share/idl/libreoffice , and /usr/share/doc/libreoffice .

    Even more strange is fact that the same result gives me:

    apt-file find FilterRequest

    But in Assistant (Qt lib doc.) is clearly writen:

    Header: #include <FilterRequest>
    Since: Qt 5.11

    I check that in my os, with command:

    apt list | grep libqt5

    and it seems that I have Qt v5.12.8.

    So why on my Kubuntu 20.04 I can't found the FilterRequest include file?!?
    It is expected? Or my os is broken? Or even worst maybe it is hacked?!?

    --
    Miłego dnia!
    Jacek Marcin Jaworski: <jaworski1978@adres.pl>;
    S. domowa: <https://energokod.pl>;
    Mini Netykieta: <https://energokod.pl/MiniNetykieta.html>.

    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: Energo Kod (3:633/280.2@fidonet)
  • From =?UTF-8?B?8J+HtfCfh7FKYWNlayBNYXJja@3:633/280.2 to All on Mon Jul 14 04:56:35 2025
    Subject: Re: Atempt disable cookies in QWebEngineView failed for strange
    reason

    W dniu 13.07.2025 o20:08, Scott Lurndal pisze:
    =?UTF-8?B?8J+HtfCfh7FKYWNlayBNYXJjaW4gSmF3b3Jza2nwn4e18J+HsQ==?= <jaworski1978@adres.pl> writes:
    Czołem!



    I check that in my os, with command:

    apt list | grep libqt5

    and it seems that I have Qt v5.12.8.

    You likely need to load libqt5-dev to get the compile time header files.

    It is a joke? There is no such package!

    $ apt list | grep libqt5.*-dev

    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

    libqt5-ukui-style-dev/focal 1.0.3-0ubuntu2 amd64
    libqt5charts5-dev/focal 5.12.8-0ubuntu1 amd64 libqt5datavisualization5-dev/focal 5.12.8-0ubuntu1 amd64 libqt5gamepad5-dev/focal 5.12.8-0ubuntu1 amd64 libqt5gstreamer-dev/focal-updates 1.2.0-5ubuntu0.1 amd64 libqt5networkauth5-dev/focal 5.12.8-0ubuntu1 amd64 libqt5opengl5-dev/focal-updates,focal-security,now
    5.12.8+dfsg-0ubuntu2.1 amd64 [zainstalowany,automatycznie] libqt5opengl5-dev/focal-updates,focal-security 5.12.8+dfsg-0ubuntu2.1 i386 libqt5pas-dev/focal 2.6~beta-6build1 amd64
    libqt5remoteobjects5-dev/focal 5.12.8-0ubuntu1 amd64
    libqt5scxml5-dev/focal 5.12.8-0ubuntu1 amd64
    libqt5sensors5-dev/focal 5.12.8-0ubuntu1 amd64
    libqt5sensors5-dev/focal 5.12.8-0ubuntu1 i386
    libqt5serialbus5-dev/focal 5.12.8-0ubuntu1 amd64
    libqt5serialport5-dev/focal 5.12.8-0ubuntu1 amd64
    libqt5serialport5-dev/focal 5.12.8-0ubuntu1 i386
    libqt5svg5-dev/focal,now 5.12.8-0ubuntu1 amd64 [zainstalowany,automatycznie] libqt5svg5-dev/focal 5.12.8-0ubuntu1 i386
    libqt5texttospeech5-dev/focal 5.12.8-0ubuntu1 amd64 libqt5virtualkeyboard5-dev/focal 5.12.8+dfsg-0ubuntu1 amd64 libqt5waylandclient5-dev/focal 5.12.8-0ubuntu1 amd64 libqt5waylandcompositor5-dev/focal 5.12.8-0ubuntu1 amd64 libqt5webchannel5-dev/focal,now 5.12.8-0ubuntu1 amd64 [zainstalowany,automatycznie]
    libqt5webchannel5-dev/focal 5.12.8-0ubuntu1 i386 libqt5webkit5-dev/focal-updates,now 5.212.0~alpha4-1ubuntu2.1 amd64 [zainstalowany]
    libqt5webkit5-dev/focal-updates 5.212.0~alpha4-1ubuntu2.1 i386 libqt5websockets5-dev/focal 5.12.8-0ubuntu1 amd64
    libqt5websockets5-dev/focal 5.12.8-0ubuntu1 i386
    libqt5webview5-dev/focal 5.12.8-0ubuntu1 amd64
    libqt5x11extras5-dev/focal 5.12.8-0ubuntu1 amd64
    libqt5x11extras5-dev/focal 5.12.8-0ubuntu1 i386
    libqt5xdg-dev/focal 3.4.0-1build2 amd64
    libqt5xdgiconloader-dev/focal 3.4.0-1build2 amd64 libqt5xmlpatterns5-dev/focal,now 5.12.8-0ubuntu1 amd64 [zainstalowany,automatycznie]
    libqt5xmlpatterns5-dev/focal 5.12.8-0ubuntu1 i386

    BTW I mention search in all Ubutnu packages, quote:

    "Even more strange is fact that the same result gives me:

    apt-file find FilterRequest"

    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: Energo Kod (3:633/280.2@fidonet)