>>106484606
I just installed qtbase5-dev and meson + vscode meson extension in several minutes and got a successful build. It's such a pleasant feeling to build a native GUI program with merely 3 statement build script:
project(
'qt_meson',
'cpp',
default_options: ['warning_level=3', 'cpp_std=c++17'],
)
qt5_dep = dependency('qt5', modules: ['Core', 'Gui', 'Widgets'])
my_elf = executable(meson.project_name(), 'qt_meson.cpp', dependencies: qt5_dep)
I have no idea if it's this easy to build for windows though. I would probably need full VS, C/C++ workloads, windows SDK and only then can I start installing Qt and building my program. I can probably replace msvc with mingw, but that sounds extremely painful. I'll spin up a VM later and see how it goes.