TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Qt 5.10 released

275 pointsby pyprismover 7 years ago

18 comments

hannofcartover 7 years ago
Glad to see the update. Most people associate Qt with GUIs which is unfortunate.<p>I see that when people think of Qt, they think of WxWidgets, Cocoa or MFC as alternatives. No, I submit to you that Qt framework is a more elegant, easier to use alternative to Boost as well.<p>This is not to say that QtQuick or QtWidgets aren&#x27;t solid. However, the success of these two modules ends up occluding the others which to me are the real gems from the QtFramework: QtCore and QtNetwork.<p>QtCore provides a solid event loop, the most easy to use implementation of the observer pattern via its signal-slot mechanism, robust threading utilities and a bunch of other utilities that make writing apps in C++ an absolute breeze.<p>QtNetwork for a series of networking utilities that are elegantly simple.<p>If I were to write a command line app or a database or server, I&#x27;d reach for Qt in a jiffy.<p>Qt is not just for GUIs!
评论 #15872446 未加载
评论 #15871383 未加载
评论 #15873620 未加载
dazzawazzaover 7 years ago
I&#x27;ve coded desktop apps (mostly editors and tools for games) for 25 years across X (Motif toolkit), Amiga, TOS, DOS, MFC, Cocoa, Win32, WxWidgets, Fox Toolkit and Qt. Qt has by far been the best, most rewarding, most empowering experience. It&#x27;s a great library.<p>Now Cocoa would win but I prefer C&#x2F;C++ to Objective-C, it&#x27;s close though.<p>Good work people.
评论 #15869839 未加载
评论 #15869765 未加载
评论 #15870919 未加载
评论 #15869687 未加载
评论 #15870028 未加载
mherrmannover 7 years ago
I&#x27;m an indie dev and have been developing a cross-platform (Py)Qt app for the past 1.5 years (~2100 dev hrs) [0]. Given that Qt is cross-platform desktop development, it&#x27;s very solid. But there are a lot of things one has to do that are not required for (say) web apps:<p>* Creating standalone executables &#x2F; installers for the app itself is already not so easy (I use - and recommend - PyInstaller [1]).<p>* Code signing the executables so users don&#x27;t get an ugly &quot;this app is untrusted&quot; warning is tedious for the three different platforms<p>* Auto-updating is a pain to implement as well. I&#x27;m using Google Omaha (same as Chrome) on Windows [2], Sparkle on Mac [3] and Debian packages &#x2F; fpm on Linux [4]. In total, I probably spent two to three months just on auto-update functionality.<p>* You really can tell that Qt is &quot;drawing pixels on screen&quot;. Sometimes you have to draw pixels &#x2F; perform pixel calculations yourself. The built-in &quot;CSS&quot; engine QSS works to some extent, but often has unpredictable results and weird edge cases.<p>I considered Electron as well. But its startup performance is just prohibitive. I blogged about this (and which other technologies I considered) [5].<p>I&#x27;ve been wondering for a while whether I should not open source my solutions to all of the above problems, to save other people the months required getting everything to work. Would anybody be interested in that? It would be something like a PyQt alternative for Electron.<p>[edit] People are very interested so I&#x27;m starting a MailChimp list. If you want to know if&#x2F;when I open source a solution then please subscribe at <a href="http:&#x2F;&#x2F;eepurl.com&#x2F;ddgpnf" rel="nofollow">http:&#x2F;&#x2F;eepurl.com&#x2F;ddgpnf</a>.<p>[0]: <a href="https:&#x2F;&#x2F;fman.io" rel="nofollow">https:&#x2F;&#x2F;fman.io</a><p>[1]: <a href="http:&#x2F;&#x2F;www.pyinstaller.org" rel="nofollow">http:&#x2F;&#x2F;www.pyinstaller.org</a><p>[2]: <a href="https:&#x2F;&#x2F;fman.io&#x2F;blog&#x2F;google-omaha-tutorial&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fman.io&#x2F;blog&#x2F;google-omaha-tutorial&#x2F;</a><p>[3]: <a href="https:&#x2F;&#x2F;sparkle-project.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sparkle-project.org&#x2F;</a><p>[4]: <a href="https:&#x2F;&#x2F;github.com&#x2F;jordansissel&#x2F;fpm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jordansissel&#x2F;fpm</a><p>[5]: <a href="https:&#x2F;&#x2F;fman.io&#x2F;blog&#x2F;picking-technologies-for-a-desktop-app-in-2016&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fman.io&#x2F;blog&#x2F;picking-technologies-for-a-desktop-app-...</a>
评论 #15870638 未加载
评论 #15871482 未加载
评论 #15875348 未加载
评论 #15870058 未加载
评论 #15870200 未加载
评论 #15872999 未加载
评论 #15871050 未加载
Koshkinover 7 years ago
As good as QT and KDE are, I cannot really explain the fact that the most popular Linux distributions seem to show preference for Gnome; is Gnome more stable? is the user experience provided by Gnome more &quot;polished&quot;? or, is it the K-isms that push them away? is Gnome less resource-hungry?
评论 #15871586 未加载
评论 #15871386 未加载
评论 #15871761 未加载
评论 #15872912 未加载
评论 #15872764 未加载
b1gtunaover 7 years ago
Is Qt a good, modern framework for desktop application development for a beginner? If not, can someone recommend something else?
评论 #15869517 未加载
评论 #15869802 未加载
评论 #15869442 未加载
评论 #15869420 未加载
评论 #15869496 未加载
评论 #15870120 未加载
评论 #15869595 未加载
评论 #15870398 未加载
评论 #15869394 未加载
评论 #15872331 未加载
评论 #15869413 未加载
评论 #15869421 未加载
评论 #15869587 未加载
评论 #15869932 未加载
royjacobsover 7 years ago
This is awesome. I can&#x27;t wait for the KDE binding generator to mature so we can finally start using it more properly from Rust.
dndneuxover 7 years ago
I enjoy using QML together with Python 3 for the logic, with the PyOtherSide plugin: <a href="https:&#x2F;&#x2F;thp.io&#x2F;2011&#x2F;pyotherside&#x2F;" rel="nofollow">https:&#x2F;&#x2F;thp.io&#x2F;2011&#x2F;pyotherside&#x2F;</a>
inetknghtover 7 years ago
Is Qt 5.10 still stuck in the time prior to C++11? Does it have clear pointer ownership and move semantics?
评论 #15871441 未加载
评论 #15872038 未加载
nikanjover 7 years ago
Qt used to be an absolutely awesome C++ framework. Then Nokia happened, and it turned into a weird Rapid Development Environment™ for Symbian®©.<p>Does anyone have up-to-date experience with Qt? It&#x27;s quite clear Symbian is no longer the main target, but did they ever get back to treating C++ as a first-class citizen, or is it still all about QML?
评论 #15869606 未加载
评论 #15869352 未加载
评论 #15869498 未加载
评论 #15870946 未加载
评论 #15875469 未加载
评论 #15871603 未加载
j_sover 7 years ago
November 2017: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15617359" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15617359</a><p>&gt;pknopf: <i>This reminds me of the project I am currently working on.<p>.NET&#x2F;QML <a href="https:&#x2F;&#x2F;github.com&#x2F;pauldotknopf&#x2F;net-core-qml" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pauldotknopf&#x2F;net-core-qml</a><p>Not quite production yet, but it will be soon. I&#x27;d love to he[ar] some input. You can check the unit tests for how things are working currently.</i>
billfruitover 7 years ago
Haven&#x27;t used QT in a long time.Have they done away the with ’moc&#x27; and code generation? I found it extremely annoying that while we were using QT we weren&#x27;t actually using c++, but a strange, language that looked like c++, but was actually further processed by qt to generate the c++ code. Are they done with that shebang?
评论 #15871213 未加载
评论 #15870905 未加载
评论 #15869954 未加载
评论 #15871208 未加载
评论 #15869988 未加载
评论 #15869935 未加载
shmerlover 7 years ago
This is also an interesting project, if you want to use Qt with Rust:<p><a href="https:&#x2F;&#x2F;phabricator.kde.org&#x2F;source&#x2F;rust-qt-binding-generator&#x2F;" rel="nofollow">https:&#x2F;&#x2F;phabricator.kde.org&#x2F;source&#x2F;rust-qt-binding-generator...</a>
eql5over 7 years ago
BTW, if you like both QML and Common Lisp, and want to reach for android, there&#x27;s news: EQL5-Android <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;eql&#x2F;EQL5-Android" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;eql&#x2F;EQL5-Android</a>
DonHopkinsover 7 years ago
What JavaScript engine is Qt 5.10 using, and have there been any recent changes to that engine, or the way it&#x27;s integrated with Qt?
billfruitover 7 years ago
Annoying thing with QT, the official pronunciation sounds like ’cute’, and some interviewers insist on calling it that.
评论 #15871588 未加载
评论 #15872857 未加载
评论 #15870916 未加载
评论 #15870561 未加载
评论 #15879248 未加载
评论 #15875674 未加载
stratigosover 7 years ago
R.I.P. QtWebkit
vram22over 7 years ago
Andy Brice has two successful desktop app products, Perfect Table Plan and HyperPlan [1], and both are written using C++ and Qt, IIRC; I read that on his blog [2], which I have been following for some time now. Lots of good info about product development and marketing there.<p>[1] At least, Perfect Table Plan is quite successful, he has been selling it for a long time now. HyperPlan is newer, but IIRC he had some sales for it too.<p>[2] <a href="https:&#x2F;&#x2F;successfulsoftware.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;successfulsoftware.net&#x2F;</a>
评论 #15871169 未加载
liquidnitro02over 7 years ago
Awesome cant wait to check out the new features!