Prepare:
Create GTK+ Project with File > New > Project...
Select GTK+ project, with the auto-generated source code.
Set Build Options:
Project > Build options...
- In Compiler settings > Other options, add `pkg-config --cflags gtk+-3.0`.
Compiler settings > Other options |
- In Linker settings > Other linker options, add `pkg-config --libs gtk+-3.0`.
Linker settings > Other linker options |
Build and Run:
helloGtk |
No comments:
Post a Comment