We have moved to a new Sailfish OS Forum. Please start new discussions there.
5

compile qt app inside Jolla

asked 2014-11-18 16:49:35 +0300

Luca gravatar image

updated 2014-12-03 12:14:09 +0300

eric gravatar image

Hi all, is it possible to build a small qt application from inside jolla terminal ? I installed qmake package using zypper but when I try to execute qmake for a simple project it can't find plugins .

unknown module(s) in QT: core gui
edit retag flag offensive close delete

Comments

Id say the environment of qmake is not correctly configured...

tortoisedoc ( 2014-11-18 17:53:59 +0300 )edit

Consider that I installed qmake, g++ and all required tools using zypper from official repositories so I suppose it should be ready to run...

Luca ( 2014-11-18 20:46:33 +0300 )edit

thanks I'll try.

Luca ( 2014-11-21 00:41:00 +0300 )edit

1 Answer

Sort by » oldest newest most voted
5

answered 2014-11-19 08:47:41 +0300

urjaman gravatar image

updated 2014-12-03 12:00:21 +0300

Note: I converted this to answer because there was no "no it didnt work" comment and thought it was stupid to leave it hanging just as a comment. I'm using my phone to compile apps so i think it should work, just that i might have forgot something that i installed :P

install these... repeat zypper searches with "dev" or "devel" for more stuff if needed.

  • libsailfishapp-devel
  • mesa-llvmpipe-libGLESv2-devel <- this you will have to force ignore dependencies - dont delete half your jolla
  • qt5-qtcore-devel
  • qt5-qtdeclarative-qtquick-devel
  • qt5-qtgui-devel (this needs the gl thing, do that first)
  • qt5-qtdeclarative-tool-qml (i think..)
edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2014-11-18 16:49:35 +0300

Seen: 557 times

Last updated: Dec 03 '14