On 03/04/13 10:34, Simon Bolek wrote: > hi, > > what is the best straight forward way to build RPM packages against Mer with > Qt 5?
I see 2 issues here: 1) building an rpm for a Qt5 app 2) Using QtCreator to manage that > In the 2.3 version of QtCreator it was possible to BUILD with meego-tablet or > meego-netbook target and RUN with "build RPM package". However only 4.7.x > version was supported. OK, so as part of the next phase of SDK development we'll be adding this to the Mer plugin to QtCreator. The design is to use spectacle/yaml by default to simplify both metadata management and because it already does the hard work of keeping a spec updated when metadata changes. This approach allows the spec to be modified or even to disable yaml completely and just edit the spec. So for now, use yaml. > I know there are workarounds like these: > https://wiki.merproject.org/wiki/User:Tswindell/Qt_Creator_And_Mer_Integration > > https://wiki.merproject.org/wiki/Platform_SDK_on_VirtualBox > working entirely in VirtualBox > > but isn't there a more straight forward way to do this: > - create project > - build against Mer with Qt 5 > - create RPM package > > Maybe I missed something on Wiki? I wrote something obs-related for the SailfishOS which should apply to your case: https://sailfishos.org/wiki/Mer_OBS The first 3 points need documenting on the Mer wiki. Obviously your Requires and QtCore version will differ. Some of the rest will become part of the Mer Plugin. If you don't want to use OBS (which is fine) then I am looking at ways to run rpmbuild directly in the build-engine or SDK chroot. HTH David -- "Don't worry, you'll be fine; I saw it work in a cartoon once..."
