Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Queries regarding Qt component development across platform
Forum Updated to NodeBB v4.3 + New Features

Queries regarding Qt component development across platform

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 3 Posters 226 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 Offline
    A Offline
    Akshaya Shanker
    wrote on last edited by
    #1

    I need to build components across application so as to maintain a consistent and unified UI . For instance , I need to build a view in Qt and somehow embed this in my layout in Android activity . I am aware that Qt can be used to build an entire application but no where i find building Ui components with Qt and providing as library across platform . Is it possible ? If so how would that work ? How can two UI frameworks in a platform communicate ?

    Pl45m4P jsulmJ 2 Replies Last reply
    0
    • A Akshaya Shanker

      I need to build components across application so as to maintain a consistent and unified UI . For instance , I need to build a view in Qt and somehow embed this in my layout in Android activity . I am aware that Qt can be used to build an entire application but no where i find building Ui components with Qt and providing as library across platform . Is it possible ? If so how would that work ? How can two UI frameworks in a platform communicate ?

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by Pl45m4
      #2

      @Akshaya-Shanker said in Queries regarding Qt component development across platform:

      I am aware that Qt can be used to build an entire application but no where i find building Ui components with Qt and providing as library across platform

      What UI components?!
      You build your Qt app and deploy it for/on Android.

      (Note: AFAIK only QML app work on Android currently)

      More information and tips can be found here:

      • https://doc.qt.io/qt-6/android-getting-started.html
      • https://doc.qt.io/qt-6/android.html

      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      0
      • A Akshaya Shanker

        I need to build components across application so as to maintain a consistent and unified UI . For instance , I need to build a view in Qt and somehow embed this in my layout in Android activity . I am aware that Qt can be used to build an entire application but no where i find building Ui components with Qt and providing as library across platform . Is it possible ? If so how would that work ? How can two UI frameworks in a platform communicate ?

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

        @Akshaya-Shanker said in Queries regarding Qt component development across platform:

        Is it possible ?

        Yes, build a library and build it for every platform you want to support.
        https://doc.qt.io/qt-6/sharedlibrary.html
        https://wiki.qt.io/How_to_create_a_library_with_Qt_and_use_it_in_an_application

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

        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