Might use Qt Creator later, but I don't need it right now.
Discussion
Ok. If you have any more issues let me know. I can throw a working CMakeLists.txt into a GitHub gist or something.
Thank you!
I ended up deciding to download and build a specific version of Qt. There was no Ubuntu package for the WebSocket library for the current Ubuntu LTS distro.
Let me tell you, Qt is a *fat* download/unzip. I think I'll be able to build it once and call it a day, though.
Ah. I keep forgetting how behind LTS Ubuntu is.
If you haven’t already, you might check out vcpkg when you have tinker time. Since switching to windows, I do all my Qt work on it natively, and I compile everything (deps) with vcpkg and use the toolchain file to allow cmake to find everything. Nlohmann, SQLite, and Qt 6.5 are all building natively that way on my machine.
It looks like:
vcpkg install qt:x64-windows
And it will compile it natively. Of course, on windows natively you could just use the installer, in which case vcpkg is still great for sekp256, nlohmann, and even boost.
The installer will work well in most cases, but using vcpkg (especially if you make a manifest file) makes it easy to do CI/CD later as well, since it works on all three platforms.
I'll keep that in the back pocket.
This is my first time trying to do a serious project in C++, and compared to Python or Node or .NET, C++ project management feels like the Wild West.
I'm learning on the fly.
That is awesome. You work in my two best languages. Maybe we can collaborate some time. I’m a C++/C# nerd. 🫂
I do C# in my day job, and wanted to learn C++ on the side.
DM me sometime, I'm working with a few folks on a fairly hefty project (that's what all this is about). We'd love to have another contributor, if you're interested.