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. Video chat application on Windows 32 bit with Webrtc
Forum Update on Monday, May 27th 2025

Video chat application on Windows 32 bit with Webrtc

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 331 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.
  • H Offline
    H Offline
    HarDToBelieve
    wrote on last edited by
    #1

    Hi,

    I am developing a video chat software in 32 bit windows system using webrtc. Most of qt app about this topic on github is outdated, so I have to do from scratch.

    My default compiler is MSVC 2017, unfortunately, there is a problem here. When I built Webrtc on my system, the file "webrtc.lib" exported a symbol called

    void __thiscall cricket::VideoAdapter::OnResolutionFramerateRequest(class absl::optional<int> const &,int,int)
    

    However, when my function called that symbol, it suddenly became

    void __thiscall cricket::VideoAdapter::OnResolutionFramerateRequest(class std::optional<int> const &,int,int)
    

    AFAIK, C++17 auto convert absl to std, so my application couldn't find such symbol. I have managed to solve this by:

    • Casting the parameter I passed to the function to absl, but eventually it was still converted to std.
    • Downgrading C++ compiler used for Qt to C++14, but it emitted bunch of errors about "nodiscard requires /std:c++17". Unfortunately, it seemed that MSVC 2017 was fully c++17 compliant. So I had to install MSVC 2015. Then I configured compiler in Qt to MSVC 2015, and these errors occurred:

    0_1554520091510_8b0286fb-0c8c-41a3-86ad-9df149ff0c42-image.png

    Did anyone meet this kind of situation? Honestly I am exhausted now after nearly a week spending on building and compiling my application, so please help me :D.

    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