New release for Ubuntu!
We need our Ubuntu users to take it for a test drive.
We have built new packages for Ubuntu Trusty 14.04 through Focal 20.04.
Please download and check it out!
Is there any documentation explaining how to build Seamly2D? I am quite new to Qt, but I have already installed Qt Creator and related packages, and I am on version 5.15.3.
Could someone point me to the documentation that guides us to build it, please!
Well… First you’re going to have to update your Qt to at least Qt 6.2.4 if you want to stay upated with the current code base. We just migrated to Qt6 last week.
The question is… since this an Ubuntu topic… are you wanting to build for Linux? Windows? Mac? I can help you with buildifng for windows, but I’m at a loss for the other 2.
I am on Ubuntu. I have done a lot of progress thus far, but I am still getting some build errors, which I am building as I move along. Now that you mentioned that it requires Qt 6.2.4, I will go through the steps of configuring it with Qt 6.2.4. I thought it ran with version 5.15.2, but thanks for your hint. I will continue to work on it.
If you get stuck you can always send me what ever errors your gettting and Ican try and help.
You’re going to need to update Qt through the Maintence tool. The current ver available is like Qt 6.9.1… which you can use, but for now I’d avoid using anytning newer than 6.2.4.
BTW… just as a heads up. We’re also looking at converting to using CMake instead of QMake, as well as trying to build using VSCode instead of Creator… which means we would be able to edit, build, debug, push & pull all from one app.
I tried compiling the Qt6 version yesterday with MSVC 2022 64 bits & Qt 6.9.1, and I encountered a lot of issues too, I didn’t have time to finish my investigations.
But it seems that the Q_DECLARE_TYPEINFO(VAbstractCurve, Q_MOVABLE_TYPE); in vabstractcurve.h prevents the compilation. It does seem to be ok without it, but I’m not sure about the consequences for now.
Q_MOVABLE_TYPE is the same as Q_RELOCATABLE_TYPE. Prefer to use Q_RELOCATABLE_TYPE in new code. Note: despite the name, this has nothing to do with move constructors or C++ move semantics.
Yes, I have 6.5.3 up to 6.10.0-beta2 available. I’ll play around with it. This is all new to me, and besides, it has been a long while since I’ve done any C++ programming.
It’s also great to learn that you will be changing to CMake. I am a Linux guy and a Vim/NeoVim user that switched to Helix. So, CMake makes more sense to me.
Don’t know for sure… can’t see the list of the Additional Libraries. But yes… other than the Desktop, Qt5 compat module, and the whatever in the Additional Libraries you don’t need any of the other stuff… especially the Souces code as that’s huge. Possibly might need the Debug information to run a debugger in Cretator.
The C++ is the easy part. The hard parts are learning the Qt API, and the code base - which is enormous.
it may be a slow process. There’s a lot of project files (.pro) and project include files (.pri) that need to be converted to CMake, and while there are a couple PY scripts to convert, they are appartently not 100% so there’s probably going to be a lot of manual tweaking.
The code is actually quite easy to follow. It is well structured.
Is this found on any branch? I tried to look for something related to this, but couldn’t find a branch that had these scripts. Or is this an offline thing you are working on?