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. Qt application with metro style

Qt application with metro style

Scheduled Pinned Locked Moved General and Desktop
15 Posts 4 Posters 8.9k 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.
  • JKSHJ Offline
    JKSHJ Offline
    JKSH
    Moderators
    wrote on last edited by
    #2

    Hi,

    You cannot make Metro (Windows RT) applications with Qt yet. Only Desktop Windows is supported.

    But, if you just want your application to look like Metro, you can use Qt Quick.

    [quote author="youyou" date="1375068050"]i have alredy done it, but i couldn't create buttons or do something to open other pages [/quote]Please show us your code. If you don't, it is very hard to help you.

    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      youyou
      wrote on last edited by
      #3

      hi,
      ok, it's a little bit disoppointing ,i tried to avoid using Qml in my project
      thanks for your help :)

      well i got my code from this link http://qt-digia.developpez.com/tutoriels/qt/applications-style-metro/
      and i took just the part of c++ and tried to modify it to put widgets but it dosen't shows :/

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #4

        [quote author="youyou" date="1375135484"]i tried to avoid using Qml in my project[/quote]Why?

        [quote]well i got my code from this link http://qt-digia.developpez.com/tutoriels/qt/applications-style-metro/[/quote]That makes a Desktop application. It just looks like a Metro application. :)

        [quote]and i took just the part of c++ and tried to modify it to put widgets but it dosen't shows :/[/quote]You'll have to show your modified code. There's no way for me to tell what went wrong.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • Y Offline
          Y Offline
          youyou
          wrote on last edited by
          #5

          well i think i'm going to change my mind :) could you please help me to download Qt Quick and run it!!
          but is that qml has a relation with c++?!! (because my project must include the c++)

          1 Reply Last reply
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #6

            Just go to http://qt-project.org/downloads and download "Qt 5.1.0 for Windows" (there are a few versions, so choose the one that matches your compiler). It contains both C++ and QML libraries.

            QML and C++ are two different languages. Qt engineers invented QML mainly to let users create GUIs. You can combine both QML and C++ in the same project: https://qt-project.org/doc/qt-5.1/qtqml/qtqml-cppintegration-topic.html

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            0
            • Y Offline
              Y Offline
              youyou
              wrote on last edited by
              #7

              i'm working with Qt creator 2010.05 ,i think it 's usefull,
              that was so helpfull, thanks a lot ^_^

              1 Reply Last reply
              0
              • JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #8

                You're welcome. :)

                Qt has improved A LOT since 2010. Have fun!

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Serenity
                  wrote on last edited by
                  #9

                  [quote author="JKSH" date="1375070673"]Hi,

                  You cannot make Metro (Windows RT) applications with Qt yet. Only Desktop Windows is supported.[/quote]

                  Are you sure? You can compile Qt for an ARM device and then use it to create apps for it in Linux (like in Angstrom or ARM Ubuntu). Why it only works for Linux and not for Windows?

                  1 Reply Last reply
                  0
                  • raven-worxR Offline
                    raven-worxR Offline
                    raven-worx
                    Moderators
                    wrote on last edited by
                    #10

                    [quote author="Serenity" date="1375254581"]
                    Why it only works for Linux and not for Windows?
                    [/quote]
                    Because it takes more than just compiling Qt for the platform in order to use it there.

                    --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                    If you have a question please use the forum so others can benefit from the solution in the future

                    1 Reply Last reply
                    0
                    • JKSHJ Offline
                      JKSHJ Offline
                      JKSH
                      Moderators
                      wrote on last edited by
                      #11

                      ARM Ubuntu and x86 Ubuntu are basically the same OS. They come from the same source code, built using different compilers.

                      But, Windows RT is completely different from desktop Windows 8 -- Just like how iOS is completely different from Mac OS X.

                      See this "blog entry":http://blog.qt.digia.com/blog/2013/06/14/introduction-to-windows-rt-frameworks/ by someone who is trying to port Qt to Windows RT.

                      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        Serenity
                        wrote on last edited by
                        #12

                        okay, good to know...
                        I thought, both systems are similar like Ubuntu..

                        1 Reply Last reply
                        0
                        • Y Offline
                          Y Offline
                          youyou
                          wrote on last edited by
                          #13

                          i tried to work with Qt 5.1 (qt-windows-opensource-5.1.0-mingw48_opengl-x86-offline) but it keeps showing me this error " erreur : Qt Creator requiert un compilateur. Configurez-en un dans les options de kit."
                          :((

                          1 Reply Last reply
                          0
                          • JKSHJ Offline
                            JKSHJ Offline
                            JKSH
                            Moderators
                            wrote on last edited by
                            #14

                            Hi, please start a new thread if you want to ask new questions. This thread is for discussion about Metro style applications.

                            But anyway, when you installed Qt, did you ask the installer to install the MinGW compiler too? After you've installed MinGW, see "this":http://qt-project.org/doc/qtcreator-2.8/creator-tool-chains.html and "this":http://qt-project.org/doc/qtcreator-2.8/creator-targets.html

                            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                            1 Reply Last reply
                            0
                            • Y Offline
                              Y Offline
                              youyou
                              wrote on last edited by
                              #15

                              ok.thanks for all :)

                              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