Qt application with metro style
-
hi,
please forgive me for my poor english
i'm programming with c++,i want to create an application with metro style i have alredy done it, but i couldn't create buttons or do something to open other pagesplease would you help me,thanks :)
-
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.
-
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 :/ -
[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.
-
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++) -
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
-
i'm working with Qt creator 2010.05 ,i think it 's usefull,
that was so helpfull, thanks a lot ^_^ -
You're welcome. :)
Qt has improved A LOT since 2010. Have fun!
-
[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?
-
[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. -
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.
-
okay, good to know...
I thought, both systems are similar like Ubuntu.. -
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."
:(( -
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
-
ok.thanks for all :)