Gerrit Contributions
-
Good point, what could be done is to pre-configure Qt, clean everything and just keep the configuration files needed to re-trigger Qt's build.
-
@aha_1980
What about building onlyqtbase
or the essential set of modules? That should be more manageable, even if somewhat constraining?
Something like the following configuration:$> perl init-repository --module-subset=essential $> ./configure -developer-build -opensource -nomake examples -nomake tests -confirm-license $> make module-qtbase $> make module-qtquickcontrols2 $> ...
Good point, what could be done is to pre-configure Qt, clean everything and just keep the configuration files needed to re-trigger Qt's build.
Ehm, you do need
qmake
to retrigger the build, or did you mean something else? My concern is with theqmake
's paths that are compiled into the binary, maybe patching them would do the trick? -
config.status
andconfig.opt
are all that are needed. -
Re-trigger configure using the set of parameter you original passed. In the absolute,
config.opt
is enough asconfig.status
just calls configure with the-redo
option. -
Full build finished with make -j 1 ;)
Following sizes include the .git repos, the sources and the developer (debug) build artefacts, as said exluding QtWeb*:
961M ./qtxmlpatterns 9,0M ./qtspeech 58M ./qtgraphicaleffects 5,2M ./config.tests 2,1M ./coin 4,0K ./qtquick1 266M ./qtsensors 4,0K ./qtdocgallery 168M ./qtnetworkauth 1,5M ./qtmacextras 4,0K ./qtfeedback 496M ./qtdatavis3d 80M ./qtremoteobjects 18M ./qtgamepad 1,9G ./qttools 41M ./qtimageformats 149M ./qtvirtualkeyboard 1,6M ./qtandroidextras 116M ./qtqa 488M ./qtcharts 201M ./qtwebview 859M ./qtquickcontrols2 51M ./qtdoc 3,3G ./qt3d 4,0K ./qtwebengine 2,3G ./qtdeclarative 5,9M ./.git 1,4M ./qtrepotools 12M ./qtserialport 27M ./qttranslations 1,8G ./qtlocation 659M ./qtscript 174M ./qtwebsockets 160M ./qtquickcontrols 13M ./qtwayland 904M ./qtmultimedia 7,9G ./qtbase 70M ./qtscxml 202M ./qtserialbus 4,7M ./qtwinextras 4,7M ./gnuwin32 441M ./qtconnectivity 125M ./qtcanvas3d 21M ./qtwebglplugin 162M ./qtwebchannel 151M ./qtpurchasing 254M ./qtsvg 3,8M ./qtx11extras 4,0K ./qtpim 4,0K ./qtenginio 4,4M ./qtactiveqt 4,0K ./qtsystems 25G .
-
@aha_1980 Thanks!
@SGaist and @kshegunov My idea was to pre-configure and even make. That's really the time saving part. The rest can literally be included in a bash file, it's not really that taxing.
@SGaist said in Gerrit Contributions:
provide a docker container
That's actually another great idea
-
As someone that has not used Docker before: it is not as cross-platform as VirtualBox, i.e. you can use a Linux docker only in a Linux environment, not Windows, right?
-
Hi
Dockers can be used in windows too but no gui possible as far as i know.
So VM would be so much more flexible and cross platform.
also dockers requires user to learn how to use them ( new commands, integration etc)
where as WM is still just a normal linux. -
@VRonin said in Gerrit Contributions:
where would it be appropriate to host such a big file?
Don't forget the traffic that is generated when downloading...
For me and my limited networks speed, even downloading such a big file takes several hours.
how often should it be updated and what would be the best way to do it?
Another good one :) For now, I'd set it to the tip of qt5 5.11 branch, so you could do fixes easily and even push something to dev/5.12 with good chance it can be cherry-picked without conflict.
That would mean you'd have to renew it in approx. half a year, when 5.12 is out (Given that the average user downloads no beta releases anyway).
-
Hi
regarding hosting.
How big is image ? -
@VRonin said in Gerrit Contributions:
where would it be appropriate to host such a big file?
No clue, but if you become desperate I can clear you 100-200 GB on my disk, however my connection isn't really that fast (40Mb outgoing).
-
Well
https://www.pcloud.com/
give 20 GB for free.
maybe we can compress it.
I will try to see if i can find their markting person and ask if they could donate
100 GB to Qt forum. -
@kshegunov
That would be great. its super nice service. Much better than dropbox. -
Yeah, unfortunately he said they probably won't be interested. Especially as they can't monetize at all the simple file hosting. They may want to "enforce" usage of their app, but I told him it wouldn't be appropriate in this case. The problem it seems is twofold:
- there's not much gain of providing file hosting from the company's point of view
- file hosting is expensive for them, and they impose very heavy restriction on traffic, which means it's probably not a viable option for our case
I asked for advice on possible other solutions, but he said it's kind of unlikely to find a decent hosting service for free just for file storage - there's not much interest into it from the companies; paid file hosting seems to be best, but costs money.
-
@kshegunov
Ok. so the end of that idea. Thank you for trying
Im pretty sure we can find solution for 50 GB. -
@mrjj said in Gerrit Contributions:
Ok. so the end of that idea. Thank you for trying
That shouldn't stop you from trying to contact their marketing, they may have a different take on it, even if unlikely.
Im pretty sure we can find solution for 50 GB.
Not exactly what I was told, but it doesn't hurt to try. ;)