News for hackers. Stuff that matters.
Re:Ask HN: What's the best library for making cross-platform... by totocino on Sunday August 28, 2016 @09:23AM (#12376401)
Qt obviously, but beware of licencing
Re:Ask HN: What's the best library for making cross-platform... by _ZeD_ on Sunday August 28, 2016 @09:54AM (#12376500)
Obsolete. Nowadays qt libs are distributed on choice between commercial and lgpl
Re:Ask HN: What's the best library for making cross-platform... by marcosdumay on Sunday August 28, 2016 @09:48PM (#12379495)
Some language bidings still come in GPL only.
Re:Ask HN: What's the best library for making cross-platform... by totocino on Sunday August 28, 2016 @10:17AM (#12376602)
Don't you have to release the source code of your application if you don't want to pay?
Re:Ask HN: What's the best library for making cross-platform... by majewsky on Sunday August 28, 2016 @11:29AM (#12376883)
No. That's GPL, not LGPL.
Re:Ask HN: What's the best library for making cross-platform... by iamcreasy on Sunday August 28, 2016 @03:43PM (#12378138)
Not if you dynamically bind with qt libs. But yes you have to, if you statically bind with qt libs.
Re:Ask HN: What's the best library for making cross-platform... by hamidr on Sunday August 28, 2016 @10:02AM (#12376531)
Can the licensing be an issue on Android or iOS?
Re:Ask HN: What's the best library for making cross-platform... by doppioandante on Sunday August 28, 2016 @10:43AM (#12376711)
I still haven't found a clear answer to that, but using the LGPL license could pose a problem, because you need to allow the user to recompile the application with his own version of Qt. On iOS shared libraries are not allowed on the store, so you should distribute the files for static linking... it becomes quite messy and sort of unclear from the legal point of view.
Re:Ask HN: What's the best library for making cross-platform... by SXX on Sunday August 28, 2016 @08:44PM (#12379299)
Even if it's wasn't clear before now it's pretty clear - you must buy commercial license if you want to be on App Store. There was Qt license change[1] in January 2016 and there is no longer LGPLv2.1 licensed version since Qt 5.7.

Only option for commercial software currently is LGPLv3 and it's doesn't allow tivoization.

[1] https://subsurface-divelog.org/2016/02/subsurface-mobile-for...

Re:Ask HN: What's the best library for making cross-platform... by steaminghacker on Monday August 29, 2016 @07:36PM (#12386277)
Hey thanks. I wasn't aware of the dylib appstore restriction. Is this still the case with iOS8 and if not, could a dynamic LGPL Qt app be put on the store. I hope they allow this going forward.
Re:Ask HN: What's the best library for making cross-platform... by SXX on Sunday August 28, 2016 @08:37PM (#12379282)
Qt open source license is perfectly compatible with Android / Google Play, but not OS X / App Store.