• Atempt disable cookies in QWebEngineView failed for strange reason

    From =?UTF-8?B?8J+HtfCfh7FKYWNlayBNYXJjaW4gSmF3b3Jza2nwn4e18J+HsQ==?=@jaworski1978@adres.pl to comp.lang.c++ on Sun Jul 13 17:33:20 2025
    From Newsgroup: comp.lang.c++

    Czo+eem!

    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+eego dnia!
    Jacek Marcin Jaworski: <jaworski1978@adres.pl>;
    S. domowa: <https://energokod.pl>;
    Mini Netykieta: <https://energokod.pl/MiniNetykieta.html>.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From scott@scott@slp53.sl.home (Scott Lurndal) to comp.lang.c++ on Sun Jul 13 18:08:16 2025
    From Newsgroup: comp.lang.c++

    =?UTF-8?B?8J+HtfCfh7FKYWNlayBNYXJjaW4gSmF3b3Jza2nwn4e18J+HsQ==?= <jaworski1978@adres.pl> writes:
    Czo+eem!



    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.

    --- Synchronet 3.21a-Linux NewsLink 1.2