GNOME Builder is a general purpose integrated development environment (IDE) for GNOME desktop environment. It supports multiple programming languages including C, C++, Python and Rust. https://wiki.gnome.org/Apps/Builder
Questions tagged [gnome-builder]
47 questions
0
votes
1 answer
Import from other files in GTK
I'm creating a new project on gnome-builder. The trouble is I have a list in file vaccine.py and now I want to import it into my window.py file but when I run the program it shows "ModuleNotFoundError: No module named 'vaccine'". I try to create a…

Đỗ Quang Huy
- 25
- 6
0
votes
1 answer
Gnome Builder set source directory for CMake projects
I have a project whose directory structure is:
Application
|_Project
| |_CMakeLists.txt
| |_source.cpp
| |_...
|_other stuff
|_...
Now, I have opened the "Project" folder in Builder, which contains CMakeLists.txt and the sources for the app,…

lorinet3
- 444
- 4
- 11
0
votes
2 answers
How to add libzip as dependency in meson build system
I'm building a small app using gtk+-3.0 in Gnome Builder, but I want to use libzip for some functions. But apparently meson is not accepting to add libzip. See my snippet:
foo_deps = [
dependency('libzip', version: '>= 1.5.0'),
…

Vinícius A. Jorge
- 731
- 1
- 6
- 9
0
votes
1 answer
Creating a list of widgets in Gtk using C
I want to create a window in Gtk that looks something like this.
widgets in glade
The left pane in the top window has a button labelled "Add to list". I have configured the callback for this button to add the widget "list_entry" into the GtkListBox…

Divyasheel
- 15
- 4
0
votes
1 answer
meson doesnt understand libhandy library dependency
I am building an application that includes gtk and libhandy libraries. I am trying to bundle libhandy to my project. I am using the meson build system. To add the dependency to meson I have followed the following documentation from here 1
I have…

Vahan
- 166
- 13
0
votes
1 answer
Change localization of pygobject project
I'm new to GUI programming with python and I need a simple example about how to change GUI language based on .po files (that I AM able to generate) located inside the project. I'm using GNOME Builder for this task.
What I'd like is to load the gui…
0
votes
1 answer
Python dependency on Gnome Builder
I am learning how to create GTK applications in python and I am using Gnome Builder IDE installed through flatpak.
I wanted to use the python package requests in my application, so I added:
{
"name": "pip-install",
"buildsystem": "simple",
…

czr
- 658
- 3
- 13
0
votes
1 answer
Gnome-builder Run button doesn't run. It installs
I have set up a simple hello world in C++ with meson & ninja as a build chain. The project compiles just fine, but when I press the Run button it just runs ninja and then ninja install:
ninja
ninja install
ninja: no work to do.
[0/1] Installing…

Sillydan
- 104
- 13
0
votes
1 answer
Use a library and header files in Gnome Builder
UPDATE I switched to the meson build system. Everything is working fine now!
I am very new to using C++, OpenGl, and Gnome Builder. I have a very very basic foundation with C++ and I know how to link header files and libraries in CodeLite, however…

Joseph Vargas
- 772
- 5
- 17
0
votes
1 answer
Build system for not compiled languages
I did create a python projet with gnome-builder using the Gnome Application template. I realized that the template builds the entire project structure and adds build capabilities using the meson build system, so I was curious. Why use build system…

Matheus Saraiva
- 1,144
- 1
- 11
- 33
0
votes
1 answer
Failed to build "polari" a gnome apps using gnome builder
I am a newcomer to gnome app building. I am trying to build polari app using gnome builder on Ubuntu 18.04. I am getting the following error
meson /home/yuvraj/Projects/polari . --prefix /app
The Meson build system
Version: 0.45.1
Source dir:…

Yuvraj Talukdar
- 13
- 1
- 3
0
votes
1 answer
GNOME Builder: "A suitable debugger can't be found" error
I am trying to debug a sample program in Gnome Builder IDE that is written in C, but there is a pop up each time I am pressing the "Debug" button, that says "Failed to initialize debugger: a suitable debugger could not be found".
I am using Manjaro…

Gora Kievskaya
- 1
- 1
0
votes
1 answer
How to change Meson version in Gnome Builder 3.30.1?
I installed Gnome Builder from Discover. I am not sure if this is the latest version or not, but the version is 3.30.1. I clicked new project and chose C# GTK application. Without changing anything, I pressed the build button, and build failed.
The…

Damn Vegetables
- 11,484
- 13
- 80
- 135
0
votes
1 answer
Loading a libpeas module written in Vala and built with meson fails
I tried to build this example with the help of meson:
Getting started with libpeas extensions in vala
My meson.build looks like the following:
vala_deps = [
dependency('gio-2.0', version: '>= 2.50'),
dependency('gtk+-3.0', version: '>=…

0815
- 25
- 5
0
votes
1 answer
Loading Glade file in Gnome Builder
Simply putting the ui file together with the main py file and telling gtk.builder to load it using self.builder.add_from_file('ui.glade') obviously isn't cutting it.
It's telling me GLib.Error: g-file-error-quark: Failed to open file 'ui.glade': No…

JomanJi
- 1,407
- 1
- 17
- 27