Step-by-step installation of QT [SOLVED]
-
Hello all,
I have two questions.
1- I've a good experience in C++ so I decided to start the Qt. I downloaded below files from (http://qt-project.org/downloads)
Qt 5.3.0 for Windows 32-bit (MinGW 4.8.2, OpenGL, 734 MB) (Info)
Qt 5.3.0 for Windows 32-bit (VS 2012, OpenGL, 616 MB) (Info)And my machine in Windows 7 Ultimate x86. And also I've used MS visual studio 2012 for C++ programming till now. So I have it installed on my machine.
Now how to install Qt by those two files? Is there anything else apart from those files to be downloaded and installed?2- My purpose of using Qt is to create apps (for example for Windows or other OSes) when people order them for themselves. For example one shopkeeper may come before me and order an app for selling, supply, accounting and so on for his/her shop. OK, I create that app but I don't want to give him/her its source code. I want to give only the installable version of the app or its .exe so that that person can work with it. Is this possible when using free (open source) version of Qt?
PS: I'm so novice in Qt so that I even haven't seen its environment so far!
-
1-
You need only one file to install.
If you are going to use VS2012 then run
Qt 5.3.0 for Windows 32-bit (VS 2012, OpenGL, 616 MB) -
Thank you.
I wait for the answer to the second question. -
Hi, "this: ":http://qt-project.org/forums/viewthread/25663/ may help you quickly with your second question.
-
Thank you I read it carefully.
-
If you choose, which one would be your choice. I heard that using VS can cause problem sometimes. Is it right?
[quote author="andreyc" date="1402415188"]1-
You need only one file to install.
If you are going to use VS2012 then run
Qt 5.3.0 for Windows 32-bit (VS 2012, OpenGL, 616 MB)[/quote]
-
Hi,
[quote author="Kurdman" date="1402461442"]If you choose, which one would be your choice.[/quote]It doesn't really matter which one you choose.
The MinGW package also contains the MinGW compiler, so the file is bigger.
The MSVC package doesn't contain a compiler. However, since you already have the VS 2012 compiler on your PC, you don't need anything extra.
[quote]I heard that using VS can cause problem sometimes. Is it right?[/quote]Where did you hear that from? I use both MinGW 4.8.2 and VS 2013 with Qt. They don't give me any problems.
-
Thank you very much for your guidance.
OK, so what I need to use VS for both C++ programming (which is now installed) and also Qt is to download the below files and install them, yes?Qt 5.3.0 for Windows 32-bit (VS 2012, OpenGL, 616 MB) (Info)
qt-vs-addin-1.2.3-opensource -
You're welcome :)
[quote author="Kurdman" date="1402473415"]Thank you very much for your guidance.
OK, so what I need to use VS for both C++ programming (which is now installed) and also Qt is to download the below files and install them, yes?Qt 5.3.0 for Windows 32-bit (VS 2012, OpenGL, 616 MB) (Info)
qt-vs-addin-1.2.3-opensource[/quote]Correct.You need Qt 5.3.0 for Windows 32-bit (VS 2012, OpenGL, 616 MB) to build Qt applications -- but make sure your graphics card supports OpenGL 2.0 or higher.
You need qt-vs-addin-1.2.3-opensource if you want to integrate Qt into your Visual Studio IDE. You don't need it if you use Qt Creator as your IDE.
-
So as far as understood both of those files (734MB & 616MB) create one IDE named Qt creator. And that add-in file is just for not using that Qt creator, instead for using VS as of the compiler for both Qt and C++.
Thank you very much.How can I give you a reputation or something like that?
-
These files do not only create the IDE but the complete Qt Framework, i.e. all libraries you need for creating Qt projects and lots of useful examples.
Qt Creator is the IDE but you may work with other IDEs as well - if you are used to these (e.g. Visual Studio IDE).
I think using the Qt Creator is a good decision. -
OK. Thank you.
I chose Qt creator for Qt programming and VS 2012 for C++ programming.
And I chose the below book for starting Qt. But at first attempt to make a project I faced problem.https://qt-project.org/books/view/c_gui_programming_with_qt_4_2nd_edition_the_official_c_qt_book
If you like to help me more, may you have a look at this problem and if you can solve it please?
-
If you consider this thread is solved then please add [SOLVED] to the title of your original post.
-
I did it. Thanks.
-
This forum doesn't currently support reputations. But I'm glad your problem is solved.
Happy coding!