"Unity is written in C++, with the following exceptions:
we expose a .NET api so that you don’t have to go trough the pain of writing your game in c++, but you can write it in Javascript or c# or boo.
The editor application’s UI is written in C#, using mostly the same API that we expose to game developers. (We have access to a few API’s that we don’t expose (yet), but not that many)
This is also the reason that the answer to the question “Can I use UnityEngine.dll in some other c# project” is always no. There is hardly any functionality in UnityEngine.dll, the only thing it does is relay your c#/javascript calls into the C++ part of Unity. Without the C++ part there is nothing.
"
I had to install ccache on my Ubuntu 16.04, because I got messages that ccache was not found during the Build All step in QtCreator.
See this article for how to install:
The build process in the code is set to use ccache for building in Qt on Linux (not if you’re running Qt on Mac or Windows). The QMAKE_CXX variables are set to use ccache with the g++ compiler.
To speed up the compilation even further, use the -j parameter. The article describes how to use the -j parameter to allow multithreaded compilation.
The first time building develop in Qt will take a long time on ubuntu.
Turn off your computer’s suspend after 30 minutes, etc. in power settings.
But good news - all subsequent builds will take less time.
So build the first time through: from top menu Build select Run Qmake then Build All.
And wait. Watch a movie.
For subsequent builds, clean out previous results first: Build/Clean All, Run Qmake, Build All.
Note: If you run ‘Clean All’ before your first build then you’ll get an error message, don’t worry just ‘Run Qmake’
Then when it finishes, Set up the lower left column “monitor” icon:
Select Release, and “valentina”.
Then run and test LibreFashion by clicking on the Green Triangle.
@Calum do you want to run on Ubuntu? I have built from inside QtCreator and am able to run from there. Can you tell a bit more about your system configuration? It is also possible to create an account on launchpad and let them do a build with the appropriate ubuntu and Qt interface libraries so that you can install from your own personal PPA. (I have done this).
Unfortunately, the only two ways I have run Seamly on any linux distribution are within the QtCreator and a distribution package. Any build you do that results in packages being downloaded (using apt, apt-get, dpkg) will result in overwriting and you will need to remain vigilant and very conscious of package dependencies. This includes the “production version” (sudo add-apt-repository ppa:susan-spencer/seamly2d), the “development version” (sudo add-apt-repository ppa:susan-spencer/seamly2d-dayly-build) or my “personal version” (seamly2d-test-daily in Launchpad).
Another option would be to use one of the methods of creating a self contained image such as AppImage, Snap, Flatpak, or something similar. I have not taken the time to figure out any of these, but using one of these is the approach I believe you are looking for.
Hi @Calum! Thanks for your code contributions. It’s appreciated. We have many many users who program Python, pHp, and other interpreted or scripted languages who want to take the leap into compilation. So could you fill us in on some details?
Your Mint linux OS version
Do you have a beefy PC or a mini laptop, what are you running?
Your Qt version – any issues installing Qt on your Mint version?
PS - If you’re still interested in using QtCreator I can help, but given your success with qmake you may not see a need. I like it because it lets you select the detail level of errors and messages, etc. and provides project control of the environment variables, etc.
I did actually get QtCreator working - turns out the installer creates no sort of launch system, other than navigating to the bin directory and double clicking it. So that’s what I’ve been using since.
In terms of getting it running on the commandline, yes, it was pretty straightforward - between the instructions in the source and on the wiki I got it going reasonably easily.
Re testing, I’ll put a note on the thread about that issue so it’s all in one place.
Hello, I’m trying to build Seamly2D under Debian 10.3. I’ve checked out the latest from git, and have installed the requirements (AFAICT), but when I run qmake I get