4 ms·
There are some downsides to Qt5. * It's huge - something like 30 MB for "hello world" on Windows. * Deployment is a nightmare (loads of plugin DLLs, there's s
by IshKebab 11y ago
There are some downsides to Qt5.
* It's huge - something like 30 MB for "hello world" on Windows.
* Deployment is a nightmare (loads of plugin DLLs, there's some crazy path stuff going on, if you use QML you have to include a load of system qml files). There is a windeployqt tool which helps but it still isn't as easy as with Qt4.
* QML/QtQuick are very nice for some things, but in a lot of ways they kind of suck. E.g. passing data between C++ and Javascript is always a pain. Also most of the QML tools (compiler, usable GUI editor, profiler, etc.) are only in the enterprise version of Qt.
Having said that, I don't know why they didn't just base it on Qt5, remove all the QML stuff and make unicode optional (unicode support costs about 20MB). Qt5 already uses C++11 syntax for signals and slots (though you still need moc).
I don't know why you dislike their website.
- scrollaway 11y agoQML/QtQuick etc are modules in Qt 5, you don't have to depend on them at all and they're not linked in. QtCore is tiny.
- coldtea 11y ago>It's huge - something like 30 MB for "hello world" on Windows. First, 30MB for "hello world" doesn't mean it will get linearly bigger as code grows. Most is one time off overhead. Else something like Kate would be an 1 TB binary. Second, 30MB hasn't been an issue since 2002. Heck, I have 20+ apps, each over 30MB, on my PHONE.
- nadams 11y ago> Second, 30MB hasn't been an issue since 2002 Back in 2004 a demoscene group created a FPS in 96kb - http://www.pouet.net/prod.php?which=12036 http://www.pouet.net/prod.php?which=12036 That 96kb includes textures, engine and music. No they aren't downloading content or streaming from the internet. I know how they did it - and with some tweaking of gcc command line parameters you can write C you can get close to those file sizes. When I see that the game RAGE, while an excellent game, takes up 20GB of disk space I just shake my head. Now I'm not advocating that everyone should be making FPSes at 96kb - but I feel like 20GB is a little unnecessary for the game RAGE (especially how short it was). I personally try to be as efficient as possible when it comes to using other people's storage and memory.
- scrollaway 11y agoThat is a phenomenally ridiculous comparison. They are doing procedural textures/audio etc. RAGE is 20GB because it has a massive amount of high resolution textures, meshes and audio. Nothing to do with the libraries they use.
- deleted 11y ago[deleted]
- SEMW 11y ago> games should do procedural terrains The decision between prerendered and procedurally generated terrain/textures/etc. is a tradeoff between.. oh, I dunno, developer time, artist time, platform disk space, download time, platform CPU usage, platform graphics usage, and other factors. If you believe game studios have been consistently going for the less optimal choice, then you or someone else could start a studio that makes the better choice, exploit that inefficiency, and gain a market advantage. (Perhaps the demographic of gamers with modern CPUs but 1990s hard drives is ripe for tapping?). If on the other hand there is no such market potential, then it isn't clear to me in what practical sense the assertion that games 'should' be procedurally generated holds.
- Qwertious 11y agoSo, now you need your artists to be programmers. I don't think you quite understand what you're asking. The number one rule for high-quality aesthetics in games is that you let the ARTISTS call the shots, with someone in-between to tell them when that's a terrible idea technically. This would break that horribly. And that's ignoring the load times, which increases massively if you have to procedurally generate it. And having decent level design, which I GUARANTEE will not often pop up naturally in procedurally-generated environments. Meanwhile, disk space is pretty damn cheap and will save you a bunch of time and money.
- nadams 11y ago> So, now you need your artists to be programmers. There is some arguments if you should allow artists to program (Blender does have a built in scripting language). However, the same group that created the FPS demo also created a tool to create demos - artists can go as wild as they want without needing to write a line of code: http://www.farbrausch.com/prod.py?which=168 http://www.farbrausch.com/prod.py?which=168 If you want something a little more well documented and updated you should check out ZGameEditor - http://www.zgameeditor.org/ http://www.zgameeditor.org/. > And that's ignoring the load times, which increases massively if you have to procedurally generate it. Any reason why you can't render and save the textures on first run? I feel like Natural Selection 2 does that. > Meanwhile, disk space is pretty damn cheap and will save you a bunch of time and money. You are forgetting the step in between. Using your argument that disk space is cheap (and assuming they don't use their hard drive to store anything else...) - in the US ISPs are playing a dangerous game. A small DSL provider has a 5GB cap and will charge outrageous fees for going over: http://stopthecap.com/2010/04/14/frontiers-5gb-cap-is-back-now-includes-the-ultimate-in-internet-overcharging-249-99-a-month-for-250gb/ http://stopthecap.com/2010/04/14/frontiers-5gb-cap-is-back-n... Downloading that 20GB RAGE game has turned into quite a challenge (of course you could always use the Valve response of "take your computer to a friends house").
- vezzy-fnord 11y agoHeck, I have 20+ apps, each over 30MB, on my PHONE. I don't recall most smartphone OS being well known for intelligent resource utilization.
- purerandomness 11y agoHow large do you think is a "Hello World" app that uses .NET?
- ci5er 11y ago> Second, 30MB hasn't been an issue since 2002. Heck, I have 20+ apps, each over 30MB, on my PHONE. Good for you? That doesn't mean that it is not an issue.
- coldtea 11y ago>That doesn't mean that it is not an issue When I said "I have 20+ such apps on my PHONE" my intension wasn't to imply I was some lone outlier having those. Rather, that this is the NORM for anyone with a smartphone today. So, if a billion people are OK with 20+ 30MB+ apps on their phones, it does mean it's not an issue -- and even less so on the desktop, which has 10x or more the storage capacity of a smartphone.
- IshKebab 11y agoOf course it doesn't grow linearly, but 30 MB is a huge up-front cost. If you're writing a simple app - or even a relatively complex one - users on slow connections will be a bit annoyed. A basic Qt text editor is about 5 times the size of Notepad++. That isn't good. And yes I know why that is the case but that doesn't really excuse it.
- joezydeco 11y agoWhen you begin to get serious about app size using Qt (especially when you're on embedded) you configure and compile the libraries from scratch instead of pulling the SDK libraries in. I can typically get under 6MB on ARMv7. Nothing to brag about, but if you want a demoscene-sized app targeted for a single architecture you aren't using Qt anyway.
- IshKebab 11y agoYeah... that is a pretty huge pain though. Also there are more licensing issue with static linking - you have to distribute the .o files etc.
- mmozeiko 11y agoAfaik if you don't need WebKit then you can disable icu when building Qt - use "--no-icu" when running configure. Not sure exactly how much it will disable, but it will free you from depending on icu libraries for core libraries