Begining Qt !!!
-
No it's not, Qt's a C++ toolkit. There was even Java binding at some point. Qt Jambi if memory serves well
-
Hi,
@Mnabil said:
seriously, its not like Java :|
No, it's not:
- A Java compiler produces bytecode. Different platforms use the same bytecode, but your users need to install the Java Virtual Machine.
- A C++ compiler produces native code. Different platforms use different native code, but your users don't need to install a virtual machine.
Most of the time, native code has superior performance to bytecode.
@Mnabil said:
Why do I need Visual Studio isn't Qt platform independent?
You install Visual Studio to get the C++ compiler. Just like how you install the Java SDK to get the Java compiler.
Also:
- In Java, "platform independence" means you can run the same bytecode on different platforms.
- In C++, "platform independence" means you can compile the same source code for different platforms.
-
"Java is not platform-independent. Java is a platform."
-
"Java is not platform-independent. Java is a platform."
@Wieland said:
"Java is not platform-independent. Java is a platform."
Fine. "Gadget" then. ;)
-
-
As previously suggested: Qt MinGW version, it includes the compiler
-
-
@Mnabil said:
@Wieland I mean a self contained compiler+IDE, like that steup Java SDK + Netbeans IDE :D
Microsoft doesn't allow us to include their compiler with the Qt installer. If you want the compiler included, get the MinGW version, not the MSVC version.
-
@Mnabil I don't agree.
A really cross OS C++ platform should use the standard OS compiler.
We using the same code to build for- Windows (Visual C++)
- Linux (gcc)
- Mac (clang)
- iOS (clang-ios)
- Android
In that way you get the best for the native compiler
-
Hi,
the only book I know is enough updated is http://qmlbook.github.io/ but is about QtQuick.
pecially in Business/Finance/Mathematical oriented applications
Qt is a generic framework so, once you got some basic skills, you can adapt it to your domain.
-
Here are two titles form Packt Publishing:
- https://www.packtpub.com/application-development/application-development-qt-creator
- https://www.packtpub.com/application-development/qt5-blueprints
I haven't read them though, so I can't comment on their quality.
Anyway, there are some very good resources online too. For example, a "Getting Started" tutorial from the official documentation: https://doc.qt.io/qt-5/gettingstartedqt.html
Search YouTube for "Qt 5" videos.