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. Can we use iOS native style for Qt applications?
Forum Updated to NodeBB v4.3 + New Features

Can we use iOS native style for Qt applications?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
9 Posts 4 Posters 4.3k Views 3 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.
  • I Offline
    I Offline
    Ibrahim
    wrote on 25 Feb 2017, 17:30 last edited by
    #1

    Hi; We can use Material Design, Universal Design and Default Style for mobile applications. Well, can we use iOS native style for mobile applications? Has Qt got iOS Style? Thanks.

    E 1 Reply Last reply 25 Feb 2017, 18:30
    0
    • M Offline
      M Offline
      mostefa
      wrote on 25 Feb 2017, 18:03 last edited by
      #2

      Hi @Ibrahim

      You forgot to tell us which version Of qt you have ,

      I think that there is a change between qt4 and qt5 about QStyle , also i think that QMacStyle is available only on qt4

      Could tell us which version of qt you have?

      I 1 Reply Last reply 25 Feb 2017, 18:28
      1
      • M Offline
        M Offline
        mostefa
        wrote on 25 Feb 2017, 18:15 last edited by mostefa
        #3

        @Ibrahim

        If you are in Qt5 you have to use QStyleFactory ,

        Have a look at this link from qt doc:

        http://doc.qt.io/qt-5/qstylefactory.html#details

        Depending or operating system styles are available to find which styles are available you can add this line :

        qDebug() << QStyleFactory::keys();
        

        For example for my operating system i have these available styles:

        ("Windows", "Motif", "CDE", "Plastique", "GTK+", "Cleanlooks")

        Then to set style for your application you can add this following line:

        QApplication::setStyle(QStyleFactory::create("Plastique"));
        

        for example !
        Hope this can help !

        1 Reply Last reply
        1
        • M mostefa
          25 Feb 2017, 18:03

          Hi @Ibrahim

          You forgot to tell us which version Of qt you have ,

          I think that there is a change between qt4 and qt5 about QStyle , also i think that QMacStyle is available only on qt4

          Could tell us which version of qt you have?

          I Offline
          I Offline
          Ibrahim
          wrote on 25 Feb 2017, 18:28 last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • I Ibrahim
            25 Feb 2017, 17:30

            Hi; We can use Material Design, Universal Design and Default Style for mobile applications. Well, can we use iOS native style for mobile applications? Has Qt got iOS Style? Thanks.

            E Offline
            E Offline
            ekkescorner
            Qt Champions 2016
            wrote on 25 Feb 2017, 18:30 last edited by
            #5

            @Ibrahim seems you're using Qt QuickControls2
            Unfortunately there's no iOS Style yet - only Material, Universal, Default
            As I understand it right, at the moment they're working on QQC2 to make controls feature complete. Then - later - there's a chance to get an iOS style too.
            perhaps @jpnurmi can jump in and provide some insights ?

            For my customers I'm using Google Material Style on Android and iOS. I implemented Bottom Navigation Bar where iOS users are looking to navigate through the app.
            Also some fine-tuning like MixedCase Button titles.
            I'm missing to swipe back to previous page
            see https://bugreports.qt.io/browse/QTBUG-54043

            my customers have no problem with Material style on iOS. but my use-cases are special: I'm developing business apps x-platform where similar navigation, UI/UX makes it easy to support and document apps.

            ekke ... Qt Champion 2016 | 2024 ... mobile business apps
            5.15 --> 6.8 https://t1p.de/ekkeChecklist
            QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

            1 Reply Last reply
            2
            • G Offline
              G Offline
              GTDev
              wrote on 27 Feb 2017, 10:09 last edited by GTDev
              #6

              Hi all!

              As already mentioned above, Qt does not include an iOS style at the moment. If you are interested in creating apps with a native look and feel for both iOS and Android, have a look at V-Play Engine. The core components like Navigation and NavigationStack or controls like AppButton offer styles for both iOS and Android.

              Best,
              Günther

              Senior Developer at Felgo - https://felgo.com/qt

              Develop mobile Apps for iOS & Android with Qt
              Felgo is an official Qt Technology Partner

              I E 2 Replies Last reply 27 Feb 2017, 11:00
              2
              • G GTDev
                27 Feb 2017, 10:09

                Hi all!

                As already mentioned above, Qt does not include an iOS style at the moment. If you are interested in creating apps with a native look and feel for both iOS and Android, have a look at V-Play Engine. The core components like Navigation and NavigationStack or controls like AppButton offer styles for both iOS and Android.

                Best,
                Günther

                I Offline
                I Offline
                Ibrahim
                wrote on 27 Feb 2017, 11:00 last edited by
                #7

                @GTDev thanks. I like Qt and V-Play.

                1 Reply Last reply
                0
                • G GTDev
                  27 Feb 2017, 10:09

                  Hi all!

                  As already mentioned above, Qt does not include an iOS style at the moment. If you are interested in creating apps with a native look and feel for both iOS and Android, have a look at V-Play Engine. The core components like Navigation and NavigationStack or controls like AppButton offer styles for both iOS and Android.

                  Best,
                  Günther

                  E Offline
                  E Offline
                  ekkescorner
                  Qt Champions 2016
                  wrote on 27 Feb 2017, 11:01 last edited by
                  #8

                  @GTDev Hi Günther, am I right that V-Play examples are Open Source, but SDK, Plugins, ... are not ? (Haven't tried V-Play yet)

                  ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                  5.15 --> 6.8 https://t1p.de/ekkeChecklist
                  QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                  1 Reply Last reply
                  1
                  • G Offline
                    G Offline
                    GTDev
                    wrote on 27 Feb 2017, 11:13 last edited by GTDev
                    #9

                    @ekkescorner @Ibrahim
                    Except for V-Play Plugins the SDK is free-to-use if you don't mind a small V-Play splash-screen at app startup.
                    All the examples and demos are open-source: You can see the showcase demo app for a quick overview of the V-Play features.

                    Showcase Demo

                    Best,
                    Günther

                    Senior Developer at Felgo - https://felgo.com/qt

                    Develop mobile Apps for iOS & Android with Qt
                    Felgo is an official Qt Technology Partner

                    1 Reply Last reply
                    2

                    9/9

                    27 Feb 2017, 11:13

                    • Login

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