Qt newbie-compile-Qt-sources: Difference between revisions
Jump to navigation
Jump to search
AutoSpider (talk | contribs) (Add "cleanup" tag) |
AutoSpider (talk | contribs) (Decode HTML entity names) |
||
Line 14: | Line 14: | ||
One thing to consider in the c/c++ developpement is the choice of the compiler. For my part i use mingw32 on windows 7. | One thing to consider in the c/c++ developpement is the choice of the compiler. For my part i use mingw32 on windows 7. | ||
First : start- | First : start->search option ->“cmd”<br /> if you use xp : start->run->“cmd” | ||
* “ “ means to be tape on keyboard<br /> in the cmd window, tape the following : “cd ''path to your qt-everywhere-src''”<br /> and then tape : “configure -prefix | * “ “ means to be tape on keyboard<br /> in the cmd window, tape the following : “cd ''path to your qt-everywhere-src''”<br /> and then tape : “configure -prefix |
Revision as of 17:36, 12 March 2015
This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine. Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean. |
this page describes in details how to compile Qt sources. In fact, it is not hard if you follow the step accurately.
What are the advantages to compile Qt by myself ?
- 1. if you are a newbie like me two weeks ago, then you will agree that already released executable files may creates slight problems and then, discouraged you will leave a powerfull framework like Qt. It is just because if Qt is compile with certain type of material, it will be available only for the type of material used for the compilation, ok and your personal computer is probably different to the one used to compile Qt sources.
- 2.You will have Qt sources on your local hard drive. Only by looking the sources of Qt can you learn c++ deeply.
what do I need ?
*1 a recent c++ compiler like mingw 4.6 or 4.7 or more recent : visit mingw website [sourceforge.net]
*2 Qt sources available here [qt.io]
*3 Perl version 5.12 or later [1]
*4 Python version 2.7 or later [2]
*5 Ruby version 1.9.3 or later [3]
let’s go !
One thing to consider in the c/c++ developpement is the choice of the compiler. For my part i use mingw32 on windows 7.
First : start->search option ->“cmd”
if you use xp : start->run->“cmd”
- “ “ means to be tape on keyboard
in the cmd window, tape the following : “cd path to your qt-everywhere-src”
and then tape : “configure -prefix