Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

I compiled the original bind.cc on ubuntu 24.04 as well ubuntu 18.04. On ubuntu 24.04 it works perfectly fine. On ubuntu 18.04 , no action is happening on clicking + or - button. On clicking compute button, it shows result pending, but result never comes. Looking for the direction for the same.
There is following difference w.r.t. packages used:
Ubuntu 24.04
pkg_check_modules(GTK REQUIRED gtk+-3.0)
pkg_check_modules(WEBKIT REQUIRED webkit2gtk-4.1)

Ubuntu 18.04
pkg_check_modules(GTK REQUIRED gtk+-3.0)
pkg_check_modules(WEBKIT REQUIRED webkit2gtk-4.0)

Looking for directions to make it working.

Thanks

You must be logged in to vote

This works for me.

CMake path:

export PATH=$PATH:~/Downloads/cmake-4.2.3-linux-x86_64/bin/

Build and run example:

git clone https://github.com/webview/webview.git
cd webview
cmake -G Ninja -B build -S . -DCMAKE_BUILD_TYPE=Release -DWEBVIEW_BUILD_AMALGAMATION=OFF -DWEBVIEW_BUILD_DOCS=OFF -DWEBVIEW_ENABLE_CHECKS=OFF
cmake --build build
./build/examples/webview_example_bind_cc

Replies: 4 comments · 4 replies

Comment options

I'll take a look after I've set up my Ubuntu 18.04 environment.

You must be logged in to vote
0 replies
Comment options

Can confirm the issue using library version 0.12.0.

Although PR #1196 (a48b108) was a fix for macOS, it appears to have also fixed the issue described here on Ubuntu 18.04.

This commit is in master but not in any current releases/tags.

You must be logged in to vote
3 replies
@ns-sandipk
Comment options

Thanks a lot for quick response. I have repo till commit id "5c5db3f31bf644f673d9dc817e935815b590c30e"

@SteffenL
Comment options

Does the issue persist in your case with commit 5c5db3f?

If so, I'll need a minimal reproducible example.

@SteffenL
Comment options

This works for me.

CMake path:

export PATH=$PATH:~/Downloads/cmake-4.2.3-linux-x86_64/bin/

Build and run example:

git clone https://github.com/webview/webview.git
cd webview
cmake -G Ninja -B build -S . -DCMAKE_BUILD_TYPE=Release -DWEBVIEW_BUILD_AMALGAMATION=OFF -DWEBVIEW_BUILD_DOCS=OFF -DWEBVIEW_ENABLE_CHECKS=OFF
cmake --build build
./build/examples/webview_example_bind_cc
Screenshot_ubuntu18 04_2026-02-08_09:35:58
Answer selected by SteffenL
Comment options

Thanks , it is working now. Cmake was giving some warnings earlier, with your command build is without warning after installing ninja build.

You must be logged in to vote
0 replies
Comment options

A little help from you regarding creation of an icon. Is it possible on linux to create an icon in icon tray so that on clicking the icon the webview window can be displayed.

You must be logged in to vote
1 reply
@SteffenL
Comment options

That's a good topic but how about creating a new discussion for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.