(Newbie) Qt GUI Application
Hello All, I'm trying to start a new project using the Qt, but I think that QML is to complex learn in this right momento, so I was thinking to use the "Qt GUI Application"!
Hi, When you really want to use QML you might want to post this message in the "mobile" section. Qt is pretty great to code in C++ (with some GUI additions). What is your end goal? Why did you choose Qt if you don't have any experience with it?
First of all, I need to use a Serial Porta ou USB and Java it's not good enouth to handle with that, then we choose to use Qt because appers to be the best option in the market at the moment.
We don't need to use as a mobile app, will be a desktop app (Mac OS, Linux and Window).
Pure C++ with Qt sounds like the right tool in my opinion. Why do you want to use JS? C++ is far superior to JS/QML, in fact, I doubt it's even possible to code sophisticated things like USB/Serial interaction with JS/QML.
I will need the C++ to use USB/Serial.
I just want to know if I could use JS to controle the UI using "Qt GUI Application”, and avoid to use files .qml, I want to use .ui... you know?
You can absolutely use .ui with pure C++. Fire up QtCreator, create a gui application (Qt-Widget-Project > Qt-Gui-Application), design your user interface with the built in designer and start coding the UI behaviour in C++. I'm not sure what JS could add to this...
If you use "Qt GUI Application", the code must be in C++.
Thanks David_Gil, It's all I need to know! I will need to use the "Gt GUI Application" to use C++!
Thank you very much!
you can use qtjambi (java bindings for qt) http://qt-jambi.org/
Qt jambi is just a bit out of date, as it's current support is Qt 4.7.1, not 4.8.1 :-)
Another question... Can I make all UI in HTML5 and use C++ to communicate with USB/Serial?