Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to build a custom launcher based on lipstick?

How to build a custom launcher based on lipstick?

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 2 Posters 3.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • a.burksA Offline
    a.burksA Offline
    a.burks
    wrote on last edited by a.burks
    #1

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

    https://git.merproject.org/mer-core/lipstick
    http://github.com/nemomobile/lipstick-example-home/
    

    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? 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
    
    jsulmJ 1 Reply Last reply
    0
    • a.burksA a.burks

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

      https://git.merproject.org/mer-core/lipstick
      http://github.com/nemomobile/lipstick-example-home/
      

      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? 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
      
      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @a.burks You need the QtTest module (testlib)

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      a.burksA 1 Reply Last reply
      0
      • jsulmJ jsulm

        @a.burks You need the QtTest module (testlib)

        a.burksA Offline
        a.burksA Offline
        a.burks
        wrote on last edited by
        #3

        @jsulm Thanks for your response. How can I add the testlib? Do I have to install the library an my host, that runs Qt Creator or do I have to build and link the library in the project settings? A similar question will be relevant as soon I can build the lipstick project to reference the build in the example project for a custom launcher.

        Another question is also, whether the error /bin/sh: pkg-config: command not found is another problem. This seemt to me a missing library of the host or of the Qt Creator. Maybe the virtual machine for the build process hat to updated instead of the host.

        jsulmJ 1 Reply Last reply
        0
        • a.burksA a.burks

          @jsulm Thanks for your response. How can I add the testlib? Do I have to install the library an my host, that runs Qt Creator or do I have to build and link the library in the project settings? A similar question will be relevant as soon I can build the lipstick project to reference the build in the example project for a custom launcher.

          Another question is also, whether the error /bin/sh: pkg-config: command not found is another problem. This seemt to me a missing library of the host or of the Qt Creator. Maybe the virtual machine for the build process hat to updated instead of the host.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @a.burks How did you install Qt?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          a.burksA 1 Reply Last reply
          0
          • jsulmJ jsulm

            @a.burks How did you install Qt?

            a.burksA Offline
            a.burksA Offline
            a.burks
            wrote on last edited by
            #5

            @jsulm I use the SailfishOS SDK for macOS of Jolla, which is a customized Qt Creator. This includes two VMs, one for the build process and another for the device emulation with SailfishOS.

            jsulmJ 1 Reply Last reply
            0
            • a.burksA a.burks

              @jsulm I use the SailfishOS SDK for macOS of Jolla, which is a customized Qt Creator. This includes two VMs, one for the build process and another for the device emulation with SailfishOS.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @a.burks The you need to check the SailfishOS SDK or ask Jolla, I never used their SDK.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              a.burksA 2 Replies Last reply
              0
              • jsulmJ jsulm

                @a.burks The you need to check the SailfishOS SDK or ask Jolla, I never used their SDK.

                a.burksA Offline
                a.burksA Offline
                a.burks
                wrote on last edited by
                #7

                @jsulm Thanks for your response. Unfortunately Jolla supports only enterprise partners and the Jolla forum is mainly a user forum.

                The SailfishOS SDK seems to be a customized Qt Creater with two VMs, one is a mer build engine, the other is the deployment target engine with an installed SailfishOS to test the developed apps.

                Another add on is the SailfishOS specific Qt framework Silica.

                I'm not sure, whether the test library is missed on the host of the QT Creator or on the build engine. I assume, it is on the build engine.

                Hopefully other Qt developers of that forum can recommend the apprpriate platform to find a solution. I also agree in a payed support for that problem. I think the efford would not more than one man day about 600 USD. Does someone know a platform to post this kind of micro projects to find a developer, who can help me.

                1 Reply Last reply
                0
                • jsulmJ jsulm

                  @a.burks The you need to check the SailfishOS SDK or ask Jolla, I never used their SDK.

                  a.burksA Offline
                  a.burksA Offline
                  a.burks
                  wrote on last edited by
                  #8

                  @jsulm I filed the issue as a bug, but unfortunately I don't understand the answer. https://github.com/sailfishos/sailfish-qtcreator/issues/121

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved