Best lightweight solution for cross platform development?

I'm interested in supporting multiple platforms with a few smaller ideas while I further my software development skills with the C++ programming language, but I don't have the slightest idea outside of knowing about QT, for some simple, lightweight applications that need to run on Linux, Mac and Windows.

Can anyone point me in the right direction please?

Firstly, you'll want your build system to work cross-platform. I strongly recommend using CMake - it can generate makefiles, IDE project files, you name it. It's what I use for almost all my projects. Here's a basic example that will build a program using boost on any platform:
https://gist.github.com/LB--/ce3c51ad24b14f4bdff860f155d2dd14

If your project will be open source on GitHub, you can use Travis CI to test each commit on linux and OSX while you develop and test it locally on Windows. Or you can also use AppVeyor to test Windows if you don't have/want a Windows machine.

Getting your code to easily build and run on all the platforms you want to target is the most important step - after that you just have to write more code.
Topic archived. No new replies allowed.