NEVER EXPECT EVERYTHING WOULD WORK AS SAME AS GNOME ENVIRONMENT
OTHER PLATFORMS ARE UNSTABLE (crash often, runtime error that says "something is not initialized", bugs in example codes - drag and drop doesn't work properly and duplicate garbage icons that won't be removed until you manually kill that process)
ALSO NEVER THINK GTKMM AS QT'S ALTERNATIVE. QT HANDLES CROSS-PLATFORM ISSUES WAY BETTER THAN GTKMM.
JUST THINK GTKMM AS GUI. NOTHING ELSE.
GTKMM-4.0 example on Visual studio 2019 + Vcpkg + Cmake + PkgConfig setting
- Install visual studio 2019 with required c++ build tools, cmake tool, language pack(english)
- Install vcpkg to C:/dev, so that exetutable path
C:/dev/vcpkg/vcpkg.exe
exists. - Install CMake
- Install Windows SDK if needed
- Install Gtkmm-4.0 from vcpkg
vcpkg install gtkmm
- Install PkgConf from vcpkg
vcpkg install pkgconf
- Install vcpkg-pkgconfig-get-modules
vcpkg install vcpkg-pkgconfig-get-modules
- git clone this project from visual studio
- run program