Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Use multiple applications as a single application

    Mobile and Embedded
    3
    8
    1812
    Loading More Posts
    • 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
      Abrandao last edited by

      Hi, I'm wondering if it's possible to have multiple Qt applications working as a single application. Like for example, a main application with different parts of it being generated by other applications. Like if the main application has a input text field that when is pressed should invoke the application that manage the keyboard to be displayed on screen, and send the text pressed on the keyboard back to the input text field.

      And if it's possible, how this can be accomplished?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        You are pretty much describing a desktop environment here or some form of IPC. What's your purpose ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • A
          Abrandao last edited by

          Hi,

          Well, the project we want to build using Qt is for an embedded platform. And the purpose for this kind of approach is to split the application in sub-applications that can easily be developed, updated and reused. The plan is to build a framework that is capable of load multiple apps and manage those apps for different purposes.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Then the answer will depend on which version of Qt you intend to use: 4 or 5 ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • jeremy_k
              jeremy_k last edited by

              [quote author="Abrandao" date="1402903753"]the purpose for this kind of approach is to split the application in sub-applications that can easily be developed, updated and reused. The plan is to build a framework that is capable of load multiple apps and manage those apps for different purposes.[/quote]

              Another way of doing this is to make each sub-application a dynamically loaded plugin. QPluginLoader or QLibrary can be used to facilitate loading.

              Processes from separate executables provide advantages beyond reuse and independent update. They also impose communication barriers that can be seen as helpful or a hinderance.

              Asking a question about code? http://eel.is/iso-c++/testcase/

              1 Reply Last reply Reply Quote 0
              • A
                Abrandao last edited by

                [quote author="jeremy_k" date="1402950674"]
                [quote author="Abrandao" date="1402903753"]the purpose for this kind of approach is to split the application in sub-applications that can easily be developed, updated and reused. The plan is to build a framework that is capable of load multiple apps and manage those apps for different purposes.[/quote]

                Another way of doing this is to make each sub-application a dynamically loaded plugin. QPluginLoader or QLibrary can be used to facilitate loading.

                Processes from separate executables provide advantages beyond reuse and independent update. They also impose communication barriers that can be seen as helpful or a hinderance.[/quote]

                I never tough of create each application as a plugin. Maybe I should do more research about dynamically loaded plugins and what is possible to create using plugins.

                [quote author="SGaist" date="1402949642"]Then the answer will depend on which version of Qt you intend to use: 4 or 5 ?[/quote]

                At the moment we are considering using Qt 4 since our embedded device doesn't support OpenGL. Every time I tried to compile Qt 5 to our embedded device the build failed. I asked before if it was possible to build Qt 5 without OpenGL but I didn't get a concrete answer about it.

                1 Reply Last reply Reply Quote 0
                • SGaist
                  SGaist Lifetime Qt Champion last edited by

                  AFAIK it should be possible, using e.g. the framebuffer qpa plugin (so compiling Qt 5)

                  You should look at the "Qt for Embedded Linux Architecture" chapter in Qt's documentation both for 4 and 5. It should answer your questions

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply Reply Quote 0
                  • A
                    Abrandao last edited by

                    [quote author="SGaist" date="1403005451"]AFAIK it should be possible, using e.g. the framebuffer qpa plugin (so compiling Qt 5)

                    You should look at the "Qt for Embedded Linux Architecture" chapter in Qt's documentation both for 4 and 5. It should answer your questions[/quote]

                    Thanks, I will give it a look.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post