Begining Qt !!!
-
Hi and welcome to devnet,
Do you have Visual Studio 2013 installed ?
-
It's still C++ so you need a compiler to compile your code. Thus since you downloaded the MSVC2013 package, you need Visual Studio 2013. If you want to avoid that, then grab the MinGW package which includes the MinGW environment.
-
No it's not, Qt's a C++ toolkit. There was even Java binding at some point. Qt Jambi if memory serves well
-
-
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