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

How to build a custom launcher based on lipstick?

asked 2017-10-31 17:19:42 +0200

jsommer gravatar image

updated 2017-10-31 17:58:34 +0200

I will start prototyping a custom launcher based on lipstick. Therefore I checked out the lipstick project and the licstick example project form th Git server.

First I would like to build and run the example to learn the components, interfaces and capabilities before I start modifications and development of an own launcher. Maybe the laucnher is not the appropriate term, because it's Android terminology.

To build and run the example I need to build and install lipstick first. I'm afraid I need a how to guide, because I'm familar with Xcode and Eclipse, but not with Qt Creator. In the past I used Ant and Maven for deployment on console respectively terminal level either. In this case I'm not sure, how to install lipstick and run the example.

I think I have to reference the installed lipstick library somehow in the example project. Do I have to install lipstick on the host system of Qt Creator or on the Sailfish OS build engine?

If I open the lipstick project, I can the following log output:

Project MESSAGE: Using contentaction to launch applications
Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
Project ERROR: Unknown module(s) in QT: testlib systeminfo
Project ERROR: Unknown module(s) in QT: testlib
Project ERROR: Unknown module(s) in QT: testlib
Project ERROR: Unknown module(s) in QT: testlib
Project ERROR: Unknown module(s) in QT: testlib
Project ERROR: Unknown module(s) in QT: testlib
Project ERROR: Unknown module(s) in QT: testlib
Project ERROR: Unknown module(s) in QT: testlib
Project ERROR: Unknown module(s) in QT: testlib
Project ERROR: Unknown module(s) in QT: testlib
Project ERROR: Unknown module(s) in QT: testlib
Project ERROR: Unknown module(s) in QT: testlib
Project ERROR: Unknown module(s) in QT: testlib
/bin/sh: pkg-config: command not found
Project ERROR: Unknown module(s) in QT: testlib
Project ERROR: Unknown module(s) in QT: testlib
Project ERROR: Unknown module(s) in QT: testlib
Project ERROR: Unknown module(s) in QT: testlib

It seems, that I have to install another test library before I can install the lipstick library. And I assume, that the issing pkg-config is related to the host system, isn't it?

Maybe this is the wrong forumm, because it is mainly user centric and not developer centric. Is there an alternative Sailfish OS development forum? Should I use the IRC channels, mentioned on the Sailfish OS webpage?

I have startet a build in Qt Creator with the follosing warnings and errors:

  • Warning: contentaction doesn't exist; falling back to exec - this may not work so great
  • Warning: Contextsubscriber not found
  • Error: contextkit-statefs development package not found
edit retag flag offensive close delete

6 Answers

Sort by » oldest newest most voted
5

answered 2017-10-31 17:55:49 +0200

coderus gravatar image

Start digging https://github.com/nemomobile-ux/glacier-home

edit flag offensive delete publish link more

Comments

I'm afraid, that this wouldn't help me. I need support to setup the project with build process to keep these kind of examples running.

jsommer ( 2017-11-11 17:45:19 +0200 )edit
3

answered 2017-10-31 17:58:36 +0200

r0kk3rz gravatar image

You would be better off seeking guidance in #sailfishos on irc.freenode.org or on the developers mailing list

edit flag offensive delete publish link more

Comments

I only did receive the response, that my unquiry would be examined by the moderator of the mailing list. Unfortunately, my inquiry was not published. I will try the IRC chat, but I'm afrait, that this is like a lottery. Someone has to be online, who is motivated and educated to give me an answer.

jsommer ( 2017-11-11 17:44:36 +0200 )edit
0

answered 2017-11-11 17:47:41 +0200

jsommer gravatar image

I still need support. I would appreciate paid support tickets by Jolla like Apple or other vendors offer. Otherwise it's hard to setup development and business with SailfishOS.

Does someone know a community to find help. It also could be paid support or consulting.

edit flag offensive delete publish link more

Comments

paid apps have been a debate ever sknce inception of sfos

tortoisedoc ( 2017-11-11 18:40:14 +0200 )edit
3

he means paid support, not apps

pawel ( 2017-11-12 00:01:41 +0200 )edit

Maybe I could find help by advertising my question as a consulting request. Does someone know a plattform for micro projects to find an apporpriate freelancer? Gulp is only for projects with at least 8 weeks and more. I estimete the effort to solve my posted issue by one man day.

jsommer ( 2017-12-03 00:03:04 +0200 )edit
0

answered 2017-12-02 23:57:07 +0200

jsommer gravatar image

updated 2017-12-03 17:06:50 +0200

I have posted the issue on the Qt Forum. One community member recommende me to check the availability of the test library by adding QT += testlib in the *.pro file of another working project. Because of the similar error Project ERROR: Unknown module(s) in QT: testlib he recommended to file this issue as a bug of the SailfishOS SDK. Unfortunately, it is currently notpossible to register at Bugzilla for SailfishOS because of spam. Has someone access to Bugzilla? Or is there another way to address the missing test library in the SailfishOS SDK. I think testing is essential for professional software development. Thus it seems to be a bug. I also checked any add on with the maintenance tool of SailfishOS SDK.

I also did look for a solution of the missing pkg-config library. I treid to add the correct path to the build settings, but nothing changes. I also tried to solve the issue with the solution in StackOverflow wihtout any success: https://stackoverflow.com/questions/17129349/adding-usr-local-bin-homebrew-to-qtcreator-search-path-for-pkg-config-on-mac/20805469#20805469

edit flag offensive delete publish link more

Comments

did you miss the part where you can message or email lbt to get an account for the mer bugzilla?

but in this case it might be better to make a github issue: https://github.com/sailfishos/sailfish-qtcreator

r0kk3rz ( 2017-12-04 11:08:59 +0200 )edit

Thanks for your hint. Indeed, Github seems to be appropriate location to file a bug for the SailfishOS SDK. Ther me Bugzilla seems to be related to the Mer Core project. Anyway I will applay for a user account of Bugzilla.

jsommer ( 2017-12-10 02:24:37 +0200 )edit
0

answered 2017-12-10 02:40:39 +0200

jsommer gravatar image

updated 2017-12-10 02:45:34 +0200

Other devlopers may have a look at these threads:

Maybe installing the platform SDK and building the libraray there to copy it to the Qt Creator project could be a solution?

edit flag offensive delete publish link more
0

answered 2017-12-16 17:42:35 +0200

jsommer gravatar image

I posted the issue directly at GitHub, but I don't understand the comment: GitHub Thread

Building a Mer/Sailfish OS project within Qt Creator relies on the definition and use of qtc_* macros inside the .spec file, which is not the case of lipstick library. Opened #122 to let mb2 issue warning when qtc_* macros are not used in the .spec file.

What is the conlusion to build the lipstick project as a prerequisite to build the custom lipstick project? Can someone help?

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2017-10-31 17:19:42 +0200

Seen: 1,560 times

Last updated: Dec 16 '17