News for hackers. Stuff that matters.

jrbarron

Re:Qpm: A package manager for Qt on Monday April 11, 2016 @04:50AM (#11470354)
Understandable :) Can I ask what platform you are on?
Re:Qpm: A package manager for Qt on Monday April 11, 2016 @04:09AM (#11470240)
Very valid point about 'go get'! The main problem currently is that we put all the source dependencies in the repo as Git submodules and use the repo itself as the GOPATH. We do this because we are using some dependencies whose APIs are still changing often (eg: Protobuf/GRPC) and we wanted control over the exact SHA1 we were using. Now that the vendoring experiment is enabled in Go 1.6, we can probably use that to solve this. Thanks for bringing this up!

As for the problem this solves; this is a package manager for Qt app development. It doesn't try to operate on a system level like pkgconfig. There's no system-wide shared code. Every app you are building has it's own copy of the code it needs locally like npm/node_modules. In addition to downloading dependencies, the tool generates some code to cleanly add it to your project without you having to mess with include paths or other settings. It also encourages things like proper namespacing (both C++ and QML) to avoid collisions.

Re:Qpm: A package manager for Qt on Monday April 11, 2016 @03:38AM (#11470134)
C++ works with qpm, but it doesn't package anything in binary form. It just pulls down the source code from Github and generates some boilerplate to wire it up to the application project.
Re:Qpm: A package manager for Qt on Monday April 11, 2016 @03:30AM (#11470107)
There should be binaries for Mac, Windows and Linux and the source should compile on FreeBSD and others. What's missing?
Re:Qpm: A package manager for Qt on Monday April 11, 2016 @03:24AM (#11470089)
The decision was between Node, Qt, and Go. At the end of the day, we wanted the possibility to share code between the client and server and Go's server side support is much better than Qt's so we decided to implement it in Go. Go is great for command line tools and being able to cross-compile a Windows binary from a Mac is awesome. Go's static binary approach made deployment trivial in comparison to Node so that made it a winner :)